ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <j_a_fernan...@yahoo.com>
Subject Re: Adding a 'listsource' attr to <javac>
Date Sat, 23 Feb 2002 09:44:04 GMT
What would be really nice is to have a way to configure verbose for specific tasks only,
something like:

    ant -verbose:javac,rmic -debug:ejbjar mytarget

which would run ANT at normal levels except while executing the specific tasks.

That would be sooooooo useful. Am I dreaming too much? 
It seem this could be done by a listener of something like that.

Thoughts?

Jose Alberto

----- Original Message ----- 
From: "Diane Holt" <holtdl@yahoo.com>
To: "Ant Developers List" <ant-dev@jakarta.apache.org>
Sent: Friday, February 22, 2002 3:08 AM
Subject: Adding a 'listsource' attr to <javac>


> 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>


--
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