[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.equinox] trying to build do p2 generation with eclipse (and failing)
|
Hi,
I'm trying to add p2 generation to our build.xml with is already building
our update site (site.xml etc..)
Our build machine DOES NOT HAVE ECLIPSE installed, so i'm trying to cut down
the generation process to a bare minimum, if possible.
(please excuse my ignorance if what i'm trying to do is "dumb")
Firstly, I need to know if it's possible to build in this way (see ant task
below below).
I've read quite a bit of literature around the web and I've got as far as I
can..
I'm now stuck on a "Java returned: 13" problem
All suggestions gratefully received - thanks in advance
John
Details are...
I've created an ant target as below...
<java classpathref="eclipsep2.classpath" fork="true" failonerror="true"
classname="org.eclipse.equinox.launcher.Main" >
<arg line=" -application
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
-debug \
-consoleLog \
-updateSite ${lib.dir} \
-site file:${lib.dir}/site.xml \
-metadataRepository file:${lib.dir} \
-metadataRepositoryName '${PRODUCTTITLE} Update Site' \
-artifactRepository file:${lib.dir} \
-artifactRepositoryName '${PRODUCTTITLE} Artifacts' \
-compress \
-reusePack200Files" />
</java>
</target>
my classpath includes the following jars
<include name="org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar" />
<include
name="org.eclipse.equinox.p2.metadata.generator_1.0.0.v20080604.jar" />
<include
name="org.eclipse.equinox.p2.artifact.repository_1.0.1.v200808061616.jar" />
<include
name="org.eclipse.equinox.p2.exemplarysetup_1.0.0.v20080427-2136.jar" />
<include name="org.eclipse.equinox.p2.ui.sdk_1.0.0.v20080605-1731.jar" />
<include
name="org.eclipse.equinox.simpleconfigurator.manipulator_1.0.1.R34x_v20080911-1720.jar"
/>
the console output looks like this...
p2:
[java] Install location:
[java] file:/c:/xxx/buildoutput/lib/
[java] Configuration file:
[java] file:/c:/xxx/buildoutput/lib/configuration/config.ini not found
or not read
[java] Configuration location:
[java] file:/c:/xxx/buildoutput/lib/configuration
[java] Configuration file:
[java] file:/c:/xxx/buildoutput/lib/config.ini not found or not read
[java] Shared configuration location:
[java] file:/c:/xxx/buildoutput/lib/configuration/
BUILD FAILED
C:\xxx\src\build.xml:150: Java returned: 13
if i look in generated directory C:\xxx\buildoutput\lib\configuration i find
a log file with contents thus..
!SESSION Tue Dec 30 16:04:49 GMT
2008 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2008-12-30 16:04:50.078
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.RuntimeException: Could not find framework
at org.eclipse.equinox.launcher.Main.getBootPath(Main.java:816)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:431)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
--
John Kelly