Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Cannot Generate RCP for macosx (solved)(win, linux works, but no macosx)
icon14.gif  Cannot Generate RCP for macosx (solved) [message #648594] Thu, 13 January 2011 15:49 Go to next message
Michael Breu is currently offline Michael BreuFriend
Messages: 19
Registered: April 2010
Location: Inzing, Austria
Junior Member
Hi,

We are now running a successful Hudson/Buckminster installation to generate an RCP-solution for Windows (32/64Bit) and linux for several months. The implemenation is mainly based on the recommendations in http://www.ralfebert.de/blog/eclipsercp/rcp_builds/

So we have a buckminster script with the lines
import '/var/lib/hudson/jobs/Squam_Buckminster_Tests/workspace/info.squam.ocl.editor.metrics.buckminster.features/info.squam.ocl.editor.metrics.buckminster.features.cquery'
import '/var/lib/hudson/jobs/Squam_Buckminster_Tests/workspace/info.squam.ocl.editor.app.professional.buckminster.feature/info.squam.ocl.editor.app.professional.buckminster.feature.cquery'
clean
build
perform info.squam.ocl.editor.metrics.buckminster.features#export.metrics.site
perform info.squam.ocl.editor.app.professional.buckminster.feature#export.professional.site
perform  -Dtarget.os=win32 -Dtarget.ws=win32 -Dtarget.arch=x86 info.squam.ocl.editor.metrics.buckminster.features#export.metrics.product.zip 
perform  -Dtarget.os=win32 -Dtarget.ws=win32 -Dtarget.arch=x86_64 info.squam.ocl.editor.metrics.buckminster.features#export.metrics.product.zip 
perform  -Dtarget.os=linux -Dtarget.ws=gtk -Dtarget.arch=x86 info.squam.ocl.editor.metrics.buckminster.features#export.metrics.product.zip 


It works as expected.

Just recently we got the request to provide also a version for maxosx. Very easy, we thought, just add another line
perform  -Dtarget.os=macosx -Dtarget.ws=cocoa -Dtarget.arch=x86_64 info.squam.ocl.editor.metrics.buckminster.features#export.metrics.product.zip 


However, after resolving some other issues just by installing the very recent version of buckminster, we get now the message
INFO: perform '-Dtarget.os=macosx' '-Dtarget.ws=cocoa' '-Dtarget.arch=x86_64' 'info.squam.ocl.editor.metrics.buckminster.features#export.metrics.product.zip'
INFO: [start org.eclipse.ui:osgi.bundle$3.5.2.M20100120-0800#target.fragments] 
...
INFO: [start info.squam.ocl.editor.metrics.buckminster.features:eclipse.feature$1.0.0.qualifier#create.metrics.product]
[ant] equinox.launcher.jar: /data/hudson/tools/Buckminster3.6.1/buckminster/plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
[ant] repository: file:/var/lib/hudson/jobs/Squam_Buckminster_Tests/workspace/buckminster.output/info.squam.ocl.editor.metrics.buckminster.features_1.0.0-eclipse.feature/site.p2/ 
[ant] destination: /var/lib/hudson/jobs/Squam_Buckminster_Tests/workspace/buckminster.output/info.squam.ocl.editor.metrics.buckminster.features_1.0.0-eclipse.feature/SquamME.macosx.x86_64 
[ant] target.os: macosx [ant] installIU info.squam.ocl.editor.metrics.application.product
[ant] Cannot complete the install because one or more required items could not be found.
[ant] Software being installed: SQUAM Metrics Edition (product) 1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs (info.squam.ocl.editor.metrics.application.product 1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs) [ant] Missing requirement: SQUAM Metrics Feature 1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs (info.squam.ocl.editor.app.metrics.feature.feature.group 1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs)
   requires 'info.squam.ocl.editor.app.platform.feature.feature.group [1.0.0.201101131516-453cLSJ--7w9DvNr734B454H1JNJ]' but it could not be found
[ant] Cannot satisfy dependency: [ant] From: SQUAM Metrics Edition (product) 1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs (info.squam.ocl.editor.metrics.application.product 1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs) [ant] To: info.squam.ocl.editor.app.metrics.feature.feature.group [1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs] 
[ant] Application failed, log file location: /data/hudson/tools/Buckminster3.6.1/buckminster/configuration/1294928248729.log
ERROR: org.eclipse.core.runtime.CoreException: /data/hudson/jobs/Squam_Buckminster_Tests/workspace/info.squam.ocl.editor.metrics.buckminster.features/ant/product.xml:41: Java returned: 13 org.eclipse.core.runtime.CoreException: /data/hudson/jobs/Squam_Buckminster_Tests/workspace/info.squam.ocl.editor.metrics.buckminster.features/ant/product.xml:41: Java returned: 13 at org.eclipse.buckminster.ant.AntRunner.handleInvocationTargetException(AntRunner.java:167) at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:322) at ...
org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
Caused by: /data/hudson/jobs/Squam_Buckminster_Tests/workspace/info.squam.ocl.editor.metrics.buckminster.features/ant/product.xml:41: Java returned: 13 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) 
...
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:318) ... 25 more 



That means the previous product exports for windows and linux work as expected. But the export for maxosx claims a missing dependency, which should have already be claimed by the previous exports. I checked it by hand, but the dependency is correct (otherwise the other exports would have failed).

I also checked that there are no hidden launching requirements for macosx.

Can somebody give me a hint, what would be wrong. Google did not bring any useful hit.

Thank you

Wallenstein

[Updated on: Mon, 17 January 2011 10:50]

Report message to a moderator

Re: Cannot Generate RCP for macosx [message #648790 is a reply to message #648594] Fri, 14 January 2011 13:50 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Do you have any filters anywhere? (Thinking that some filter somewhere
causes part of the dependency graph to be filtered out).

- henrik

On 1/13/11 4:50 PM, Michael Breu wrote:
> Hi,
>
> We are now running a successfil Hudson/Buckminster installation to
> generate an RCP-solution for Windows (32/64Bit) and linux. The
> implemenation is mainly based on the recommendations in
> http://www.ralfebert.de/blog/eclipsercp/rcp_builds/
>
> So we have a buckminster script with the lines
> import
> '/var/lib/hudson/jobs/Squam_Buckminster_Tests/workspace/info .squam.ocl.editor.metrics.buckminster.features/info.squam.oc l.editor.metrics.buckminster.features.cquery'
>
> import
> '/var/lib/hudson/jobs/Squam_Buckminster_Tests/workspace/info .squam.ocl.editor.app.professional.buckminster.feature/info. squam.ocl.editor.app.professional.buckminster.feature.cquery '
>
> clean
> build
> perform
> info.squam.ocl.editor.metrics.buckminster.features#export.me trics.site
> perform
> info.squam.ocl.editor.app.professional.buckminster.feature#e xport.professional.site
>
> perform -Dtarget.os=win32 -Dtarget.ws=win32 -Dtarget.arch=x86
> info.squam.ocl.editor.metrics.buckminster.features#export.me trics.product.zip
> perform -Dtarget.os=win32 -Dtarget.ws=win32 -Dtarget.arch=x86_64
> info.squam.ocl.editor.metrics.buckminster.features#export.me trics.product.zip
> perform -Dtarget.os=linux -Dtarget.ws=gtk -Dtarget.arch=x86
> info.squam.ocl.editor.metrics.buckminster.features#export.me trics.product.zip
>
>
> It works as expected.
>
> Just recently we got the request to provide also a version for maxosx.
> Very easy, we thought, just add another line
>
> perform -Dtarget.os=macosx -Dtarget.ws=cocoa -Dtarget.arch=x86_64
> info.squam.ocl.editor.metrics.buckminster.features#export.me trics.product.zip
>
>
> However, after resolving some other
> http://www.eclipse.org/forums/index.php?t=tree&th=161708 & just by
> installing the very recent version of buckminster, we get now the message
>
> INFO: perform '-Dtarget.os=macosx' '-Dtarget.ws=cocoa'
> '-Dtarget.arch=x86_64'
> 'info.squam.ocl.editor.metrics.buckminster.features#export.m etrics.product.zip'
>
> INFO: [start
> org.eclipse.ui:osgi.bundle$3.5.2.M20100120-0800#target.fragm ents] ...
> INFO: [start
> info.squam.ocl.editor.metrics.buckminster.features:eclipse.f eature$1.0.0.qualifier#create.metrics.product]
>
> [ant] equinox.launcher.jar:
> /data/hudson/tools/Buckminster3.6.1/buckminster/plugins/org. eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
>
> [ant] repository:
> file:/var/lib/hudson/jobs/Squam_Buckminster_Tests/workspace/ buckminster.output/info.squam.ocl.editor.metrics.buckminster .features_1.0.0-eclipse.feature/site.p2/
> [ant] destination:
> /var/lib/hudson/jobs/Squam_Buckminster_Tests/workspace/buckm inster.output/info.squam.ocl.editor.metrics.buckminster.feat ures_1.0.0-eclipse.feature/SquamME.macosx.x86_64
> [ant] target.os: macosx [ant] installIU
> info.squam.ocl.editor.metrics.application.product
> [ant] Cannot complete the install because one or more required items
> could not be found.
> [ant] Software being installed: SQUAM Metrics Edition (product)
> 1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs
> (info.squam.ocl.editor.metrics.application.product
> 1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs) [ant] Missing
> requirement: SQUAM Metrics Feature
> 1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs
> (info.squam.ocl.editor.app.metrics.feature.feature.group
> 1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs) requires
> 'info.squam.ocl.editor.app.platform.feature.feature.group
> [1.0.0.201101131516-453cLSJ--7w9DvNr734B454H1JNJ]' but it could not be
> found
> [ant] Cannot satisfy dependency: [ant] From: SQUAM Metrics Edition
> (product) 1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs
> (info.squam.ocl.editor.metrics.application.product
> 1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs) [ant] To:
> info.squam.ocl.editor.app.metrics.feature.feature.group
> [1.0.8.201101131516-1677cQzM5D7P_6fXWM459z0EGyOs] [ant] Application
> failed, log file location:
> /data/hudson/tools/Buckminster3.6.1/buckminster/configuratio n/1294928248729.log
>
> ERROR: org.eclipse.core.runtime.CoreException:
> /data/hudson/jobs/Squam_Buckminster_Tests/workspace/info.squ am.ocl.editor.metrics.buckminster.features/ant/product.xml:4 1:
> Java returned: 13 org.eclipse.core.runtime.CoreException:
> /data/hudson/jobs/Squam_Buckminster_Tests/workspace/info.squ am.ocl.editor.metrics.buckminster.features/ant/product.xml:4 1:
> Java returned: 13 at
> org.eclipse.buckminster.ant.AntRunner.handleInvocationTarget Exception(AntRunner.java:167)
> at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:322 ) at ...
> org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at
> org.eclipse.equinox.launcher.Main.run(Main.java:1408) at
> org.eclipse.equinox.launcher.Main.main(Main.java:1384)
>
> Caused by:
> /data/hudson/jobs/Squam_Buckminster_Tests/workspace/info.squ am.ocl.editor.metrics.buckminster.features/ant/product.xml:4 1:
> Java returned: 13 at
> org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288) ...
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597) at
> org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:318 ) ... 25 more
>
>
> That means the previous product exports for windows and linux work as
> expected. But the export for maxosx claims the missing dependency. I
> checked it by hand, but the dependency is correct (otherwise the other
> exports would have failed).
>
> I also checked that there are no hidden launching requirements for macosx.
>
> Can somebody give me a hint, what would be wrong. Google did not bring
> any useful hit.
>
> Thank you
>
> Wallenstein
>
Re: Cannot Generate RCP for macosx [message #648845 is a reply to message #648790] Fri, 14 January 2011 17:33 Go to previous messageGo to next message
Michael Breu is currently offline Michael BreuFriend
Messages: 19
Registered: April 2010
Location: Inzing, Austria
Junior Member
Hello Henrik,

Was not sure, what filters you meant, so first I was inclined to answer "no" Embarrassed

But indeed, I found that someone set the "Supported Environments" for the Platform-Feature to win32 and linux.

I have removed it, and am now about to restart buckminster.

Takes its time. Hope it works.

Thank you for your help.

Michael
icon14.gif  Re: Cannot Generate RCP for macosx [message #649026 is a reply to message #648845] Mon, 17 January 2011 10:48 Go to previous message
Michael Breu is currently offline Michael BreuFriend
Messages: 19
Registered: April 2010
Location: Inzing, Austria
Junior Member
It hit the spot.

Thank you for your support.

Michael
Previous Topic:[Resolved]Problem during meta-data refresh "Profile TARGET_DEFINITION is not current"
Next Topic:ERROR: Plug-in org.eclipse.jsch.core was unable to load
Goto Forum:
  


Current Time: Thu Apr 25 04:36:18 GMT 2024

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

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

Back to the top