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" <[EMAIL PROTECTED]>
To: "Ant Developers List" <[EMAIL PROTECTED]>
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
>
> =====
> ([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]>