Re: How fail main ant (parent bulild.xml) to fail when custom task fails

2009-12-03 Thread Raja Nagendra Kumar
Hi, Any info on this please.. I keep seeing some thing like this.. F:\tejasoft\work\foundation\common\tools\ant>ant Buildfile: build.xml [echo] File to Import: JSECommon.xml clean: doClean: [delete] Deleting directory F:\tejasoft\work\foundation\common\tools\ant\buil d src: [CFGProps

RE: Dereferencing property files

2009-12-03 Thread Dalton, Tom
As a quick note, the FAQ should probably say: How can I do something like (double expanding the property)? BEFORE ANT 1.6, you can not. I'm very sorry but my work's network arrangements are such that I cannot easily submit a patch for the FAQ file, else I would. Thanks again, Tom -Origi

RE: Dereferencing property files

2009-12-03 Thread Dalton, Tom
Jan, Thanks - that is exactly what I need... I'm sorry I did not see that sooner! Is there any chance of this propertycopy-by-macro being turned into a core task in the future? I am surprised no one has done this... Cheers Tom -Original Message- From: jan.mate...@rzf.fin-nrw.de [mailt

RE: Custom Task using Groovy

2009-12-03 Thread Murray, Mike
Resolved. It works fine to code a custom task with Groovy and no setter methods need to be coded. The "trick" is to not have a macrodef with the same name as your task. When I meant to call my macrodef, it was calling my task directly. So the arguments that are passed to my task by my macrode

Re: Ho Do I ftp put files only if the don't exist at target

2009-12-03 Thread Mark Salter
Nordmeyer wrote: > With ANT? > How? http://ant.apache.org/manual/CoreTasks/sync.html might be just what you are after. The top level for the 'fm' is http://ant.apache.org/manual/ , one for your bookmarks perhaps. Regards, -- Mark --

AW: Dereferencing property files

2009-12-03 Thread Jan.Materne
Do you mean this: http://ant.apache.org/faq.html#propertyvalue-as-name-for-property ? Jan >-Ursprüngliche Nachricht- >Von: Dalton, Tom [mailto:tdal...@hp.com] >Gesendet: Donnerstag, 3. Dezember 2009 10:39 >An: Ant Users List >Betreff: RE: Dereferencing property files > >Should I assume

RE: Dereferencing property files

2009-12-03 Thread Dalton, Tom
Should I assume that this is impossible in Ant? This seems like a major limitation... Tom -Original Message- From: Dalton, Tom Sent: 01 December 2009 12:05 To: user@ant.apache.org Subject: Dereferencing property files Hi, I have a property file with an entries like: atk-1.26.0.exporte