|
Re: Target Platform in Buckminster [message #898496 is a reply to message #898376] |
Thu, 26 July 2012 13:34 |
Henrik Lindberg Messages: 2509 Registered: July 2009 |
Senior Member |
|
|
Not sure I fully understand your question.
A couple of basic things first:
The workspace can only have one active TP at a time, and thus all
projects are built against this TP.
Project's dependencies are resolved against the versions (note plural)
found in the TP. Unless there are capped ranges, latest version will be
picked.
Modifying the TP does funny things to launch configurations.
Now, your case.
Why do you need to build "another project with different dependencies"
at the same time as you are building the product? Why not just keep one
workspace where you build the product - keep the TP clean.
Alternatively, if your "other project" is something like a plugin to the
base product, and you want to work on it at the same time - Simply add
it to what you are materializing so the TP is fully resolved by
Buckminster. This makes sense as the product and the plugin should be
able to be installed at the same time.
Does that help?
Regards
- henrik
On 2012-26-07 11:49, chavi wrote:
> I have followed this tutorial to create Product with Buckminster.
> http://codeandme.blogspot.com/2011/09/
>
> Everything works fine But as soon as i create any Plugin project which
> have other dependencies it shows me error in project.(May be because of
> Target platform)So to solve it i add dependent feature project in Target
> platform.
> But it exits with below log & product is not created.
> Is there any thing which i need to implement to support other project
> which have dependencies.
>
>
> !SESSION Thu Jul 26 14:00:20 IST 2012
> ------------------------------------------
> !ENTRY org.eclipse.equinox.launcher 4 0 2012-07-26 14:00:20.686
> !MESSAGE Could not find extension:
> javax.transaction__1.1.1.v201105210645.jar
> !SESSION 2012-07-26 14:00:20.077
> -----------------------------------------------
> eclipse.buildId=M20120208-0800
> java.version=1.6.0_26
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Framework arguments: -application org.eclipse.equinox.p2.director
> -repository file:/C:/wysfirstBuild/UpdateSite/ -destination
> C:\wysfirstBuild\Sample RCP\MyProduct.win32.win32.x86 -profile
> ExampleProfile -profileProperties
> org.eclipse.update.install.features=true -installIU
> com.example.rcp.core.myproduct -p2.os win32 -p2.ws win32 -p2.arch x86
> Command-line arguments: -application org.eclipse.equinox.p2.director
> -repository file:/C:/wysfirstBuild/UpdateSite/ -destination
> C:\wysfirstBuild\Sample RCP\MyProduct.win32.win32.x86 -profile
> ExampleProfile -profileProperties
> org.eclipse.update.install.features=true -installIU
> com.example.rcp.core.myproduct -p2.os win32 -p2.ws win32 -p2.arch x86
> -consoleLog
>
> !ENTRY org.eclipse.osgi 4 0 2012-07-26 14:00:21.140
> !MESSAGE Bundle javax.transaction__1.1.1.v201105210645.jar not found.
>
> !ENTRY org.eclipse.equinox.p2.director 4 1 2012-07-26 14:00:22.062
> !MESSAGE Cannot complete the install because one or more required items
> could not be found.
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2012-07-26 14:00:22.062
> !MESSAGE Software being installed: My RCP Example 0.0.0
> (com.example.rcp.core.myproduct 0.0.0)
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2012-07-26 14:00:22.062
> !MESSAGE Missing requirement: HtmlEditor 1.0.0.qualifier
> (com.my.sdk.ide.webtools.my.htmlEditor.patch 1.0.0.qualifier) requires
> 'package org.eclipse.wst.sse.core.internal.encoding 0.0.0' but it could
> not be found
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2012-07-26 14:00:22.155
> !MESSAGE Cannot satisfy dependency:
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-07-26 14:00:22.155
> !MESSAGE From: TestFeature 1.0.0.qualifier (TestFeature.feature.group
> 1.0.0.qualifier)
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-07-26 14:00:22.155
> !MESSAGE To: com.my.sdk.ide.webtools.my.htmlEditor.patch [1.0.0.qualifier]
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2012-07-26 14:00:22.155
> !MESSAGE Cannot satisfy dependency:
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-07-26 14:00:22.155
> !MESSAGE From: My RCP Example 0.0.0 (com.example.rcp.core.myproduct 0.0.0)
> !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2012-07-26 14:00:22.155
> !MESSAGE To: TestFeature.feature.group [1.0.0.qualifier]
>
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05247 seconds