aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse + JUNIT_HOME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse + JUNIT_HOME" Watch "Eclipse + JUNIT_HOME" New topic
Author

Eclipse + JUNIT_HOME

Vladimir Bezugliy
Ranch Hand

Joined: Sep 29, 2004
Posts: 33
I created project with junit tests.
Eclipse added environment variable JUNIT_HOME.
But I do not want to use Eclipse's junit.
I have my own installation of JUnit.
I changed varaible JUNIT_HOME to dir with my JUnit.
Closed Eclipse.
When I opened Eclipse again I saw, that wariable again pointed to Eclipse's JUnit not to my directory.
Why?
How can I fix it?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30762
    
156

Vladimir,
I'm not sure how well Eclipse handles the changing of built in variables. The easiest thing to do may be to create your own variable that points to something else.

If you don't want to do that, try deleting the variable altogether and creating a new one with the same name (possibly closing Eclipse in between.)


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
chris li
Greenhorn

Joined: Jan 11, 2005
Posts: 1
Vladimir,
Try this way, Project -> Properties -> Java Build Path -> in Libraries remove the old one you don't want and Add External JARs(Then one you need).
Wish it help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse + JUNIT_HOME