Re: How to convert back slashes to forward slashes

2007-08-09 Thread Geoffrey Mitchell
Peter Reilly wrote: On 8/9/07, broken connection <[EMAIL PROTECTED]> wrote: Hi Friends, I take a directory path input from the end-user and store it in a property,for example if its windows,it stores it as: log4j.location=C:\tomcat\logs This is not a valid property format: see http:

Re: Quirky behaviour in how macrodef attribute values are resolved?

2007-08-09 Thread Peter Reilly
This is due to http://issues.apache.org/bugzilla/show_bug.cgi?id=42046 (properties get double-expanded in macrodefs) Peter On 8/9/07, Davy Toch <[EMAIL PROTECTED]> wrote: > I have the following script: > > > > > > prop2 as property (from target) : ${prop2} > > > > >

Quirky behaviour in how macrodef attribute values are resolved?

2007-08-09 Thread Davy Toch
I have the following script: prop2 as property (from target) : ${prop2} prop2 as property (from macrodef) : ${prop2} prop2 as attribute (from macrodef) : @{prop2} The output is: D:\tmp>ant Buildfile: build.xml test: [echo] prop2 as property

Re: How to convert back slashes to forward slashes

2007-08-09 Thread Peter Reilly
On 8/9/07, broken connection <[EMAIL PROTECTED]> wrote: > Hi Friends, > I take a directory path input from the end-user and store it in a > property,for example if its windows,it stores it as: > > log4j.location=C:\tomcat\logs This is not a valid property format: see http://java.sun.com/j2se/1.5.0/

RE: Problems with loading from ant.

2007-08-09 Thread Srikrishna_Parthasarathy
Steve If I use ant 1.6.5 then it works . I don't know why ? Will it be a bug or something different has to be done. srikrishna -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 12:49 PM To: user@ant.apache.org Subject: RE: Problems with

Re: How to convert back slashes to forward slashes

2007-08-09 Thread broken connection
perl ?? I don' t have perl installedso how would the exec call that perl function??? On 8/9/07, Chun Ji <[EMAIL PROTECTED]> wrote: > > > If this works for you, maybe you can add an "exec" in your ant xml file. > > " perl -pi -e 's/\\//g' " > > > -c > > > > -Original Message- > Fro

RE: How to convert back slashes to forward slashes

2007-08-09 Thread Chun Ji
If this works for you, maybe you can add an "exec" in your ant xml file. " perl -pi -e 's/\\//g' " -c -Original Message- From: broken connection [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 10:40 AM To: Ant Users List Subject: How to convert back slashes to forward

Re: How to convert back slashes to forward slashes

2007-08-09 Thread glenn opdycke-hansen
I believe you need to use the task, see http://ant.apache.org/manual/CoreTasks/pathconvert.html Below is from an example: will generate the path shown below and store it in the property named wl.path.unix. /weblogic/lib/weblogicaux

How to convert back slashes to forward slashes

2007-08-09 Thread broken connection
Hi Friends, I take a directory path input from the end-user and store it in a property,for example if its windows,it stores it as: log4j.location=C:\tomcat\logs And that messes up everything.Because \t is interpreted as tab. So, how can i change the backward slashes(windows convention) to forward

RE: Problems with loading from ant.

2007-08-09 Thread Srikrishna_Parthasarathy
Thanks for your response. Still it is not loading definitions..same problem.I don't know.I don't get the I/o exception...as it had the bad password. C:\projects\springapp>ant -verbose install Apache Ant version 1.7.0 compiled on December 13 2006 Buildfile: build.xml Detected Java version: 1.5 in:

Re: Problems with loading from ant.

2007-08-09 Thread Steve Loughran
[EMAIL PROTECTED] wrote: We are using Ant 1.7 and BEA's jdk version . I am getting the following when I run a particular target . Any pointers on why this is happening ...or any quick workaround ? you are getting a 401 response from a server. Not an ant problem, more one of server security

Problems with loading from ant.

2007-08-09 Thread Srikrishna_Parthasarathy
We are using Ant 1.7 and BEA's jdk version . I am getting the following when I run a particular target . Any pointers on why this is happening ...or any quick workaround ? Eagerly looking forward for responses. C:\projects\springapp>ant -verbose install Apache Ant version 1.7.0 compiled

Re: Changing directory structure in copy

2007-08-09 Thread David Weintraub
I switched to the regexp mapper. That worked: On 8/9/07, David Weintraub <[EMAIL PROTECTED]> wrote: > Nope: Same issue. Finds the directories, but doesn't copy any files over. > > test: >

Re: Changing directory structure in copy

2007-08-09 Thread David Weintraub
Nope: Same issue. Finds the directories, but doesn't copy any files over. test: [mkdir] Created dir: /solbright/tools/build/ADS02/neo/test [copy] Copied 10 empty directories to 10 empty directories On 8/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Try > > instead of > > > J