Agreed - And yes that is something that i would want to do once the
application is fully developed.

right now the application is broken up into units - eg. project\db
        
\security
        
\util
etc...

But the thing is that - The project is not fully developed and there are
many dependencies between java files - We are in a rapid development mode at
the current time - And my developers would like to do builds at any given
point - So if they add a new java file the can compile all the working units
at any point in time. I understand that there is the includes option
available - But is there any way that i can create a text file - comma
delimitted, or spaces or new lines for each piece of code - This file could
be maintained by each individual developer and read in by the ant script -
That way there is not alot of work invovled when compiling

Basically 

ant -buildfile build.xml filelist.txt

"$1" would be the a file in the filelist getting parsed into the build.xml

-- contents -- build.xml 

    <target name="compile">
        <!-- Compile the java code from ${src} into ${build} -->
        <javac srcdir="$1" destdir="${buildCore}"/>
    </target>

Thanks,
VA

-----Original Message-----
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 5:59 PM
To: Ant Users List
Subject: Re: ANT Capability


Huh?  Ant can compile the entire tree. Multiple trees, in fact, in one shot.

Is that not what you want?

    Erik


----- Original Message -----
From: "Atluri, Vamsi NYC" <[EMAIL PROTECTED]>
To: "Ant Users List (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 5:44 PM
Subject: ANT Capability


> Currently the project i am working on is pretty immature at the moment and
> will be growing rapidly in the next few weeks
>
> As you know there are many dependencies between java files during compile
> time
>
> Is there a way that i can create a generic ANT build file that - let say
> reads a txt file containing the name and location of a java file that need
> to be compiled.
>
> This would allow my developers to update the txt file - By adding the new
> component in its heirarchial place within the txt file, that way the ant
> script does not have to change ?
>
> Thanks,
> VA
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

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

Reply via email to