Re: RE: how do i use propertyfile on windows?

2007-02-12 Thread Antoine Levy-Lambert
Hello teknokrat, the fact that c:/ is written as c\:/ in a property file belongs to the spec of properties in Java. The : character is always escaped in property files. Do you use the property file that you generate using also with a Java program, or is it consumed by something else, such as a

RE: how do i use propertyfile on windows?

2007-02-12 Thread Anderson, Rob (Global Trade)
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of teknokrat > Sent: Monday, February 12, 2007 12:05 PM > To: user@ant.apache.org > Subject: how do i use propertyfile on windows? > > When ever I use the propertyfile task to add a filepath on > windows it escapes the

how do i use propertyfile on windows?

2007-02-12 Thread teknokrat
When ever I use the propertyfile task to add a filepath on windows it escapes the colon in front of the drive e.g. c:/ turns to c\:/ which completely messes up the path. How do I make it stop escaping characters? thanks - To

Re: ant run command piping and get out put to value

2007-02-12 Thread Robert Clark
On Monday February 12, 2007, "Peter Reilly" <[EMAIL PROTECTED]> wrote: > On 2/12/07, James Abley <[EMAIL PROTECTED]> wrote: > > Probably something like: > > > > > > > > > > > > > > > > or: > > > > > (note: in the second example, one does not need to us

Re: Eclipse, and and

2007-02-12 Thread Steve Loughran
Dominique Devienne wrote: On 2/12/07, Steve Loughran <[EMAIL PROTECTED]> wrote: Netbeans 6.0m6 is pretty nice, ant1.7.0 is in there already, etc,etc. But eclipse, well, it seems to have problems with build files that use It seems to me that once you create an eclipse project from an existing b

Re: AW: using * in arg of exec task

2007-02-12 Thread Martin M
Hello Jan, thank you for your response. As I don't want to use so many filesets, I changed my task to make the shell as executable and call the command as argument. This approach also works for me. So my task looks like this: As you've already mentioned the command above is working due to t

Re: Eclipse, and and

2007-02-12 Thread Dominique Devienne
On 2/12/07, Steve Loughran <[EMAIL PROTECTED]> wrote: Netbeans 6.0m6 is pretty nice, ant1.7.0 is in there already, etc,etc. But eclipse, well, it seems to have problems with build files that use It seems to me that once you create an eclipse project from an existing build file, it copies over y

Eclipse, and and

2007-02-12 Thread Steve Loughran
I've been playing with Ant under netbeans and eclipse this weekend, as the final bit of work for the forthcoming Ant in Action book. Netbeans 6.0m6 is pretty nice, ant1.7.0 is in there already, etc,etc. But eclipse, well, it seems to have problems with build files that use It seems to me

Re: Python implementation for Ant

2007-02-12 Thread Steve Loughran
bill/wilandra wrote: Hmmm, a basic tenet of Prolog is that the rules do not have any side effects. That is why Prolog can back track like it does. In a build process there are many side effects in creating, modifying, and copying/moving files. These side effects could become impossible to restore

Re: Question about debug output

2007-02-12 Thread Steve Loughran
Jon Rue wrote: Thanks but I know its not finding that class hence the error. I'm trying to figure out why there are differences in running Ant from within the IDE and running it from command line (which works flawlessly). Can someone answer my original question concerning the class loader? w

AW: using * in arg of exec task

2007-02-12 Thread Jan.Materne
You're running into the illusion that the * is resolved by the operating system. It is resolved by the shell (cmd, command, csh, ...). Does your script want to get a '*' as argument (Class*.class) and it does processing for its own? Then just use the Ant implementation you have. But if you need

AW: using * in arg of exec task

2007-02-12 Thread Jan.Materne
>-Ursprüngliche Nachricht- >Von: Martin M [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 12. Februar 2007 11:08 >An: user@ant.apache.org >Betreff: using * in arg of exec task > > >Hi all, > >I would like to call a helper script in my ant-task, but >somehow I dont't >get it running. > >I

using * in arg of exec task

2007-02-12 Thread Martin M
Hi all, I would like to call a helper script in my ant-task, but somehow I dont't get it running. I would like to call "myCript /path/to/classes/Class*.class /path/to/otherClasses/ClassImpl*.class" I have defined this exec task: Running the task, ant is complaining that the classes don't e

Re: ant run command piping and get out put to value

2007-02-12 Thread Peter Reilly
On 2/12/07, James Abley <[EMAIL PROTECTED]> wrote: Probably something like: That will not work, the pipe etc are implemented by a shell, so try something like the following: or: (note: in the second example, one does not need to use sin

Re: ant run command piping and get out put to value

2007-02-12 Thread James Abley
Probably something like: Mr raju varghese wrote: So how can i do it. tried the following way but it does not recognize the pipe sybmol. error is like Unexpected text ""|"" | --- Ninju Bohra <[EMAIL PROTECTED]> wrote: Hello, The task allows you execute any abritary