Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » building RCP Product
building RCP Product [message #1071582] Sat, 20 July 2013 14:31 Go to next message
Michael Eckes is currently offline Michael EckesFriend
Messages: 8
Registered: July 2013
Junior Member
Im building a RDP Product via Jenkins and Buckminster using ant (via htt p://www.ralfebert .de/blog/eclipsercp/rcp_builds/#automate_product_build)

If I export the product in Eclipse, I get a completly runnable Programm.

If I invoke the buckminster create.product.zip action in Eclipse it fails to copy all dependencies, so the build fails this missing bundle messages and the massage "Java returned 13". How can I get a list all the missing features?

If I build it via Jenkins I get only the following

Started by user Michael Eckes
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/jobs/MOST-1_Prepare-7_WebGen-3_Product/workspace
Checkout:workspace / /var/lib/jenkins/jobs/MOST-1_Prepare-7_WebGen-3_Product/workspace - hudson.remoting.LocalChannel@2b5dfdf1
Using strategy: Default
Last Built Revision: Revision 08584b1c37561a9722fb5324a67b0805ab798b91 (origin/HEAD, origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Seen branch in repository origin/HEAD
Seen branch in repository origin/master
Seen 2 remote branches
Commencing build of Revision 08584b1c37561a9722fb5324a67b0805ab798b91 (origin/HEAD, origin/master)
Checking out Revision 08584b1c37561a9722fb5324a67b0805ab798b91 (origin/HEAD, origin/master)
Warning : There are multiple branch changesets here
[workspace] $ /bin/sh -xe /tmp/hudson3530260165797251655.sh
+ /bin/sh /var/lib/jenkins/jobs/MOST-1_Prepare-7_WebGen-3_Product/workspace/scm/org.zikula.modulestudio.web.product.feature/begin.sh /var/lib/jenkins/jobs/MOST-1_Prepare-7_WebGen-3_Product/workspace
Linking project git repository
[workspace] $ /var/lib/jenkins/tools/hudson.model.JDK/JDK_6/bin/java -Dbuckminster.output.root=/var/lib/jenkins/jobs/MOST-1_Prepare-7_WebGen-3_Product/workspace/buckminster.output -Dbuckminster.temp.root=/var/lib/jenkins/jobs/MOST-1_Prepare-7_WebGen-3_Product/workspace/buckminster.temp -Xmx1024m -Xms128m -XX:PermSize=128m -XX:MaxPermSize=256m -jar /var/customers/webs/GuiteLab/internal/MostBuilds/buckminster-headless/plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar -application org.eclipse.buckminster.cmdline.headless -data /var/lib/jenkins/jobs/MOST-1_Prepare-7_WebGen-3_Product/workspace --loglevel info -S /var/lib/jenkins/jobs/MOST-1_Prepare-7_WebGen-3_Product/workspace/scm/org.zikula.modulestudio.web.product.feature/commands.txt
!SESSION 2013-07-20 15:10:33.302 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_31
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -application org.eclipse.buckminster.cmdline.headless --loglevel info -S /var/lib/jenkins/jobs/MOST-1_Prepare-7_WebGen-3_Product/workspace/scm/org.zikula.modulestudio.web.product.feature/commands.txt
Command-line arguments:  -application org.eclipse.buckminster.cmdline.headless -data /var/lib/jenkins/jobs/MOST-1_Prepare-7_WebGen-3_Product/workspace --loglevel info -S /var/lib/jenkins/jobs/MOST-1_Prepare-7_WebGen-3_Product/workspace/scm/org.zikula.modulestudio.web.product.feature/commands.txt

!ENTRY org.eclipse.buckminster.runtime 1 293 2013-07-20 15:10:35.025
!MESSAGE import '--properties' 'refProduct/bundles/de.guite.modulestudio.build/buckminster.properties' 'scm/org.zikula.modulestudio.web.product.feature/most.cquery'
INFO:  import '--properties' 'refProduct/bundles/de.guite.modulestudio.build/buckminster.properties' 'scm/org.zikula.modulestudio.web.product.feature/most.cquery'
INFO:  TAG-ID 0078 = Query for org.zikula.modulestudio.web.product.feature:eclipse.feature, path: org.zikula.modulestudio.web.product.feature:eclipse.feature$1.0.0.qualifier -> org.zikula.modulestudio.generator.feature:eclipse.feature$1.0.0.v201307161026 -> org.eclipse.birt:eclipse.feature$4.3.0.v201306051647-DTDN7DGjtEqcbHuY3YHRG7D26DT4

INFO:  Import complete.
INFO:  build
Build step 'Run Buckminster' marked build as failure
Sending e-mails to: ***
Finished: FAILURE

No failure message at all. How can I get more information about the cause?

My adapted cspex:
<?xml version="1.0" encoding="UTF-8"?>
<cspecExtension xmlns:com="http://www.eclipse.org/buckminster/Common-1.0"
                    xmlns="http://www.eclipse.org/buckminster/CSpec-1.0">
    <actions>
        <public name="create.product" actor="ant">
            <actorProperties>
                <property key="buildFile" value="product.ant" />
                <property key="targets" value="create.product" />
            </actorProperties>
            <properties>
                <property key="profile" value="MostWebGen" />
                <property key="iu" value="org.zikula.modulestudio.web.product.feature.feature.group" />
            </properties>
            <prerequisites alias="repository">
                <attribute name="site.p2" />
            </prerequisites>
            <products alias="destination" base="${buckminster.output}">
                <path path="WebGen.${target.ws}.${target.os}.${target.arch}/" />
            </products>
        </public>
        <public name="create.product.zip" actor="ant">
            <actorProperties>
                <property key="buildFileId" value="buckminster.pdetasks" />
                <property key="targets" value="create.zip" />
            </actorProperties>
            <prerequisites alias="action.requirements">
                <attribute name="create.product" />
            </prerequisites>
            <products alias="action.output" base="${buckminster.output}">
                <path path="WebGen.${target.ws}.${target.os}.${target.arch}.zip" />
            </products>
        </public>
    </actions>
</cspecExtension>
Re: building RCP Product [message #1072209 is a reply to message #1071582] Mon, 22 July 2013 09:47 Go to previous messageGo to next message
Matthew Webber is currently offline Matthew WebberFriend
Messages: 198
Registered: December 2010
Senior Member
Change --loglevel info --> --loglevel debug
Re: building RCP Product [message #1072214 is a reply to message #1072209] Mon, 22 July 2013 10:07 Go to previous messageGo to next message
Matthew Webber is currently offline Matthew WebberFriend
Messages: 198
Registered: December 2010
Senior Member
For some notes on solving the "Java returned 13" problem, see this earlier post:
http://www.eclipse.org/forums/index.php/mv/msg/378163/925005/#msg_925005
Re: building RCP Product [message #1073735 is a reply to message #1072214] Thu, 25 July 2013 11:56 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
I've recently written a tutorial; with the technique illustrated there
you can avoid the "Java returned 13" problem

http://www.lorenzobettini.it/2013/01/building-an-eclipse-rcp-product-with-buckminster/

hope this helps :)

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it


Re: building RCP Product [message #1074256 is a reply to message #1073735] Fri, 26 July 2013 11:31 Go to previous message
Michael Eckes is currently offline Michael EckesFriend
Messages: 8
Registered: July 2013
Junior Member
Found your website earlier this week and this is what I searched for the last couple of months.

This helps a lot. Thx.

[Updated on: Fri, 26 July 2013 11:31]

Report message to a moderator

Previous Topic:Buckminster, feature and p2 update-site
Next Topic:Error when switching to Kepler
Goto Forum:
  


Current Time: Thu Apr 25 12:02:09 GMT 2024

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

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

Back to the top