Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Eclipse target platform, workspace components and 3rd party bundles / JARS
Eclipse target platform, workspace components and 3rd party bundles / JARS [message #536286] Thu, 27 May 2010 14:21 Go to next message
Geejay is currently offline GeejayFriend
Messages: 160
Registered: February 2010
Senior Member
Here is a quick summary of what I did to setup a materialization of 3rd
party jars into an Eclipse target platform:

1. Create a Feature that lists all the required 3rd party bundles that you
are using as plug-ins that are "packaged into the feature".

2. Create an Update Site project, add the Feature from step 1 above to the
"Site Map".

3. Buckminster CSPEC - write a CSPEC that has the feature in step 1 as the
root node for the query.

4. Buckminster RMAP - Something like this:

<searchPath name="externals">
<provider readerType="eclipse.import"
componentTypes="osgi.bundle,eclipse.feature" mutable="false" source="false">
<uri format="file:/${site.path.3rdpartybundles}?importType=linked "
/>
</provider>
</searchPath>

5. Buckminster MSPEC - references CSPEC above, something like this:

<?xml version="1.0" encoding="UTF-8"?>
<mspec xmlns="http://www.eclipse.org/buckminster/MetaData-1.0"
name="Target Platform MSPEC" materializer="p2"
installLocation="${targetPlatformPath}"
url="tp.cquery">
<property key="target.arch" value="*"/>
<property key="target.os" value="*"/>
<property key="target.ws" value="*"/>
</mspec>

6. In Eclipse, right click on the MSPEC, Import... -> Buckminster ->
Materialize... then you can choose where you want the materialized bundles
to go.

I still have some open questions on the whole process:

Is there a way that I can combine the target platform and workspace setup
into one CQUERY or MSPEC? Or would this be bad practice?
Re: Eclipse target platform, workspace components and 3rd party bundles / JARS [message #536366 is a reply to message #536286] Thu, 27 May 2010 19:17 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
"geejay" <gjmcknight@schlagundrahm.ch>
> Is there a way that I can combine the target platform and workspace
> setup into one CQUERY or MSPEC? Or would this be bad practice?
>

Use a MSPEC, it is intended to be used for this.

--
- henrik
Previous Topic:buckminster documentation
Next Topic:Usage of generators
Goto Forum:
  


Current Time: Tue Aug 03 05:21:33 GMT 2021

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

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

Back to the top