Add an other sources and classpath folder

2006-08-05 Thread Patrick GIRY
I m using MockCreator to build my tests. When I generate the mock objects, I put the source src/mocks/java and the compiled version into target/mocks-classes. How can I add these directories into my pom.xml file?

Re: maven2 TestCase with System.getProperty("java.class.path");

2006-07-12 Thread Patrick GIRY
How can I get the current MavenProject into my TestCase setUp() method? 2006/7/12, leahpar <[EMAIL PROTECTED]>: hello, in fact the classpath you get is not the right one due to classloader inheritance http://maven.apache.org/guides/mini/guide-maven-classloading.html It seems that java.class.

maven2 TestCase with System.getProperty("java.class.path");

2006-07-11 Thread Patrick GIRY
I have a problem in a TestCase. I need to obtain the current classpath definition and I use the System.getProperty("java.class.path"); When i run the TestCase into Eclipse all it's ok and i obtain this value for the java.class.path : java.class.path = H:\eclipse\workspace-spring\cglib\target\test

Desable compile phase during mvn eclipse:eclipse

2006-07-05 Thread Patrick GIRY
Some one can he indicate to me how to stop the compile process during mvn eclipse:eclipse execution. I have try this bu it's not work mvn -DdownloadSources=true -Dwtpversion=1.0 -Dnocompile=true eclipse:eclipse

Running junit test with maven

2006-04-19 Thread Patrick GIRY
I have defined two module A and B with a common parent module because B depend on A. I have imported the module as Eclipse project. The problem i have a TestCase class into the B module which extends a TestCase into the A module. When I run the test suite with the Eclipse console all is ok, but whe

Create J2EE module

2006-03-10 Thread Patrick GIRY
How can I create a J2EE module with archetype:create? Wich archetypeArtifactId value must I used?

ordering classpath with maven2

2006-02-17 Thread Patrick GIRY
How can you indicate to maven2 when it's running a test that the jar files must before the jdk jar into the classpath? I have same question for the mvn eclipse:eclipse command, to put the at the last position into .classpath file generated. PG __