Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » headless product build creates non-working .zip's
headless product build creates non-working .zip's [message #3470] Tue, 20 May 2008 12:29 Go to next message
Andreas Pakulat is currently offline Andreas PakulatFriend
Messages: 127
Registered: July 2009
Senior Member
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 13:54 Go to previous message
Andreas Pakulat is currently offline Andreas PakulatFriend
Messages: 127
Registered: July 2009
Senior Member
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 13:54 Go to previous message
Andreas Pakulat is currently offline Andreas PakulatFriend
Messages: 127
Registered: July 2009
Senior Member
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
Previous Topic:headless product build creates non-working .zip's
Next Topic:headless build trying to build a plugin from eclipse-sdk
Goto Forum:
  


Current Time: Thu Apr 25 14:07:52 GMT 2024

Powered by FUDForum. Page generated in 0.03613 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top