[solved] RCP Build fails [message #723771] |
Fri, 09 September 2011 12:35 |
Christian Pontesegger Messages: 250 Registered: July 2009 Location: Graz, Austria |
Senior Member |
|
|
Hi,
I am trying to build an RCP with buckminster following Ralf Eberts Blog.
I am able to build a p2 update site, but when trying to build an RCP product I end up with an error:
org.eclipse.core.runtime.CoreException: C:\UserData\Workspaces\Eclipse_3.7_Workspace\Tag Studio RCP Full Featured\build\product.ant:22: Java returned: 13
I am running the create.product action from the custom cspex file.
First thing to do for me would be to access some logs to get detailed error information. Does anybody know where buckminster stores its logs to?
product.ant:
<project>
<pathconvert property="equinox.launcher.jar">
<first count="1">
<sort>
<fileset dir="${eclipse.home}/plugins" includes="**/org.eclipse.equinox.launcher_*.jar"/>
<reverse xmlns="antlib:org.apache.tools.ant.types.resources.comparators">
<date/>
</reverse>
</sort>
</first>
</pathconvert>
<target name="create.product">
<property name="destination" location="${sp:destination}"/>
<delete dir="${destination}"/>
<makeurl property="repository" file="${sp:repository}"/>
<mkdir dir="${destination}"/>
<echoproperties/>
<echo message="${equinox.launcher.jar}"/>
<echo message="${repository}"/>
<echo message="${destination}"/>
<java jar="${equinox.launcher.jar}" fork="true" failonerror="true" >
<arg value="-application"/>
<arg value="org.eclipse.equinox.p2.director"/>
<arg value="-repository"/>
<arg value="${repository}"/>
<arg value="-destination"/>
<arg value="${destination}"/>
<arg value="-profile"/>
<arg value="${profile}"/>
<arg value="-profileProperties" />
<arg value="org.eclipse.update.install.features=true" />
<arg value="-installIU"/>
<arg value="${iu}"/>
<arg value="-p2.os" />
<arg value="${target.os}" />
<arg value="-p2.ws" />
<arg value="${target.ws}" />
<arg value="-p2.arch" />
<arg value="${target.arch}" />
<arg value="-consoleLog"/>
<!-- jvmarg value="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y"/ -->
</java>
</target>
</project>
buckminster.properties:
# Where all the output should go
buckminster.output.root=C:/UserData/Build/Tag Studio Full
# Where the temp files should go
buckminster.temp.root=C:/UserData/temp/Buckminster
# How .qualifier in versions should be replaced
qualifier.replacement.*=generator:lastRevision
target.os=win32
target.ws=win32
target.arch=x86
[Updated on: Wed, 14 September 2011 12:26] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02019 seconds