Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » XTEXT, Buckminster and site.p2 w/o source(How to tell that the p2update should not include sources)
XTEXT, Buckminster and site.p2 w/o source [message #1232184] Thu, 16 January 2014 11:32 Go to next message
Uli Merkel is currently offline Uli MerkelFriend
Messages: 248
Registered: June 2013
Senior Member
If I use "Continuous Integration" for the Buckminster support and run Buckminster with "site.p2" the Sources are added to the installation.

Where can I specify to excluse these sources?

Is this something generated by XTEXT?

I tried to read the contents of the .site and .buckminster projects,
but have not found there the composition is specified.

Perhaps someone has a hint for me?

TIA, Uli
Re: XTEXT, Buckminster and site.p2 w/o source [message #1232315 is a reply to message #1232184] Thu, 16 January 2014 17:00 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1770
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 16/01/2014 12:32, Uli Merkel wrote:
> If I use "Continuous Integration" for the Buckminster support and run
> Buckminster with "site.p2" the Sources are added to the installation.
>
> Where can I specify to excluse these sources?
>
> Is this something generated by XTEXT?
>
> I tried to read the contents of the .site and .buckminster projects,
> but have not found there the composition is specified.
>
> Perhaps someone has a hint for me?

Hi Uli

this is the default behavior of buckminster: it also generates source
bundles and source features.

You can disable this by setting the property

cbi.include.source=false

You can store such property in a properties file and then pass such file
during the site.p2 action. For instance, something like

perform -P
${projects.location}/my.releng.project/myproperties.properties
".....#site.p2"

or pass it from ant.

You can find some of my buckminster posts here

http://www.lorenzobettini.it/tag/buckminster/

in particular, this one describes the Xtext wizard you used:

http://www.lorenzobettini.it/2012/11/building-xtext-projects-with-buckminster/

hope this helps
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: XTEXT, Buckminster and site.p2 w/o source [message #1232572 is a reply to message #1232315] Fri, 17 January 2014 08:35 Go to previous messageGo to next message
Uli Merkel is currently offline Uli MerkelFriend
Messages: 248
Registered: June 2013
Senior Member
Hi Lorenzo,

thaks a lot for that tip.

Only to be better prepared for the future,
I will try to find it in the buckminster documentation.

Thanks a lot,
Uli

P.S. I use your book already and it is really helpful,
not only in the buckminster chapter.
There was an example how to use a customised properties file.
Re: XTEXT, Buckminster and site.p2 w/o source [message #1232594 is a reply to message #1232572] Fri, 17 January 2014 09:44 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1770
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 17/01/2014 09:35, Uli Merkel wrote:
> Hi Lorenzo,
>
> thaks a lot for that tip.
>
> Only to be better prepared for the future,
> I will try to find it in the buckminster documentation.
>
> Thanks a lot,
> Uli
>
> P.S. I use your book already and it is really helpful, not only in the
> buckminster chapter.
> There was an example how to use a customised properties file.

I'm happy to know that! :)

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:Error while upgrading xtext 2.1 to 2.5 in Eclipse 3.7
Next Topic:Warning 'The imported package is not on the classpath...' after update
Goto Forum:
  


Current Time: Fri Nov 27 18:55:46 GMT 2020

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

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

Back to the top