Issue #1927 - mimic the EDEX pde build capability for building features outside of the common baseline
Amend: do not run the clean task after building any wa features Change-Id: I0e6d72b82f4badf49d1d616519cf8d9fc8405f1a Former-commit-id:b3d40951ba
[formerly8145305580
] [formerlya2148650b4
[formerly 3ef8fa1ce4634801435cc94b2372b736576aefd4]] Former-commit-id:a2148650b4
Former-commit-id:66cf28ab84
This commit is contained in:
parent
041d612ea2
commit
c658131c84
1 changed files with 20 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
<project default="p2.build" basedir=".">
|
||||
<project default="main" basedir=".">
|
||||
|
||||
<!-- TODO: Verify These Properties References An Actual Directory. -->
|
||||
<property name="eclipse.dir"
|
||||
|
@ -315,7 +315,26 @@
|
|||
|
||||
<antcall target="cleanup.features" />
|
||||
</target>
|
||||
|
||||
<target name="wa-build" depends="p2.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="p2.build.repo">
|
||||
<param name="feature" value="@{wa.feature}" />
|
||||
</antcall>
|
||||
</sequential>
|
||||
</for>
|
||||
</sequential>
|
||||
</for>
|
||||
</target>
|
||||
|
||||
<target name="main" depends="clean, p2.build, wa-build" />
|
||||
|
||||
<target name="p2.build.repo">
|
||||
<!-- Copy The Feature -->
|
||||
<copy todir="${basedir}/cave/p2/features">
|
||||
|
|
Loading…
Add table
Reference in a new issue