ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
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

comp:
    [javac] Compiling 3 source files to D:\cygwin\home\dianeh\classes
    [javac] D:\cygwin\home\dianeh\src\java\lid.java
    [javac] D:\cygwin\home\dianeh\src\java\lif.java
    [javac] D:\cygwin\home\dianeh\src\java\Unset.java

BUILD SUCCESSFUL
Total time: 1 second

What do you think -- yea or nay?

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message