Community
Participate
Working Groups
Build ID: 20090619-0625 I have the following in my build.properties: archivesFormat=win32, win32, x86 - zip & \ linux, gtk, x86 - tar This creates a gzipped tar file for Linux, as expected. However, the file is named test-linux.gtk.x86.zip rather than test-linux.gtk.x86.tar.gz.
This is actually an old problem. For feature builds, copy org.eclipse.pde.build/templates/headless-build/allElements.xml into your builder directory. For those platforms needing the extension changed, define custom assemble targets: <property name="assemble.<element.id>.linux.gtk.x86" value="true" /> <target name="assemble.<element.id>.linux.gtk.x86"> <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> <property name="archiveName" value="${archiveNamePrefix}-${config}.tar.gz"/> </ant> </target> <element.id> should be the top level feature id you are building. For product builds, copy org.eclipse.pde.build/scripts/productBuild/allElements.xml It already has targets similar to above, edit the appropriate ones. For the productBuild.xml to use this modified allElements.xml, you will need to define "allElementsFile" to point to your changed version. This property needs to be defined before calling productBuild.xml (the build.properties is not good enough). Do it on the command line, or in some wrapper build script.
Thanks, good to know there is a workaround.
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. Please reopen, if you plan to provide a fix.