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
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
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
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
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
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
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