From: Nielsen.Allan R. D. A. <AN...@km...> - 2005-10-28 05:23:53
|
Filip, I'm testing for property::exists in the child build script; If the property is defined in the master, that value is inherited by the child. It works, but I can't say if there is a better way to do it. Best regards, allan Example (child): <property =20 name =3D "ver.conf" =20 value =3D "0.0.0.0"=20 unless =3D "${property::exists('ver.conf')}"=20 /> -----Oprindelig meddelelse----- Fra: nan...@li... = [mailto:nan...@li...] P=E5 vegne af Filip = Kratochvil Sendt: 28. oktober 2005 03:24 Til: nan...@li... Emne: [Nant-users] overwriting properties when calling anothe build = script I need to overwrite property when calling another nant build script but=20 failing to do so. I have a master build file thet has a target with = <nant>=20 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=20 the property in the slave file doesn't get overwritten and keeps it = default=20 value. I tried including 'readonly=3Dfalse' and the property in the = slave file=20 and 'overwrite=3Dtrue' 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 Nan...@li... https://lists.sourceforge.net/lists/listinfo/nant-users _________________________________________________________________________= ______________ www.kmd.dk www.kundenet.kmd.dk www.eboks.dk www.civitas.dk = www.netborger.dk www.organisator.dk Hvis du har modtaget denne mail ved en fejl vil jeg gerne, at du = informerer mig og sletter den. KMD skaber it-services, der fremmer effektivitet hos det offentlige, = erhvervslivet og borgerne. If you received this e-mail by mistake, please notify me and delete it. = Thank you. Our mission is to enhance the efficiency of the public sector and = improve its service of the general public.=20 |