Issue #2048 - foss jars that have associated source code will no longer be removed from the distribution
Change-Id: I444a4c9fd2d2e7fbe1ab1af7c1a4d22bcdaafc14 Former-commit-id:96c1e867f3
[formerly3c98d835bf
] [formerly52a1addb29
] [formerly52a1addb29
[formerly7b24cd293a
]] [formerlybd9251eba0
[formerly52a1addb29
[formerly7b24cd293a
] [formerlybd9251eba0
[formerly 19a96c99d10b540058e4d9c0d1729852dd18f1e9]]]] Former-commit-id:bd9251eba0
Former-commit-id: c0aaa03ffbee1d00bf904af405daead770fbe339 [formerly 12f6e2d4de44a38803b3d5a550206ae1507ca67f] [formerly5ee9c9f6a1
[formerly4eb7d951e4
]] Former-commit-id:5ee9c9f6a1
Former-commit-id:cad451315d
This commit is contained in:
parent
3e93bf62e6
commit
c763904dc2
1 changed files with 16 additions and 3 deletions
|
@ -208,7 +208,7 @@
|
|||
<fileset dir="${builder}"
|
||||
includes="dependencies-stash/**" />
|
||||
</delete>
|
||||
|
||||
|
||||
<!--
|
||||
Remove all PDE-generated FOSS artifacts from the
|
||||
plugins directory.
|
||||
|
@ -216,6 +216,8 @@
|
|||
<loadfile property="includefile.foss"
|
||||
srcfile="${builder}/includes/cots.includes" />
|
||||
<var name="index" value="1" />
|
||||
|
||||
|
||||
|
||||
<for param="line" list="${includefile.foss}"
|
||||
delimiter="${line.separator}">
|
||||
|
@ -227,9 +229,20 @@
|
|||
</not>
|
||||
<then>
|
||||
<!--
|
||||
Remove the empty FOSS jar from plugins.
|
||||
First, determine if the plugin has a source directory.
|
||||
-->
|
||||
<delete file="${builder}/postBuild/${edex.root.directory}/lib/plugins/@{line}.jar" />
|
||||
<if>
|
||||
<not>
|
||||
<available file="${buildDirectory}/plugins/@{line}/src"
|
||||
type="dir" />
|
||||
</not>
|
||||
<then>
|
||||
<!--
|
||||
Remove the empty FOSS jar from plugins.
|
||||
-->
|
||||
<delete file="${builder}/postBuild/${edex.root.directory}/lib/plugins/@{line}.jar" />
|
||||
</then>
|
||||
</if>
|
||||
</then>
|
||||
</if>
|
||||
<math result="index"
|
||||
|
|
Loading…
Add table
Reference in a new issue