From: Mark D. <Mar...@sa...> - 2005-05-27 14:52:42
|
It looks like you're not actually getting a MalformedPatternException, = but a NoClassDefFoundError when looking for the class = MalformedPatternException. Is lib\oro\jakarta-oro-2.0.5.jar in your classpath? You'll probably = need a few other jars from the lib directory in your classpath, as well. -Mark=20 > -----Original Message----- > From: cob...@li...=20 > [mailto:cob...@li...] On=20 > Behalf Of cla...@sd... > Sent: Friday, May 27, 2005 10:44 AM > To: cob...@li... > Subject: [Cobertura-devel] MalformedPatternException exception >=20 > When running instrument on an existing small project, using=20 > Eclipse, Ant and jUnit, I get an MalformedPatternException exception. >=20 > This was the information I got: >=20 > Buildfile: C:\workspace\ws\build.xml=20 > instrument:=20 > [cobertura-instrument] Cobertura 1.3=20 > [cobertura-instrument] The copyright for this program is=20 > retained by its contributors=20 > [cobertura-instrument] See the included COPYRIGHT file for a=20 > complete list of contributors=20 > [cobertura-instrument] Cobertura is licensed under the GNU=20 > General Public License=20 > [cobertura-instrument] Cobertura comes with ABSOLUTELY NO WARRANTY=20 > [cobertura-instrument] instrumenting 24 classes to=20 > C:\workspace\ws\build\instrumented-classes=20 > [cobertura-instrument] java.lang.NoClassDefFoundError:=20 > org/apache/oro/text/regex/MalformedPatternException=20 > [cobertura-instrument] Exception in thread "main"=20 > BUILD FAILED: C:\workspace\ws\build.xml:411: null=20 > Total time: 1 second >=20 > Any help would be greatly appreciated, > Thx=20 >=20 >=20 |