Or doing something like
<input property="fs.includes" message="Type your buildfiles"/>
<property name="fs.includes" value="module1/build.xml,module3/build.xml"/>
<subant>
<fileset dir="." includes="${fs.includes}"/>
</subant>
Jan
>-----Ursprüngliche Nachricht-----
>Von: Ivan Ivanov [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 15. Juli 2005 17:44
>An: Ant Users List
>Betreff: RE: retrieving project names with subant
>
>Hello,
>
>--- [EMAIL PROTECTED] wrote:
>
>> hi ivan,
>> It's for user friendliness purpose, typically:
>> Hello user: here are all the buildable projects, choose the projects
>> to build blabla...
>If you want to give the user ability to choose projects to
>build, note that <subant> accepts <filelist>s[1] as well. So
>you can use something like
>this:
><property name="build.files"
> value="module1/build.xml,...,moduleN/build.xml"/>
><filelist dir="${dir}"
> files="${build.files}"/>
>
>Now when the user starts Ant she can provide build.files
>property from the command line:
>ant
>-Dbuild.files=module2/build.xml,module7/build.xml,module11/build.xml.
>
>However, it is up to you to resolve module dependencies (if
>you have of course): for example
>module2 depends on module5 and the user does not specify
>explicitly module5 on the command line.
>
>Regards
>Ivan
>
>[1]http://ant.apache.org/manual/CoreTypes/filelist.html
>
>
>
>
>____________________________________________________
>Start your day with Yahoo! - make it your home page
>http://www.yahoo.com/r/hs
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]