Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » How do I alterProperties for site.p2?
How do I alterProperties for site.p2? [message #949988] Fri, 19 October 2012 10:19 Go to next message
Matthew Webber is currently offline Matthew Webber
Messages: 198
Registered: December 2010
Senior Member
I have a standard site feature with a standard create.product in a .cspex with associated ant build file. It all works ok, but now I want to force the site.p2 action to use target.os=target.ws=target.arch=*, instead of having to specify them in a buckminster.properties file.

I added the following to my .cspex, but it does not work - in fact, Buckminster cannot parse the file, and reports:
Project refresh on xxx.site failed: No component named xxx.site is known to Buckminster

<alterActions>
	<!-- Place your Action alterations here -->
	<public name="site.p2" actor="p2SiteGenerator">
		<alterProperties>
			<property key="target.os" value="*"/>
			<property key="target.ws" value="*"/>
			<property key="target.arch" value="*"/>
		</alterProperties>
	</public>
</alterActions>

So, what am I doing wrong? The syntax looks ok according to the BuckyBook and schemas.

Thanks
Matthew

[Updated on: Fri, 19 October 2012 10:26]

Report message to a moderator

Re: How do I alterProperties for site.p2? [message #949992 is a reply to message #949988] Fri, 19 October 2012 10:21 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis Huebner
Messages: 198
Registered: July 2009
Senior Member

<alterActions>
</alterAction>



+Dennis Hübner

--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Re: How do I alterProperties for site.p2? [message #949998 is a reply to message #949992] Fri, 19 October 2012 10:27 Go to previous message
Matthew Webber is currently offline Matthew Webber
Messages: 198
Registered: December 2010
Senior Member
Sorry, that was a copy/paste error (now corrected). The actual XML I was using was correct.
Thanks for the quick response anyhow.
To clarify: the XML tags are correct, but I get the problem as originally described.

[Updated on: Fri, 19 October 2012 10:28]

Report message to a moderator

Previous Topic:Selectively hide some source features in the update site
Next Topic:Building product for Eclipse 3.7+
Goto Forum:
  


Current Time: Wed Jul 23 12:12:17 EDT 2014

Powered by FUDForum. Page generated in 0.01478 seconds