Issue #1839 Change build.edex build.xml to support building work assignment features after main build
Change-Id: If757b326fe851a976e5cd545f48e339cceacb4f9 Former-commit-id:2e1cc96d01
[formerlyce37e32e61
] [formerly3be6669f1b
] [formerly2e1cc96d01
[formerlyce37e32e61
] [formerly3be6669f1b
] [formerly1365d5c9af
[formerly3be6669f1b
[formerly 1f4c7ce21abf2853a424cb4a7c478847dcdd8065]]]] Former-commit-id:1365d5c9af
Former-commit-id:6ad3355dad
[formerly1960bcbf11
] [formerly c88cf84fe3b042c261af4f646c01752674a7c487 [formerly83f6fb720c
]] Former-commit-id: db422ebb6e9f3dceaec4bd0424043a548411b890 [formerlyf817dbe495
] Former-commit-id:9d04ba83a5
This commit is contained in:
parent
63cbc67322
commit
22a62fea55
1 changed files with 30 additions and 4 deletions
|
@ -17,7 +17,7 @@
|
|||
<property name="eclipse.launcher.jar"
|
||||
value="org.eclipse.equinox.launcher_1.1.0.v20100507.jar" />
|
||||
|
||||
<target name="main" depends="clean">
|
||||
<target name="main-build" depends="clean">
|
||||
<antcall target="build">
|
||||
<param name="feature"
|
||||
value="com.raytheon.uf.common.base.feature" />
|
||||
|
@ -113,10 +113,36 @@
|
|||
</antcall>
|
||||
</then>
|
||||
</if>
|
||||
|
||||
<antcall target="clean" />
|
||||
</target>
|
||||
|
||||
|
||||
<!--
|
||||
In the work assignment's edexOsgi/build.edex directory, create a file named similar to the following:
|
||||
edexOsgi/build.edex/5-Data_Delivery-wa-build.properties
|
||||
|
||||
In the file, there should be one line such as:
|
||||
wa.features=feature1,feature2
|
||||
-->
|
||||
<target name="wa-build" depends="main-build" description="Builds work assignment specific features after the main build">
|
||||
<for param="wa.feature.list.file">
|
||||
<fileset dir="${basedir}" includes="*-wa-build.properties" />
|
||||
<sequential>
|
||||
<var name="wa.features" unset="true" />
|
||||
<property file="@{wa.feature.list.file}" />
|
||||
<for list="${wa.features}" param="wa.feature">
|
||||
<sequential>
|
||||
<antcall target="build">
|
||||
<param name="feature" value="@{wa.feature}" />
|
||||
</antcall>
|
||||
</sequential>
|
||||
</for>
|
||||
</sequential>
|
||||
</for>
|
||||
|
||||
<antcall target="clean" />
|
||||
</target>
|
||||
|
||||
<target name="main" depends="clean, main-build, wa-build" />
|
||||
|
||||
<target name="build">
|
||||
<!-- Execute the eclipse pde build script. -->
|
||||
<echo message="feature=${feature}" />
|
||||
|
|
Loading…
Add table
Reference in a new issue