ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: emma code coverage
Date Tue, 24 Apr 2007 06:09:54 GMT
On 4/23/07, jeff <jeffrey.blattman@yahoo.com> wrote:
>
> BUILD FAILED
> /Users/jtb/src/dependencies/init-ivy.xml:46: The following error occurred
> while executing this line:
> jar:file:/Users/jtb/.ivy/jars/ivy.jar!/fr/jayasoft/ivy/ant/antlib.xml:21:
> taskdef A class needed by class org.apache.ivy.ant.IvyConfigure cannot be
> found: com/vladium/emma/rt/RT


OK, I think I know where the problem comes from. In our build when we use
emma to instrument classes we instrument classes in place. Usually this is
not a problem because the jar which is published is packaged before this
intrumentation... but if you run a first build with instrumentation, and
then run a second build without cleaning, the jar produced by the second
build will contain instrumented classes, which of course are not meant to be
actually used.

Could you open an issue in JIRA?

Xavier


Xavier Hanin <xavier.hanin@gmail.com> wrote: On 4/21/07, jeff  wrote:
> >
> > i am trying to build and run ivy from the trunk, and unless i stick some
> > emma*.jars in ~/.ivy/jars, it won't execute.
>
>
> I'm surprised it doesn't work, I've made a release a few days ago (which
> should be built from scratch, with nothing in the ivy cache), and it
> worked
> properly. Could you elaborate on the error  you get?
>
> is there some bit need to flip to turn off the code coverage?
>
>
> You can simply avoid code coverage by building using 'ant test-report' for
> a
> full build with unit tests, or 'ant jar', for a simple build using unit
> tests.
>
> Xavier
>
> thanks.
> >
> >
> >
> >
> > ---------------------------------
> > Ahhh...imagining that irresistible "new car" smell?
> > Check outnew cars at Yahoo! Autos.
>
>
>
>
> --
> Learn Ivy at ApacheCon: http://www.eu.apachecon.com/
> Manage your dependencies with Ivy!
> http://incubator.apache.org/ivy/
>
>
>
> ---------------------------------
> Ahhh...imagining that irresistible "new car" smell?
> Check outnew cars at Yahoo! Autos.




-- 
Learn Ivy at ApacheCon: http://www.eu.apachecon.com/
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message