Re: While Looping in ANT

2005-07-22 Thread Ivan Ivanov
Hello Jacob, I am not quite sure I understand what do you mean. --- "Jacob, Anil - MWL" <[EMAIL PROTECTED]> wrote: > > Does anyone know how I implement a loop similar to a > while loop? Generally, ant-contrib[1] provides looping tasks like and . > > I want to keep checking to see if a partic

While Looping in ANT

2005-07-22 Thread Jacob, Anil - MWL
Does anyone know how I implement a loop similar to a while loop? I want to keep checking to see if a particular property is set in a target, once that target is executed it can be a while before the property is finally set, then once the property is set I can execute another target. I would like

Re: Regexp pattern list

2005-07-22 Thread Dave Brosius
Howdy, I have my own task that requires two FileSet sub-elements. In order to differentiate them from a naming point of view, i have created my own tasks that are empty subclasses of FileSet, merely for the reason of naming. It works fine, but was just wondering if this was the expected way to

Re: character replace

2005-07-22 Thread Chad Armstrong
got it- i tried 2, and 3, but not 4. thanks Alexey On 7/22/05, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote: > I am sorry, I did not read your email correctly. With Java regular > expressions you need to escape back slashes twice "". > > - Alexey. > > Chad Armstrong wrote: > > Nope, I tak

Re: character replace

2005-07-22 Thread Alexey N. Solofnenko
I am sorry, I did not read your email correctly. With Java regular expressions you need to escape back slashes twice "". - Alexey. Chad Armstrong wrote: Nope, I take it back, read my output wrong. Here is a little more info. Commented sections are outputs: -

Re: character replace

2005-07-22 Thread Chad Armstrong
Nope, I take it back, read my output wrong. Here is a little more info. Commented sections are outputs:

Re: character replace

2005-07-22 Thread Chad Armstrong
Oh man- *blushes* yes that worked. Thanks On 7/22/05, Alexey N. Solofnenko <[EMAIL PROTECTED]> wrote: > You do not have to escape back slashes in XML - just put "\r\n". > > - Alexey. > > Chad Armstrong wrote: > > Hello all, > > Today seems to be regular expression day on the list, so here is

Re: character replace

2005-07-22 Thread Alexey N. Solofnenko
You do not have to escape back slashes in XML - just put "\r\n". - Alexey. Chad Armstrong wrote: Hello all, Today seems to be regular expression day on the list, so here is my input ;) I have a block of code in my build script:

character replace

2005-07-22 Thread Chad Armstrong
Hello all, Today seems to be regular expression day on the list, so here is my input ;) I have a block of code in my build script:

Re: Regexp pattern list

2005-07-22 Thread Juergen Hermann
On Fri, 22 Jul 2005 15:46:39 -0400, Joyce Li wrote: >However, the keyword list grow very long, about 20 or 30 of them. I >tried to separete them into a few separate properties and merge them >into one so I don't have this extremely long line there. >Is there a better way for me to handle this?

Regexp pattern list

2005-07-22 Thread Joyce Li
Hi, I need to search through a set of source code for certain keywords pattern. Normally, I would use However, the keyword list grow very long, about 20 or 30 of them. I tr

RE: javacc on multiple files

2005-07-22 Thread Juergen Hermann
On Fri, 22 Jul 2005 11:47:45 -0700, Bill Rich wrote: >This is untested -- >You can use to generate a list of your *.jj files, then use > to place the list in a property, then use the ant-contrib > to iterate over the property passing each file in the list to javacc. btw, for iterates over files

RE: javacc on multiple files

2005-07-22 Thread Burgess, Benjamin
That may be a little overly complex. You can just use the for task from ant-contrib directly. Ben -Original Message- From: Bill Rich [mailto:[EMAIL PROTECTED] Sent: Friday, July 22, 2005 2:48 PM To: 'Ant Users List

Re: replaceregexp problem

2005-07-22 Thread Frank W. Zammetti
Thanks Chad, that did the trick perfectly! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Fri, July 22, 2005 2:43 pm, Chad Armstrong said: > Hi Frank, > The * looks a little weird below in the "match" string, * means 0 or > more of the

[Fatal Error] for parallel

2005-07-22 Thread Ninju Bohra
Hello all, Anybody ever get the following text displayed when running a parallel task: [foreach] [Fatal Error] :2:9247: Attribute "status" was already specified for element "task". It did not "fail" the build, but it does not look safe. Any ideas, Ninju _

RE: javacc on multiple files

2005-07-22 Thread Bill Rich
This is untested -- You can use to generate a list of your *.jj files, then use to place the list in a property, then use the ant-contrib to iterate over the property passing each file in the list to javacc. HTH Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: replaceregexp problem

2005-07-22 Thread Juergen Hermann
On Fri, 22 Jul 2005 14:36:22 -0400 (EDT), Frank W. Zammetti wrote: regex != glob ==> s/*/.*/ >Hi all... having some trouble getting a regex replace to work... I have a >JSP which contains the following line: >Version 3.0Build >306301/01/2005 >I have a task in my build script like so: >match="<

Re: replaceregexp problem

2005-07-22 Thread Chad Armstrong
Hi Frank, The * looks a little weird below in the "match" string, * means 0 or more of the preceding character, which I don't think is what you want. Try it with .* instead and see if that helps. Chad On 7/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Hi all... having some trouble getti

replaceregexp problem

2005-07-22 Thread Frank W. Zammetti
Hi all... having some trouble getting a regex replace to work... I have a JSP which contains the following line: Version 3.0Build 306301/01/2005 I have a task in my build script like so: But, nothing is getting replaced. The file exists and is found, and all the properties are properly define

javacc on multiple files

2005-07-22 Thread eph1v3t8-antu5112
Hi, I have a directory of files to compile with javacc (note the extra "c"), but it looks like the javacc optional task only lets you specify one file. I would like to be able to specify the parent directory, and have ant run javacc on all of the *.jj files in that directory. Is there any

AW: Re: replacing a token in a property value

2005-07-22 Thread lists
Thanks. jacques > >antcontrib has a task to do regex replacements on property values: >href="http://ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html";>http:/ >/ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html > >-- >Jeffrey E. Care ([EMAIL PROTECTED]) >WebSphere v7 Release E

Re: replacing a token in a property value

2005-07-22 Thread Jeffrey E Care
antcontrib has a task to do regex replacements on property values: http://ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) [EMAIL PROTECTED] wrote on 07/22/2005 01:01:16

replacing a token in a property value

2005-07-22 Thread lists
Hi Ant Experts, I want to do something simple. I have a property with a given value, i.e. "23/65" and I want to replace the "/" with a string, i.e. "slash". I expected to find a task that would define my a new property with the result of the replacement: i.e. -> so I can use the value "23sla

Re: Moving certain folders with a folder

2005-07-22 Thread David A. Bartmess
What are you experiencing when you execute the tasks below? I use something very similar to this myself, and works fine... At 05:44 AM 7/22/2005, you wrote: Hi, How do you move only certain folders with a folder? Tried:

RE: Moving certain folders with a folder

2005-07-22 Thread Burgess, Benjamin
There is some good information for this available at http://ant.apache.org/manual/dirtasks.html Basically you have to add / or /** after xml and txt I think. Ben -Original Message- From: Michael Owen [mailto:[EMAIL PROTECTED] Sent: Friday, July 22, 2005 7:45 AM To: user@ant.apache.org S

Ludovic Lecanuet/CLEARSTREAM/GDB is out of the office.

2005-07-22 Thread llecanuet . cs
Ludovic Lecanuet will be out of the office starting 22/07/2005 and will be returning on 08/08/2005. I will respond to your message when I return. - Visit us at http://www.clearstream.com IMPORTANT

Moving certain folders with a folder

2005-07-22 Thread Michael Owen
Hi, How do you move only certain folders with a folder? Tried: Any help? Mike --

Re: which build tool yields fastest incremental builds? GNU make , Jam , Ant or Scons ?

2005-07-22 Thread James Fuller
>so anybody knows which one is fastest among Jam,Ant and Scons ? > > the differences in perf are small between the three versus other bottlenecks, for example does your current build system do the following; - smart copies, e.g. only copy things that need copying - smart testing, e.g. only t