RE: replace and replaceregexp - Multi line tokens or substitution expressions ?

2007-03-27 Thread Rebhan, Gilbert
Hi, David i would go with regex and ruby, i.e. = with a given file test.html like that : foobar Delete me. foobaz and an antscript like that :

Re: replace and replaceregexp - Multi line tokens or substitution expressions ?

2007-03-27 Thread Martin Gainty
David- http://ant.apache.org/manual/OptionalTasks/replaceregexp.html replace OldProperty with NewProperty in all *.properties file in current folder HTH, Martin-- --- This e-mail message (including attachme

replace and replaceregexp - Multi line tokens or substitution expressions ?

2007-03-27 Thread David Jacobsen
Hi, I’m a techwriting who has been using ANT for Search/Replaces operations across loads of HTML files using replace and replaceregexp. Does anyone know if there is way for a token to include multiple lines? I want to strip four lines from HTML files. Delete me. I’m on Windows. C:

Re: javadoc difference between ant 1.6 and ant 1.7

2007-03-27 Thread Xavier Hanin
On 3/27/07, Steve Loughran <[EMAIL PROTECTED]> wrote: Xavier Hanin wrote: > Hi, > > I'm currently testing ant 1.7 and I run into an issue with the javadoc > task. > > The following snippet: > > > > > Works with windows vista + jdk 1.6 + ant 1.6.5, but fails with windo

help in junit task

2007-03-27 Thread Ramu S
Hi, In our project we are using junit task with batchtest. Our classes for unit testing are in jars. The problem is batchtest task looks only inside the dir attribute. i want batchtest to look in to the jar which is included in classpath. i even tried by adding that jar in env variable. nothing h

Re: Manifest files

2007-03-27 Thread Steve Loughran
wolverine my wrote: Hi! I created a JAR with the following Ant task: The HelloWorld.jar contains two manifest files: ... META-INF/MANIFEST.MF HelloWorld.mf Both manifest files are the same except that the MANIFEST.MF contains two extra lines: Ant-Version: Apache Ant 1.7.0 Created-By: 1.5.

Re: javadoc difference between ant 1.6 and ant 1.7

2007-03-27 Thread Steve Loughran
Xavier Hanin wrote: Hi, I'm currently testing ant 1.7 and I run into an issue with the javadoc task. The following snippet: Works with windows vista + jdk 1.6 + ant 1.6.5, but fails with windows vista + jdk 1.6 + ant 1.7.0: Javadoc failed: java.io.IOException: C