AW: where to download the latest ant-contrib-1.0b3.jar

2010-04-15 Thread Jan.Materne
There are two ways of declaring new tasks: - with properties files - with antlib.xml files: since Ant 1.6 With Ant 1.6 was introduced with the notion of @{localParameter}. is the equivalent but using the macro way. The difference between and is that the latter creates a new project instance

ant 1.8.0 exec issue

2010-04-15 Thread Phil Bromley
Hi All, I've found the issue below with 1.8.0 that worked in 1.8.0RC1. This seems to have been fixed in the latest build - 1.8.1alpha compiled on April 15 2010 built locally, so I'm not reporting in on bugzilla, however what is the process for rolling out bug fixes - I'm reluctant to use the late

Re: where to download the latest ant-contrib-1.0b3.jar

2010-04-15 Thread David Weintraub
On Thu, Apr 15, 2010 at 7:40 PM, Andy2008 wrote: > > I did download that zip file and as I mentioned in my post, the issue is > there's no for loop in the antcontrib.properties. You're absolutely correct! I can't believe it. I never used the "for" task, so never noticed it before. There is cer

Re: PropertyRegex help

2010-04-15 Thread David Weintraub
You need to learn about Regular Expressions and how they work. Try regexp="dev-(.*)" instead of regexp="dev-*" Note that I'm using "period asterisk" and not just an asterisk. An asterisk means zero or more of the previous "character" and period means any character". Combined, that means any strin

Re: PropertyRegex help

2010-04-15 Thread Scot P. Floess
You might try wrapping the * in parens like Honestly, didn't try this - went back to look at some examples I've done in the past On Thu, 15 Apr 2010, Andy2008 wrote: Here's my input dev-abc.com:8001 I want abc.com:8001 back. Below is my propertyregex but ${url} returns \1 Do you h

PropertyRegex help

2010-04-15 Thread Andy2008
Here's my input dev-abc.com:8001 I want abc.com:8001 back. Below is my propertyregex but ${url} returns \1 Do you have any ideas? -- View this message in context: http://old.nabble.com/PropertyRegex-help-tp28261946p28261946.html Sent from the Ant - Users mailing list archive at Nabble.com

Re: where to download the latest ant-contrib-1.0b3.jar

2010-04-15 Thread Andy2008
I did download that zip file and as I mentioned in my post, the issue is there's no for loop in the antcontrib.properties. Below is what it has # Logic tasks if=net.sf.antcontrib.logic.IfTask foreach=net.sf.antcontrib.logic.ForEach throw=net.sf.antcontrib.logic.Throw trycatch=net.sf.antcontrib.l

Re: where to download the latest ant-contrib-1.0b3.jar

2010-04-15 Thread David Weintraub
First, did you download this package?: http://sourceforge.net/projects/ant-contrib/files/ant-contrib/1.0b3/ant-contrib-1.0b3-bin.zip/download The ones on the top are only for the cpp tasks. I don't know why it's not obvious which one you're suppose to download. You're suppose to have a file calle

where to download the latest ant-contrib-1.0b3.jar

2010-04-15 Thread Andy2008
I downloaded it from the below link http://sourceforge.net/projects/ant-contrib/files/ but the antcontrib.properties file does not have the for task in it. that's why i got error while trying to excute the for loop. In my script I have @{i}

Re: Looping number of times

2010-04-15 Thread Jan
Already tried it and didn't work $ ant -f test.xml Buildfile: test.xml Trying to override old definition of task for [echo] Apache Ant version 1.6.3 compiled on April 28 2005 BUILD FAILED C:\Temp\test.xml:8: The type doesn't support the "end" attribute. On Wed, Apr 14, 2010 at 11:52 PM, w

Problems with telnet task during an ant migration

2010-04-15 Thread Thomas Burdairon
We are in a migration from ant 1.6.2 to 1.8.0 and are encountering troubles using telnet task : > ls throws an OOM Distant server is Sun OS 5.8 (Solaris 8) This simple script is OK with 1.6.2, but not with 1.8.0 : java.lang.OutOfMemoryError: Java heap spa