XML

2009-03-09 Thread Guy Catz
Hi. Is it possible to iterate over a XML file? How can this be done? Thanks, Guy.

how much time an action took

2008-08-17 Thread Guy Catz
it is possible to tell how much time took a target to run, or a process within a target, like exec? something like ... the action took ${myTime} ... is there something like this available?

make a string lowercase

2008-08-17 Thread Guy Catz
Is it possible to make a string lowercase (or uppercase)? Something like ${myVar} can be "Release", while after calling , ${newVar} will be set to "release". Does something like this exist? Thanks.

how can tell if a property is set?

2008-08-14 Thread Guy Catz
how can tell if a property is set? I've tried using contrib this - but, if ${var} was never been set, the result is actually FALSE... I need something like - ... [http://www.waves.com/Objects/Images/Others/signature_logo.jpg] Guy Catz Release Manager Waves Audi

is a property defined?

2008-06-29 Thread Guy Catz
How can I tell if a property is defined? I've tried from contrib like this - if .. ${var} = "" ... That's fine for properties which was set to "", but not for properties who haven't set at all. Next, I've tried ${length.var}="0", but I always get length.var = 6 because it didn't open the ${va

calling ant with parameters

2008-06-26 Thread Guy Catz
I would like to set a parameter to a ant. Something like this from command-line - ANT compile debug ANT compile release or ANT testProducts full ANT testProducts debugOnly the target Compile will "catch" the first parameter and will act as needed. how can I make this to work? how can I call a

calling ANT or Depends?

2008-06-25 Thread Guy Catz
I want to run the most trivial build process - init, and - clean, compile, sendReport which depend on init. Now, I've wrote a MAIN target - The problem - init is being called three times. I know that the best way to do it is but the problem is that I have to do somethin

help with For task (contrib)

2008-06-25 Thread Guy Catz
hey guys. I'm trying to use the For task with contrib, but when running, it says that it doesn't familiar with For !!! Letter @{letter} BUILD FAILED /p4client/BuildMachine/Mac/Scripts/build-buildAllCC.xml:98: Problem: failed to create task or type "for" Cause: Th

Depends="init" problem

2008-06-16 Thread Guy Catz
I have several targets, all depends on init - ... ... ... and of course ... Now, I also have a target which call a, then b and then c. But when I run that ANT, the output is something like this - running - successful running -successful running - successful running -

problem

2008-06-15 Thread Guy Catz
Hi. I want to run an exec and I want its output to be directed to /dev/null. But, when I run "myexec -r -a > /dev/null" I get an error saying that the engine tried to run 3 lines - myexec -r -a > /dev/null and not all in one line. How can I make it happened? I'm using the task. Thanks.

send mail in a HTML format

2008-06-10 Thread Guy Catz
Hey guys, How do I use the mail task to send in a HTML format? There seems to be a mimetype property. Is this what I need? the manual doesn't say how to use it. Please advise. Thanks.

too much log for p4sync command

2008-05-29 Thread Guy Catz
hey guys, I'm running a p4sync command on a huge branch and the log is flooded with the command's output. is there a way of "turning the log off" for that command? the problem is that I'm running this command from ANT, which is called by the CC. I've tried already calling the ANT with quiet mod

RE: Replace string in file

2008-05-15 Thread Guy Catz
le by removing the *.template suffix: Is this what you're looking for? On Mon, May 12, 2008 at 9:18 AM, Guy Catz <[EMAIL PROTECTED]> wrote: > hey guys, > > Is it possi

Replace string in file

2008-05-12 Thread Guy Catz
hey guys, Is it possible to replace a string in an existing file? Thanks, Guy.

RE: writing to XML

2008-05-01 Thread Guy Catz
- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01, 2008 12:22 PM To: Ant Users List Subject: Re: writing to XML Guy Catz wrote: > Hi. > > What I actually need, is to write data into a XML file, so I will be > able to render this XML to a HTML as a report.

RE: writing to XML

2008-04-30 Thread Guy Catz
List Cc: user@ant.apache.org Subject: Re: writing to XML Where are you getting the XML node from ? XMLTask ( http://www.oopsconsultancy.com/software/xmltask/ ) may do what you require. Brian On Wed, April 30, 2008 17:10, Guy Catz wrote: > hi guys, > > I'm trying to write a node to

writing to XML

2008-04-30 Thread Guy Catz
hi guys, I'm trying to write a node to XML file. Is it possible to do that from ANT? something like the XMLProperty which read from XML, just the opposite.. :) Thanks. Guy.