Hi Filip

could you try to define the property with overwrite set to false in your slave script ? I'm using this from the command line but it may also work when invoking a slave script (to be tested)

see http://nant.sourceforge.net/nightly/latest/help/tasks/property.html

iv. Define a property, but do not overwrite the value if the property already exists (eg. it was specified on the command line).
<project name="property-example">
<property name="debug" value="true" overwrite="false" />
<echo message="debug: ${debug}" />
</project>

regards

Thibaut
--
[blog] http://www.dotnetguru2.org/tbarrere

2005/10/28, Filip Kratochvil <[EMAIL PROTECTED]>:
I need to overwrite property when calling another nant build script but
failing to do so. I have a master build file thet has a target with <nant>
task in it. Within the nant task I'm declaring
<properties><property....
this property has the same name as property in my slave build file, however
the property in the slave file doesn't get overwritten and keeps it default
value. I tried including 'readonly=false' and the property in the slave file
and 'overwrite=true' in the master file, but still no luck. Can anyone
suggest how to do this?
Thanks in advance




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users





Reply via email to