| Unable to import offline target platform for hudson/jenkins buckminster run [message #757119] |
Wed, 16 November 2011 10:32  |
Thomas C. Franke Messages: 13 Registered: November 2011 |
Junior Member |
|
|
Hi,
I need help for headless RCP project build using buckminster out of a jenkins/hudson job, but buckminster does not find the org.eclipse.* components.
What I do out of the job is:
- checkout sources,
- start buckminster plugin
- import offline target platform (yes I need offline version due to no internet connection)
- build
- create product....
commands for buckminster:
importtargetdefinition -A 'file:///c:/workspace/alereServiceTargetPlatform/serviceTargetPlatformJenkins.target'
import 'C:/workspace/serviceRCP/com.alere.service.site/site.cquery'
build -c
The error message is:
C:\Program Files\Jenkins\jobs\AlereServiceSoftware\workspace>exit 0
[workspace] $ "C:\Program Files\Java\jdk1.6.0_27\bin\java.exe" "-Dbuckminster.output.root=C:\Program Files\Jenkins\jobs\AlereServiceSoftware\workspace\buckminster.output" "-Dbuckminster.temp.root=C:\Program Files\Jenkins\jobs\AlereServiceSoftware\workspace\buckminster.temp" -Xmx512m -jar C:\workspace\buckminster-headless\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar -application org.eclipse.buckminster.cmdline.headless -data "C:\Program Files\Jenkins\jobs\AlereServiceSoftware\workspace" --loglevel info -S "C:\Program Files\Jenkins\jobs\AlereServiceSoftware\workspace\commands.txt"
INFO: importtargetdefinition '-A' 'file:///c:/workspace/alereServiceTargetPlatform/serviceTargetPlatformJenkins.target'
INFO: import 'C:/workspace/serviceRCP/com.alere.service.site/site.cquery'
ERROR [0012] : No suitable provider for component org.eclipse.core.runtime:osgi.bundle was found in resourceMap file:/C:/workspace/serviceRCP/com.alere.service.site/site.rmap
ERROR [0012] : Unable to find a searchPath for org.eclipse.core.runtime:osgi.bundle
The target platform (.target file referencing some abolute paths) works fine if I use it in Eclipse IDE directly.
Content of platform:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>
<target name="serviceTargetPlatform" sequenceNumber="4">
<locations>
<location includeAllPlatforms="true" includeMode="slicer" includeSource="false" type="InstallableUnit">
<unit id="org.eclipse.rcp.feature.group" version="3.6.2.r362_v20101104-9SAxFMKFkSAqi8axkv1ZjegmiBLY"/>
<unit id="org.eclipse.rcp.source.feature.group" version="3.6.2.r362_v20101104-9SAxFMKFkSAqi8axkv1ZjegmiBLY"/>
<repository location="file:///c:/workspace/alereServiceTargetPlatform/repo/"/>
</location>
<location id="org.eclipse.equinox.executable" path="c:\workspace\alereServiceTargetPlatform\repo" type="Feature"/>
</locations>
</target>
Do I need any type of rmap file for all eclipse stuff or so?
For my product otself I import a single cquery file and created a rmap file for all components of my own product (this works now).
Please help me how to import the OFFLINE target platform correctly.
Thx
Thomas
[Updated on: Wed, 16 November 2011 10:32] Report message to a moderator
|
|
|
|
|
|
| Re: Unable to import offline target platform for hudson/jenkins buckminster run [message #758286 is a reply to message #758015] |
Tue, 22 November 2011 09:57  |
Thomas F Messages: 7 Registered: December 2010 |
Junior Member |
|
|
I materialize all dependencies for org.eclipse.rcp and org.eclipse.equinox.executable now (using mspecs...).
This creates a repo folder so far which is archived as targetplatform by jenkins and buckminster understands this for fuether builds now.
I think this is something like a filtered "mirror" especially because I materialize it with os=ws=arch=*.
Thx for the answers - helped
|
|
|
Powered by
FUDForum. Page generated in 0.01966 seconds