ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Adding a 'listsource' attr to <javac>
Date Fri, 22 Feb 2002 03:08:26 GMT
A couple of people on ant-user have asked whether you can get <javac> to
list the files it's handing off to the compiler, in some way other than
running -verbose (which gives them more than they're looking for). I think
I remember this coming up in the past as well.

So I added a 'listsource' attribute, but I didn't want to put it through
without checking first, since somebody out there might not like the idea.

This is what the output looks like, with 'listsource="true"' (default, of
course, is "false"):
$ ant comp
Buildfile: build.xml

    [javac] Compiling 3 source files to D:\cygwin\home\dianeh\classes
    [javac] D:\cygwin\home\dianeh\src\java\
    [javac] D:\cygwin\home\dianeh\src\java\
    [javac] D:\cygwin\home\dianeh\src\java\

Total time: 1 second

What do you think -- yea or nay?



Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message