notes - my eclipse output folder is set to C:\workspace\projects\extweb_cust_struts/target/classes in project.properties - when instrumenting jcoverage plugin finds 2 files in that directory but it does not traverse down the path to find other classes (80+ of them)
let me know if you need more info (output is below) thanks vlad maven jcoverage output: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT [taskdef] Could not load definitions from resource tasks.properties. It could not be found. java:prepare-filesystem: java:compile: [echo] Compiling to C:\workspace\projects\extweb_cust_struts/target/classes jcoverage:on: [mkdir] Created dir: C:\workspace\projects\extweb_cust_struts\target\jcoverage\database [mkdir] Created dir: C:\workspace\projects\extweb_cust_struts\target\jcoverage\classes instrumenting the class-files... <instrument todir="C:\workspace\projects\extweb_cust_struts/target/jcoverage/classes"><classpath></classpath></instrument> Copying 2 files to C:\workspace\projects\extweb_cust_struts\target\jcoverage\classes java:jar-resources: test:prepare-filesystem: test:test-resources: test:compile: test:test: [junit] Running com.intgas.cust.access.AccountHistoryAccessTest [junit] Tests run: 2, Failures: 2, Errors: 0, Time elapsed: 0.11 sec [junit] [ERROR] TEST com.intgas.cust.access.AccountHistoryAccessTest FAILED [junit] Running com.intgas.cust.access.WebsiteLogAccessTest [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.09 sec [junit] [ERROR] TEST com.intgas.cust.access.WebsiteLogAccessTest FAILED [junit] Running com.intgas.cust.models.CustBusinessLogicTest [junit] java.lang.NoClassDefFoundError: com/intgas/cust/models/CustBusinessModel [junit] at com.intgas.cust.models.CustBusinessLogicTest.<clinit>(CustBusinessLogicTest.java:19) [junit] at java.lang.Class.forName0(Native Method) [junit] at java.lang.Class.forName(Class.java:115) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:237) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:210) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:532) [junit] Exception in thread "main" [junit] [ERROR] TEST com.intgas.cust.models.CustBusinessLogicTest FAILED [junit] Running com.intgas.cust.models.CustValidationLogicTest [junit] java.lang.NoClassDefFoundError: com/intgas/cust/exceptions/DbException [junit] at java.lang.Class.forName0(Native Method) [junit] at java.lang.Class.forName(Class.java:115) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:237) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:210) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:532) [junit] Exception in thread "main" [junit] [ERROR] TEST com.intgas.cust.models.CustValidationLogicTest FAILED BUILD FAILED File...... file:/C:/Documents and Settings/vterzic/.maven/plugins/maven-test-plugin-1.4/ Element... fail Line...... 130 Column.... 54 There were test failures. Total time: 5 seconds Finished at: Thu Dec 18 08:10:03 MST 2003 >>> [EMAIL PROTECTED] 12/17/03 10:58PM >>> > plugin (1.0.2 or any version for that matter) does not seem to work right with eclipse projects (running plugin on command line with maven jcoverage) What's exactly the problem? > plugin only instruments classes on the 'top level' but not ones in packages so when junit goals are run they fail... Could you send me a little simple? > any ideas? > thanks > vlad --------------------------------------------------------------------- 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]