RE: [Clirr-devel] CVS: clirr/core/src/java/net/sf/clirr/core/internal/checks InterfaceSetCheck.java,
Status: Alpha
Brought to you by:
lkuehne
From: Vincent M. <vma...@pi...> - 2004-08-21 14:21:01
|
Lars, I've modified the clirr taskdef definition to: <ant:path id=3D"clirr.classpath"> [...] <ant:path refid=3D"maven.dependency.classpath"/> </ant:path> This adds all the projects defined in project.xml. However it doesn't = help. I haven't looked at the Ant task code but the doc (anttask.xml) doesn't mention any additional classpath element for the clirr task. Any idea? Thanks -Vincent > -----Original Message----- > From: cli...@li... [mailto:clirr-devel- > ad...@li...] On Behalf Of Lars K=FChne > Sent: samedi 21 ao=FBt 2004 14:25 > To: cli...@li... > Subject: Re: [Clirr-devel] CVS: > clirr/core/src/java/net/sf/clirr/core/internal/checks > InterfaceSetCheck.java,1.3,1.4 >=20 > Vincent Massol wrote: >=20 > >One more precision: I also got the following message in the console: > > > >[...] > > [junit] Testsuite: org.apache.cactus.TestWebRequest > > [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0,04 = sec > > [junit] > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.TestCase not found. > >java.lang.ClassNotFoundException: junit.framework.Test not found. > > > >BUILD FAILED > >java.lang.NullPointerException > > at > = >org.apache.bcel.classfile.JavaClass.getAllInterfaces(JavaClass.java:808)= > > at > = >net.sf.clirr.core.internal.checks.InterfaceSetCheck.check(InterfaceSetCh= e > ck. > >java:58) > > > >So maybe there is some problem with the junit jar not being in some > >classpath? > > > > >=20 > Yes, I'd guess that this is the result of the first issue I mentioned = in > my other mail: dependencies are not considered (<[new/old]ClassPath> > subelements of the clirr Ant task) >=20 > Any chance that you can add references to the same classpath that is > used for java compilation? >=20 > Lars >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Clirr-devel mailing list > Cli...@li... > https://lists.sourceforge.net/lists/listinfo/clirr-devel |