RE: [Clirr-devel] running clirr on cactus
Status: Alpha
Brought to you by:
lkuehne
From: Vincent M. <vma...@pi...> - 2004-08-22 11:50:43
|
Hi Lars, I've tried adding the newClasspah and oldClasspath as follows in plugin.jelly: <clirr failOnWarning=3D"${clirr.fail.on.warning}" failOnError=3D"${clirr.fail.on.error}"> <origFiles dir=3D"${clirr.baseline.destination.dir}"=20 includes=3D"${clirr.baseline.destination.basename}"/> <newFiles dir=3D"${maven.build.dir}" includes=3D"${maven.final.name}.jar"/> <formatter type=3D"xml" outfile=3D"${clirr.report.file}"/> <newClassPath refid=3D"maven.dependency.classpath"/> <oldClassPath refid=3D"maven.dependency.classpath"/> </clirr> =20 But I still get the same error. Here's what I do to run clirr on the cactus framework project: * cd to jakarta-cactus/framework * create a build.properties file and add the following to it: clirr.baseline.destination =3D C:/Documents and Settings/Vincent Massol/.maven/repository/cactus/jars/cactus-13-1.6.1.jar (i.e. the location of the previous version to compare with) * type "maven clirr" You're right, I need to sort out the organization. Actually Cactus does = not really build with Maven yet (it's a work in progress which is not progressing much right now). But forcing the location of the base jar = should work. Thanks -Vincent > -----Original Message----- > From: cli...@li... [mailto:clirr-devel- > ad...@li...] On Behalf Of Lars K=FChne > Sent: dimanche 22 ao=FBt 2004 11:52 > To: cli...@li... > Subject: [Clirr-devel] running clirr on cactus >=20 > Hi Vincent, >=20 > I was trying to reproduce your problem with cactus. I have checked out > the current cactus CVS, cd'ed to framework and did "maven -X clirr". >=20 > This gives me >=20 > BUILD FAILED > File...... /home/lk/.maven/cache/clirr-maven-0.4-SNAPSHOT/plugin.jelly > Element... j:invokeStatic > Line...... 75 > Column.... 55 > java.lang.reflect.InvocationTargetException > com.werken.werkz.UnattainableGoalException: Unable to obtain goal > [clirr:check] -- > /home/lk/.maven/cache/clirr-maven-0.4-SNAPSHOT/plugin.jelly:75:55: > <j:invokeStatic> Could not load class: net.sf.clirr.maven.ClirrUtils. > Reason: java.lang.reflect.InvocationTargetException > at com.werken.werkz.Goal.fire(Goal.java:646) > [...] > Caused by: java.io.FileNotFoundException: > http://www.ibiblio.org/maven/cactus/jars/jakarta-cactus-framework- > 1.6.1.jar > at > org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:547) > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:381) > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287) > at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:241) > at > net.sf.clirr.maven.ClirrUtils.getBaselineJar(ClirrUtils.java:80) >=20 > It seems you organize you jars a bit differently on ibiblio, there are > no "framework" jars. How do I need to setup cactus to get the correct > old jar file when running clirr? >=20 > Lars >=20 >=20 >=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 |