You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rademacher Tobias <To...@grob.de> on 2003/04/08 18:26:36 UTC

Eclipse, Junit and Maven

Hi Folks,

I want to run my JUnit Testcases into Eclipse and in maven. My TestCases are
in src/test but Eclipse don't find the compiled classes which are searched
in target/classes.

Does anyone has ideas how to configure Eclipse or Maven or both to get
TestCases running in Eclipse and Maven?

Thx & Bye
Toby

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Eclipse, Junit and Maven

Posted by Martin Skopp <sk...@riege.de>.
On Tue, 2003-04-08 at 18:26, Rademacher Tobias wrote:
> I want to run my JUnit Testcases into Eclipse and in maven. My TestCases are
> in src/test but Eclipse don't find the compiled classes which are searched
> in target/classes.
> 
> Does anyone has ideas how to configure Eclipse or Maven or both to get
> TestCases running in Eclipse and Maven?

In Eclise (I know for sure for v2.1) you can configure a target/compile
directory _per source directory_ !
Go to Project Properties, "Sources", expand "src/test" and set output
dir to "target/test-classes".
-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:maint@riege.com, Information: http://www.riege.com

This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org