Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Target platform not working correctly
Target platform not working correctly [message #904932] Wed, 29 August 2012 12:09 Go to next message
Ambros Morscher is currently offline Ambros MorscherFriend
Messages: 28
Registered: June 2010
Junior Member
Hi together,

I am currently using buckminster/hudson to built my rcp app headless.

I have defined a target platform for my rcp application containing all plugins needed for compilation.
My target platform contains directory entries of the form:
${workspace_loc}/eclipsedependedencies/deliveredFeature


I use following commands on buckminster/hudson to build my product

setpref org.eclipse.buckminster.core.maxParallelMaterializations=1

setpref org.eclipse.buckminster.core.maxParallelResolutions=1

importtargetdefinition -A 'd:/hudson/workspace/devRCP.target'

import 'd:/hudson/workspace/support/product.cquery'

clean

build



Everything works fine (also the import of the product.cquery) except that there are some plugins which cannot be build because some dependencies cannot be resolved which are actually in the target platform. The build works fine in eclipse using the same target platform.

Is there a problem using directory entries or eclipse variables in the target platform?
Do you have any advise how to solve this?

[Updated on: Wed, 29 August 2012 12:10]

Report message to a moderator

Re: Target platform not working correctly [message #904937 is a reply to message #904932] Wed, 29 August 2012 12:15 Go to previous messageGo to next message
Peter Nehrer is currently offline Peter NehrerFriend
Messages: 240
Registered: July 2009
Senior Member
In order for ${workspace_loc} to resolve properly, you need to have the
target file in a project that you import into buckminster's workspace.
Then you can importtarget.

E.g., import 'target.cquery' (to import a project with devRCP.target in it)

Then importtarget 'devRCP.target', then import 'product.cquery'

On 8/29/12 8:09 AM, Ambros Morscher wrote:
> Hi together,
>
> I am currently using buckminster/hudson to built my rcp app headless.
>
> I have defined a target platform for my rcp application containing all
> plugins needed for compilation.
> My target platform contains directory entries of the form:
>
> ${workspace_loc}/eclipsedependedencies/deliveredFeature
>
>
> I use following commands on buckminster/hudson to build my product
>
>
> setpref org.eclipse.buckminster.core.maxParallelMaterializations=1
>
> setpref org.eclipse.buckminster.core.maxParallelResolutions=1
>
> importtargetdefinition -A 'd:/hudson/workspace/devRCP.target'
>
> import 'd:/hudson/workspace/support/product.cquery'
>
> clean
>
> build
>
>
>
> Everything works fine except that there are some plugins which cannot be
> build because some dependencies cannot be resolved which are actually in
> the target platform. The build works fine in eclipse using the same
> target platform.
>
> Is there a problem using directory entries or eclipse variables in the
> target platform?
> Do you have any advise how to solve this?
Re: Target platform not working correctly [message #904946 is a reply to message #904937] Wed, 29 August 2012 12:41 Go to previous messageGo to next message
Ambros Morscher is currently offline Ambros MorscherFriend
Messages: 28
Registered: June 2010
Junior Member
Thank you for your answer. That's what I currently have. I have in my hudson/buckminster workspace a project called support where i have devRCP.target in the targets folder. But i do not use a query to import the devRCP.target. Is this needed?
Re: Target platform not working correctly [message #905107 is a reply to message #904946] Wed, 29 August 2012 17:45 Go to previous messageGo to next message
Peter Nehrer is currently offline Peter NehrerFriend
Messages: 240
Registered: July 2009
Senior Member
Is your support project imported into buckminster's workspace? It's not
enough for it to be present on the disk; it must be imported as an
eclipse project into buckminster's (eclipse) workspace.

On 8/29/12 8:41 AM, Ambros Morscher wrote:
> Thank you for your answer. That's what I currently have. I have in my
> hudson/buckminster workspace a project called support where i have
> devRCP.target in the targets folder. But i do not use a query to import
> the devRCP.target. Is this needed?
Re: Target platform not working correctly [message #905334 is a reply to message #905107] Thu, 30 August 2012 07:28 Go to previous messageGo to next message
Oliver Koch is currently offline Oliver KochFriend
Messages: 40
Registered: June 2012
Member
Sorry Peter, hit the wrong button!

Ambros, maybe you need to use the repo2runnable task to transform the
target platform to a "resolvable" form. The destination should be the
directory containing the features/ and plugins/ structure.

I used that task too. Another hint is the flattenDependencies property
in the build.properties file

Am 29.08.2012 19:45, schrieb Peter Nehrer:
> Is your support project imported into buckminster's workspace? It's not
> enough for it to be present on the disk; it must be imported as an
> eclipse project into buckminster's (eclipse) workspace.
>
> On 8/29/12 8:41 AM, Ambros Morscher wrote:
>> Thank you for your answer. That's what I currently have. I have in my
>> hudson/buckminster workspace a project called support where i have
>> devRCP.target in the targets folder. But i do not use a query to import
>> the devRCP.target. Is this needed?
>
Re: Target platform not working correctly [message #911945 is a reply to message #904932] Wed, 12 September 2012 16:17 Go to previous message
Ambros Morscher is currently offline Ambros MorscherFriend
Messages: 28
Registered: June 2010
Junior Member
Thanks for the answers.
I will give it a try.
Sorry for the late response. I was offline for quite some time.
Previous Topic:Additional p2 utilization actor
Next Topic:Beginners questions
Goto Forum:
  


Current Time: Mon Nov 24 18:17:43 GMT 2014

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

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