Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364085 - Resolve error for platform dependent fragments.
Summary: Resolve error for platform dependent fragments.
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 16:19 EST by Thomas F CLA
Modified: 2019-02-25 14:39 EST (History)
2 users (show)

See Also:


Attachments
bug and env description for reproduction (1.76 KB, text/plain)
2011-11-17 16:20 EST, Thomas F CLA
no flags Details
error log containing the build result (5.19 KB, text/plain)
2011-11-17 16:21 EST, Thomas F CLA
no flags Details
source code of siplified test project (188.39 KB, application/octet-stream)
2011-11-17 16:25 EST, Thomas F CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas F CLA 2011-11-17 16:19:41 EST
Build Identifier: buckminster headless_1.4.0.v20110915-1108

Buckminster seems no to resolve plugin fragments included in features for platforms other than those the buckminster instance is running on. The import command
seems to resolve the plugins. But the build command seems not (see warning). If the site.p2 action needs the plugin for repository build, the above warning results in an error.
See attached error log.
The problem is simplified for reproduction using plugins without any functionality.

Reproducible: Always

Steps to Reproduce:
1. build headless out of jenkins using buckminster blugin
1.1 checkout the project (see attached code) into ${WORKSPACE}/testproj
1.2 create buckminster action
     import '${WORKSPACE}/testproj/my.test.site/site.cquery'
     build -c -D target.os=* -D target.ws=* -D target.arch=*
     perform -D target.os=win32 -D target.ws=* -D target.arch=* my.test.site#site.p2
     perform -D target.os=win32 -D target.ws=win32 -D target.arch=x86 -D tprepo='file:///C:/workspace/serviceTargetPlatform/repo' my.test.site#create.product.zip
1.3 run job
Comment 1 Thomas F CLA 2011-11-17 16:20:28 EST
Created attachment 207182 [details]
bug and env description for reproduction
Comment 2 Thomas F CLA 2011-11-17 16:21:04 EST
Created attachment 207183 [details]
error log containing the build result
Comment 3 Thomas Hallgren CLA 2011-11-17 16:23:47 EST
Seems to me you don't pass the -D target.os=* -D target.ws=* -D target.arch=* to the import command. Do you have them declared as properties in your cquery?
Comment 4 Thomas F CLA 2011-11-17 16:25:04 EST
Created attachment 207184 [details]
source code of siplified test project
Comment 5 Thomas F CLA 2011-11-17 16:42:35 EST
O.K. great that was it... sorry for the bug.
Unfortunately i didn't found any hint that the platform has to be given at import time already (maybe should be added to definitive guide next time). Over 300 views on eclipse forum thread didn't bring answer as well...
Comment 6 Henrik Lindberg CLA 2011-11-17 19:40:35 EST
(In reply to comment #5)
> O.K. great that was it... sorry for the bug.
> Unfortunately i didn't found any hint that the platform has to be given at
> import time already (maybe should be added to definitive guide next time). Over
> 300 views on eclipse forum thread didn't bring answer as well...

I would be grateful if you could log an enhancement request for the documentation with a reference to where in the documentation you would like to see something added. (Where did you try to find relevant information for what you were doing).