Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > eclipse junit version conflict

Reply
Thread Tools

eclipse junit version conflict

 
 
Martijn
Guest
Posts: n/a
 
      04-11-2007
Hi,

My Eclipse project uses JUnit 3.8.1 for unit testing. Recently, I have
added commons-cli from apache to my project, which requires JUnit 3.7 . Now
all my other tests want to use 3.7 instead, so the tests break. Is there a
way to force my tests to use the proper version?

One "issue" is the fact that I have my project managed with Maven, which
causes 3.7 to be included into my build path of Eclipse because of the pom
that comes with common-cli. This is not a problem when I use mvn to build.

Thanks for the help,

--
Martijn
http://www.sereneconcepts.nl


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"gem NAME, VERSION" && "require NAME" fails due to version conflict IƱaki Baz Castillo Ruby 3 02-28-2011 10:49 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM
Log4j and JUnit conflict Paul Carey Java 0 05-21-2004 12:43 PM



Advertisments