Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Order of precedence for ant actor general properties
Order of precedence for ant actor general properties [message #761372] Tue, 06 December 2011 11:25
Matthew Webber is currently offline Matthew Webber
Messages: 198
Registered: December 2010
Senior Member
I have defined an ant actor in my buckminster.cspec, which has some general properties (BuckyBook v0.8 p176,177):

<cs:public name="javadocs.create" actor="ant">
<cs:actorProperties>
<cs:property key="buildFile" value="buckminster.ant"/>
<cs:property key="targets" value="javadocs.create"/>
</cs:actorProperties>
<cs:properties>
<cs:property key="javadocs.dir" value="${workspace.root}/javadocs"/>
<cs:property key="javadocs.doctitle" value="Generic Data Acquisition (GDA)"/>
<cs:property key="javadocs.windowtitle" value="GDA JavaDocs"/>
</cs:properties>
</cs:public>


Using headless buckminster, I override the javadocs.dir property:
perform -Djavadocs.dir=/somwhere_else/javadocs builders.dawn#javadocs.create -vmargs -Xmx1024m

I expected the value of the javadocs.dir property to override the value in the cspec, but the command line value was ignored in favour of the default value.

Can command line property values override those in the ant actor definition?

Matthew

Previous Topic:Can't install Buckminster Headless
Next Topic:Illegal State in Profile Timestamp
Goto Forum:
  


Current Time: Thu Oct 23 07:58:07 GMT 2014

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

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