headless product build creates non-working .zip's [message #3470] |
Tue, 20 May 2008 08:29  |
Eclipse User |
|
|
|
Hi,
I've setup the product build and as far as I can see it should be ok,
however the org.eclipse.equinox.launcher.<platform> plugin gets packages
as .jar, which causes the launching executable to barf because it can't
find the eclipse_1023.so (for linux in this case) and thus cannot start
eclipse. As soon as I unpack the .jar into the plugins/ directory in an
org.eclipse.equinox.launcher.gtk.linux.... directory it starts up just
fine.
Any idea why this might happen?
I'm running the headless build according to the docs in the Eclipse Help,
using this command:
/usr/bin/java -jar /home/andreas/packagebuild/eclipse/plugins/org.eclipse.equin ox.launcher_1.0.1.R33x_v20080118.jar
-application org.eclipse.ant.core.antRunner
-buildfile /home/andreas/packagebuild/eclipse/plugins/org.eclipse.pde.b uild_3.3.2.v20071019/scripts/productBuild/productBuild.xml
-Dbuilder=/home/andreas/packagebuild/confdir/
The "builder" directory contains just the build.properties file with the
following content:
product=/MyProduct/MyProduct.product
runPackager=true
launcherName=myproduct
archivePrefix=MyProduct
collectingFolder=${archivePrefix}
outputUpdateJars = true
zipargs=
tarargs=
buildDirectory=/home/andreas//packagebuild/builddir/
buildType=I
buildId=MyProduct
buildLabel=${buildType}.${buildId}
timestamp=007
baseLocation=/home/andreas/packagebuild/eclipse/
baseos=linux
basews=gtk
basearch=x86
skipBase=true
skipMaps=true
mapsRepo=:pserver:anonymous@example.com/path/to/repo
mapsRoot=path/to/maps
mapsCheckoutTag=HEAD
mapsTagTag=v${buildId}
skipFetch=true
logExtension=.log
javacDebugInfo=false
javacFailOnError=true
javacVerbose=true
javacSource=1.5
javacTarget=1.5
Andreas
|
|
|
Re: headless product build creates non-working .zip's [message #3505 is a reply to message #3470] |
Tue, 20 May 2008 09:54  |
Eclipse User |
|
|
|
Andreas Pakulat wrote:
> Hi,
>
> I've setup the product build and as far as I can see it should be ok,
> however the org.eclipse.equinox.launcher.<platform> plugin gets packages
> as .jar, which causes the launching executable to barf because it can't
> find the eclipse_1023.so (for linux in this case) and thus cannot start
> eclipse. As soon as I unpack the .jar into the plugins/ directory in an
> org.eclipse.equinox.launcher.gtk.linux.... directory it starts up just
> fine.
After patching my pde.core plugin to not delete the intermediate files from
exporting the produce inside Eclipse I found the reason.
Its this line in my build.properties:
> outputUpdateJars = true
Andreas
|
|
|
Re: headless product build creates non-working .zip's [message #567028 is a reply to message #3470] |
Tue, 20 May 2008 09:54  |
Eclipse User |
|
|
|
Andreas Pakulat wrote:
> Hi,
>
> I've setup the product build and as far as I can see it should be ok,
> however the org.eclipse.equinox.launcher.<platform> plugin gets packages
> as .jar, which causes the launching executable to barf because it can't
> find the eclipse_1023.so (for linux in this case) and thus cannot start
> eclipse. As soon as I unpack the .jar into the plugins/ directory in an
> org.eclipse.equinox.launcher.gtk.linux.... directory it starts up just
> fine.
After patching my pde.core plugin to not delete the intermediate files from
exporting the produce inside Eclipse I found the reason.
Its this line in my build.properties:
> outputUpdateJars = true
Andreas
|
|
|
Powered by
FUDForum. Page generated in 0.04568 seconds