ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: target for jcov
Date Tue, 26 Feb 2002 07:47:12 GMT
On Mon, 25 Feb 2002, Charles Brunson <charles.brunson@sun.com> wrote:

> like the way the javac target does it. I'm hoping someone out there
> has written an oldjavac taskdef that does this and wouldn't mind
> making it available.

Maybe a new task isn't needed at all, just a new compiler adapter for
<javac>.

With the current CVS version of Ant, you may already be able to do
what you want.  <javac>'s fork attribute is no longer a boolean, but
may also take the name of the executable - throw in a nested
compilerarg and you should be almost done:

<javac fork="oldjavac" ...>
  ...
  <compilerarg value="-Xjcov" />
</javac>

may work (untested).

Writing a compiler adapter for oldjavac may still be a better
solution.

Stefan

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


Mime
View raw message