junit tests that run outside of maven hare having problem inside... using 1.0-rc1
$ maven test [ results in (when maven.junit.fork=false (default) ) ] java:prepare-filesystem: .. test:test: [junit] dir attribute ignored if running in the same VM [junit] Running com.txu.tmdb.bd.TranslateColumnNameTest [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 0.33 sec [junit] [ERROR] TEST com.txu.tmdb.bd.TranslateColumnNameTest FAILED $ maven test [ results in (when maven.junit.fork=true ) java:prepare-filesystem: .. test:test: [junit] Running com.txu.tmdb.bd.TranslateColumnNameTest [junit] java.lang.NoClassDefFoundError: org/w3c/dom/Node [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.FormatterElement.createFormatter(FormatterElement.java:1 83) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndStoreFormatter(JUnitTestRunner. java:562) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:507) [junit] Exception in thread "main" [junit] [ERROR] TEST com.txu.tmdb.bd.TranslateColumnNameTest FAILED what happened to the original classpath? i think the "problem" revolves around those unit tests using System.setProperty() to signal the need for a mock jndi datasource lookup... -- dan ********************************************************************************* Confidentiality Notice: This email message, including any attachments, contains or may contain confidential information intended only for the addressee. If you are not an intended recipient of this message, be advised that any reading, dissemination, forwarding, printing, copying or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply message and delete this email message and any attachments from your system. ********************************************************************************* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]