RE: Regular expression for deleting new lines with Ant

2009-11-19 Thread Moore, Kent
Will "fixcrlf" help with at least some of what you are trying to accomplish? http://ant.apache.org/manual/CoreTasks/fixcrlf.html -Original Message- From: christoforever [mailto:christofore...@gmail.com] Sent: Thursday, November 19, 2009 1:20 PM To: user@ant.apache.org Subject: Regular e

Re: Regular expression for deleting new lines with Ant

2009-11-19 Thread Scot P. Floess
If I remember correctly, someone had a similar question... To get around the issue they used one of the Java built in properties like ${line.separator} instead of \n for example... On Thu, 19 Nov 2009, christoforever wrote: I'm trying to remove all the new lines and/or lines full of tabs

Regular expression for deleting new lines with Ant

2009-11-19 Thread christoforever
I'm trying to remove all the new lines and/or lines full of tabs or white space from a file ... its not working however... I've used the following code. but I've got nothing. I originally posted on the coderanch forums (http://www.coderanch.com/t/471737/

Re: What was the ANT Command Line?

2009-11-19 Thread xjschwen
I have found a pretty good solution... Since has been posted a couple of times over the last few years here is what I found. When you run "ANT" from a windows box it actually runs ANT.bat from the %ANT_HOME%\bin\ folder. This is the wrapper script and they already "slurp" up the command line int

Re: replace version info in maven2 pom with ant

2009-11-19 Thread Scot P. Floess
OK - I must confess something here... I do a ton of XSLT work...and never knew you could just prefix with colon... That is nice to know! On Thu, 19 Nov 2009, Brian Agnew wrote: The colon means you're specifying a *local* name for the element - i.e. independent of the namespacing in the doc

Re: replace version info in maven2 pom with ant

2009-11-19 Thread Brian Agnew
The colon means you're specifying a *local* name for the element - i.e. independent of the namespacing in the document (which confuses matters otherwise). Brian > > Hello, > > thanks you for your answer. > > I have a question : why do you use the « : » character to browse the XML > document (cf

Re: replace version info in maven2 pom with ant

2009-11-19 Thread Fabien314000
Hello, thanks you for your answer. I have a question : why do you use the « : » character to browse the XML document (cf. path="//:project/:parent/:version/text()") in using the XmlTask task ? It seems that XPath language don't use this symbol. Thanks a lot, Fabien. Jhoomsharabi-2 wrote: