Bug with property/propertyfile ?

2003-07-18 Thread Daniel Joshua
Hi all, I am not really sure if this is a bug actually. I used to write to a file, and then read from that file using , and write again, then read again, etc. However, after writing to the file and reading from it, the value that is read is still the original value sometimes, and not the recent

Ant Tasks [was: Re: How to return values from targets?]

2003-07-16 Thread Daniel Joshua
th the 'if' and 'var' tasks in the same distribution, will do almost what you're asking. It'll be more like: target A target B do stuff do other stuff target C do stuff do other stuff target D do stu

How to return values from targets?

2003-07-16 Thread Daniel Joshua
Hi, Whats the best way to return values from targets? Here's my scenario in PseudoAnt: target A antcall B antcall C target B do stuff returnValue = antcall D if (returnValue = true) then do other stuff target C do stuff returnValue = antcall D if (returnValue = true) then

How do I store the parent directory name into a property?

2003-07-09 Thread Daniel Joshua
Hi all, Is there a way to store the parent directory name into a property? This is what I tried: ... but the result was ... "The parent directory name is C:/Parent" ... instead of what I wanted, which is ... "The parent directory name is Parent" Any Suggestions? Regards, Daniel --

How to set -quiet using build.xml

2003-07-01 Thread Daniel Joshua
Hi all, I am new to the list. How do I set the '-quiet' in the build.xml? Note: I do not wish to type the command-line 'ant -quiet'. Also, I do not want to use a .bat file. Thanks in advance. Regards, Daniel - To unsubscri