Problem importing product with headless Buckminster 3.5 [message #497130] |
Thu, 12 November 2009 09:58  |
Eclipse User |
|
|
|
Hi!
I have a problem with resolving a product using headless Buckminster 3.5.
I have a product which is completely feature based and only uses plugins and features.
So most of the Buckminster files are generated for me.
I only have a very simple cspec and rmap.
Using headless Buckminster 3.4 (1.1.340.r10097) I can resolve and build the product.
Using headless Buckminster 3.5 the import action only resolves and materializes the plugin with the product file.
No dependencies are resolved or materialized.
I can, however, successfully resolve and materialize the feature that the product uses
if I specify the feature directly as argument to the import action.
Has something changed between headless Buckminster 3.4 and 3.5?
Shouldn't I be able to use the same cquery and rmap?
Is the problem possibly related to the fact, that my product is in a plugin and not a feature?
If this is the case, is this an intended change of behavior between 3.4 and 3.5?
Thanks in advance.
/John.
|
|
|
|
|
|
Re: Problem importing product with headless Buckminster 3.5 [message #499229 is a reply to message #497130] |
Fri, 20 November 2009 08:48  |
Eclipse User |
|
|
|
Hi!
Regarding Q3 in my previous post, I have come a bit further.
I'm still confused about the cspecs no longer being generated during import/resolve.
I have previously found it useful to look in those.
But I have found out that the build process still works (I can e.g. perform feature.exports)
so they must be generated on the fly but not stored on disk?
More importantly I must then conclude that com.my.company.app.launch2#create.my.product.id
is no longer generated for me, which is really a step back compared to 3.4.
In the BuckyBook there's not a lot of help for this particular issue
and chapter 15 "Building RCP Products" is not written yet (I'm looking forward to that).
But I did find "Building an RCP application with hudson" ( http://wiki.eclipse.org/Building_an_RCP_application_with_hud son_%28Buckminster%29).
I don't use the Buckminster plugin for Hudson (yet) since it became available after our build script was made.
By taking the build folder with the ANT script from the Mailapp tutorial and the buckminster.cspex,
I'm now able to build my test case product and have my zip file created and it executes fine.
I think it's really nice that I can now have the zip file generated for me.
The only glitch is that it also includes an eclipsec.exe.
The only other issue is that the buckminster.cspex contains information,
that in 3.4 was extracted from the product file.
I assume that <path path="MailApp/"/> and <path path="MailApp.zip"/>
can use the value from <launcher name="mailapp"> in the product file?
But is there a way to specify this in buckminster.cspex?
If not I must try to see if the two values supports properties.
Hopefully <property key="iu" value="org.eclipse.buckminster.tutorial.mailapp.product"/> supports using a property.
The profile <property key="profile" value="MailProfile"/> has really no value for my case,
since we're not allowed to distribute a product that updates itself from an update site.
It would be best for me if it could be taken from the launcher name in the product file.
Now I just need to make my real product build. For some reason our custom builder doesn't work (again).
I really miss a short note on "Important changes between Buckminster 3.5 and 3.4".
It would be excellent to have on the Buckminster sites front page (http://wiki.eclipse.org/Buckminster).
Since there's no such note I assumed that I could just build my product as is, but unfortunately not.
My product must be in a feature and there must only be one product file in the feature.
I would really like to know if this is intentional?
I would assume that if I can export the product from Eclipse, then Buckminster should be able to build it.
But that appears not to be the case?
Our major reason to shift to 3.5 is the better support for target platform,
which I expect to be better than 3.4. We're now in a situation where we need to make a product,
which is the basic platform, and then individually features should be build by different teams.
These features are of course dependent on the basic platform, which I expect to make available
as part of the target platform. For development purposes I also think the P2 support will come in handy.
Hopefully I don't run into too many problems with that. 
Thanks.
/John
|
|
|
Powered by
FUDForum. Page generated in 0.14958 seconds