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 Tue, 09 Oct 2007 07:53:09 GMT
hi

check the below snippet

<javac srcdir="${src.dir}"
   destdir="${build.classes.dir}" includesfile="list.txt"/>

list.txt has list of files to be compiled( either filename or patterns
using wild cards)
for example list.txt may look like
ABC.Java
Test??.java
**/com/*.java




On 10/8/07, Alexis Votta <alexisvotta@gmail.com> wrote:
> No, I haven't. How can I use it?
>
> On 10/8/07, Sunil Prabhakaran <sunilprabhakaran@gmail.com> wrote:
> > 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
> >
> >
>
> ---------------------------------------------------------------------
> 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