Bug 457495 - Include packed jars for CDT builds

With this change the build will now contain the 
packed jars for each plugin.  They can be seen under
releng/org.eclipse.cdt.repo/target/repository/plugins/*pack.gz.

Those packed jars are removed from the zip file as they just duplicate
the existing jars.

Change-Id: Ida5804e6939f1dd99a5cc169518738bb394198a6
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Marc Khouzam 2015-01-14 15:15:35 -05:00
parent 6dda632d25
commit b447d066aa
2 changed files with 16 additions and 1 deletions

View file

@ -273,7 +273,7 @@
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<includePackedArtifacts>false</includePackedArtifacts>
<includePackedArtifacts>true</includePackedArtifacts>
</configuration>
</plugin>
<plugin>

View file

@ -48,6 +48,21 @@
<include name="**" />
</fileset>
</copy>
<!-- remove the packed files from the zip file to make it smaller -->
<unzip src="target/org.eclipse.cdt.repo.zip" dest="target/tmp"/>
<delete file="target/org.eclipse.cdt.repo.zip"/>
<delete>
<fileset dir="target/tmp">
<include name="plugins/*.pack.gz"/>
</fileset>
</delete>
<zip destfile="target/org.eclipse.cdt.repo.zip">
<fileset dir="target/tmp">
<include name="**"/>
</fileset>
</zip>
<delete dir="target/tmp"/>
</target>
</configuration>
<goals>