Best way to have a list of values in properties file

2010-04-16 Thread Andy2008
I have a list of values that I need to loop thru and right now I have them as a comma separated list as below in my properties file apps=app1, app2, app3, app4 Name of the apps can be very long so I'm wondering if I can do something like below for readability purpose apps=app1 apps=app2 apps=ap

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

2010-04-16 Thread Andy2008
Thank you all for your replies. I changed to using the antlib.xml and it's working now. You guys are awesome Thanks -- View this message in context: http://old.nabble.com/where-to-download-the-latest-ant-contrib-1.0b3.jar-tp28261202p28269551.html Sent from the Ant - Users mailing list archiv

Re: PropertyRegex help

2010-04-16 Thread Andy2008
It worked with the (.*). You guys are awesome. Thanks David Weintraub wrote: > > 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

Re: ant 1.8.0 exec issue

2010-04-16 Thread Stefan Bodewig
On 2010-04-15, Phil Bromley wrote: > 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, >From your description it most likely has been

RE: Why is Ivy locking my resolved dependencies until Ant finishes processing?

2010-04-16 Thread Kirby Files
I had similar issues when using retrieved libs in my compile and test stages. The solution is instead to use ivy:cacheclasspath to populate the build and test classpath, and only use retrieve for deployment. Thanks, Kirby Files -Original Message- From: Imner, Andreas Sent: Friday, Apr

Re: PropertyRegex help

2010-04-16 Thread Scot P. Floess
Hee - good pt about the .* ;) On Thu, 15 Apr 2010, David Weintraub wrote: 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 previ

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

2010-04-16 Thread Peter Reilly
Yes, you sould use the antlib.xml and not the .properties resource. The .properties one is meant for compatibility with ant 1.5. Peter On Fri, Apr 16, 2010 at 7:05 AM, wrote: > There are two ways of declaring new tasks: > - with properties files > - with antlib.xml files: since Ant 1.6 > With A