On Thu, 21 Feb 2002, Diane Holt wrote:

> 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"):

+1. By my taste, I would call it 'listSources', or even 
'listFiles' ( if someone in future will add a similar thing to other tasks
that operate on collection of files, like copy or jar ).

But however will be called in 1.5, that shall remain its name :-)

Costin

> $ 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
> 
> =====
> ([EMAIL PROTECTED])
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
> 
> --
> 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