Maybe you can put have *two* executions of the antrun plugin?
But, going to the original issue, it appears that the instrumented cobertura
classes
*should* be in the classpath of the maven reactor? Because I look at the
source
for the instrumented goal..this is what it shows
// Set the instrumented classes to be the new output directory
(for other plugins to pick up)
project.getBuild().setOutputDirectory(
instrumentedDirectory.getPath() );
System.setProperty( "project.build.outputDirectory",
instrumentedDirectory.getPath() );
Thanks,
mohan kr
-----Original Message-----
From: lvdpal [mailto:[email protected]]
Sent: Wednesday, June 24, 2009 7:18 AM
To: [email protected]
Subject: Putting instrumented classes on the classpath
Hello,
I've tried to put the classes that were instrumented by Cobertura on the
classpath so EasyB could find them. Just so Cobertura could see that my
classes are in fact tested. I had found a solution based on the Maven Antrun
plugin, but due to a bug in this plugin (which I reported in Jira:
http://jira.codehaus.org/browse/MANTRUN-112 ) it isn't working. Does anybody
have any other ideas on how to accomplish this?
Regards,
Linda
--
View this message in context:
http://www.nabble.com/Putting-instrumented-classes-on-the-classpath-tp241836
79p24183679.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]