ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Taylor <donald_l_taylor...@yahoo.com>
Subject Re: Getting Ant to tell me the "out of date" files
Date Thu, 19 Jul 2001 11:48:01 GMT
I believe if you run ant with the -verbose option you'll see what files
are being compiled. The only problem is you'll probably see a lot more
other stuff than you really care to.

-- Don

--- Norman Klein <klein@magnet.com> wrote:
> 
> Sorry, I have just today started using "ant", so this is a real
> novice question. If
> there is a FAQ which answers common questions, please point it out to
> me and I will be
> sure to use it in the future.
> 
> Question:
> 
> I want "ant" to tell me the names of the 2 java source files which
> were "out of  date"
> and needed to be recompiled.
> 
> > ant
> Buildfile: build.xml
> 
> build:
>     [javac] Compiling 2 source files
> 
> BUILD SUCCESSFUL
> 
> Total time: 2 seconds
> >
> 
> Currently the "build.xml" file looks like the following:
> 
> <project name="tutorial" default="build" basedir=".">
>     <target name="build">
>         <javac srcdir="/tmp/tester"
>             debug="true" optimize="false" includes="**/*.java"
>                 />
>     </target>
> </project>
> 
> thanks
> 
> Norman
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Mime
View raw message