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 <[EMAIL PROTECTED]> wrote:
> No, I haven't. How can I use it?
>
> On 10/8/07, Sunil Prabhakaran <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > Have you tried the Includesfile attribute in Javac task?
> >
> > Regards
> > Sunil Prabhakaran
> >
> > On 10/8/07, Alexis Votta <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to