ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <DDevie...@lgc.com>
Subject RE: How to get a directory name
Date Mon, 31 Jan 2005 17:56:00 GMT
> From: Ninju Bohra [mailto:ninju_bohra@yahoo.com]
> 1) How do I limit the number of directories that are
> returned in the <dirset> to just the first level
> sub-directories

Use something like <include name="Release*" />

> 2) Is it necessary to do the <sortlist> or does the
> <dirset> return them in sorted order>

Platform-dependent behavior. You'd better keep it.

> 3) Any ideas on the best way to extract the largest
> build number values from either the builds.property or
> sorted.builds property, I thought of using the
> <propertyRegExp> but could not come up with the
> appropriate expression?

Write a small <script> or <scriptdef>.
Better to resolve to code in a case like this. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message