ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil Prabhakaran" <sunilprabhaka...@gmail.com>
Subject Re: How to include multiple source branches in javac task
Date Mon, 08 Oct 2007 15:22:30 GMT
Hi

Have you tried the Includesfile attribute in Javac task?

Regards
Sunil Prabhakaran

On 10/8/07, Alexis Votta <alexisvotta@gmail.com> wrote:
> This is how my javac task looks right now.
>
>     <javac srcdir="${src.dir}"
>     destdir="${build.classes.dir}">
>       <include name="UIManager.java"/>
>       <include name="com/example/project/**/*.java"/>
>     </javac>
>
> I want to move the include names to a properties file, so that my
> javac task looks like:-
>
>     <javac srcdir="${src.dir}"
>     destdir="${build.classes.dir}">
>       <sometag someattrib="${includelist}"/>
>     </javac>
>
> This will help me to put all the includes at one place in the
> properties file like this:-
>
> src.includes = UIManager.java:\
>   com/example/project/**/*.java:\
>   com/example/test/**/*.java
>
> Is it possible?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message