Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » How do I alterProperties for site.p2?
How do I alterProperties for site.p2? [message #949988] Fri, 19 October 2012 14:19 Go to next message
Matthew Webber is currently offline Matthew WebberFriend
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 14: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 14:21 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

<alterActions>
</alterAction>



+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Re: How do I alterProperties for site.p2? [message #949998 is a reply to message #949992] Fri, 19 October 2012 14:27 Go to previous message
Matthew Webber is currently offline Matthew WebberFriend
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 14: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: Sat Nov 09 02:24:22 GMT 2024

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

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

Back to the top