Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » [solved] Change site.p2 output path
[solved] Change site.p2 output path [message #725284] Wed, 14 September 2011 12:34 Go to next message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 250
Registered: July 2009
Location: Graz, Austria
Senior Member
The action definition for site.p2 looks like this:

        <cs:public name="site.p2" actor="p2SiteGenerator">
            <cs:prerequisites>
                <cs:attribute name="site.feature.exports" alias="site" filter="(&amp;(!(site.pack200=true))(!(site.signing=true)))"/>
                <cs:attribute name="site.packed" alias="site" filter="(site.pack200=true)"/>
                <cs:attribute name="site.signed" alias="site" filter="(&amp;(site.signing=true)(!(site.pack200=true)))"/>
                <cs:attribute name="manifest" alias="site.definer"/>
                <cs:attribute name="product.configuration.exports" alias="product.configs"/>
            </cs:prerequisites>
            <cs:products base="${buckminster.output}/site.p2/" upToDatePolicy="ACTOR"/>
        </cs:public>

I see with a cspex file I could alter that action. Is there a way to change the base parameter of the product to lets say: "${somewhere.else}/"?

How would the cspex look like?

thanks
Christian

[Updated on: Tue, 20 September 2011 07:35]

Report message to a moderator

Re: Change site.p2 output path [message #727008 is a reply to message #725284] Tue, 20 September 2011 07:35 Go to previous message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 250
Registered: July 2009
Location: Graz, Austria
Senior Member
the Path can be changed by using following buckminster.cspex:

    <?xml version="1.0" encoding="UTF-8"?>  
    <cspecExtension xmlns:com="http://www.eclipse.org/buckminster/Common-1.0"  
                        xmlns="http://www.eclipse.org/buckminster/CSpec-1.0">  
      
        <alterActions>  
            <public name="site.p2">  
                <products base="${updatesite.destination}/" upToDatePolicy="ACTOR"/>  
            </public>  
        </alterActions>   
    </cspecExtension>  


Where updatesite.destination is a property in the buckminster properties file. I posted a blog entry about this:
Previous Topic:Random errors in resolve step
Next Topic:Buckminster does not materialize the source for all plugins
Goto Forum:
  


Current Time: Tue Mar 19 04:25:49 GMT 2024

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

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

Back to the top