ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: retrieving project names with subant
Date Mon, 25 Jul 2005 07:02:01 GMT
Or doing something like

<input property="fs.includes" message="Type your buildfiles"/>
<property name="fs.includes" value="module1/build.xml,module3/build.xml"/>
    <fileset dir="." includes="${fs.includes}"/>


>-----Urspr√ľngliche Nachricht-----
>Von: Ivan Ivanov [] 
>Gesendet: Freitag, 15. Juli 2005 17:44
>An: Ant Users List
>Betreff: RE: retrieving project names with subant
>--- 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
><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:
>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.
>Start your day with Yahoo! - make it your home page 
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message