aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Checked out CVS project not Java one Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Checked out CVS project not Java one" Watch "Checked out CVS project not Java one" New topic
Author

Checked out CVS project not Java one

Edmund Yong
Ranch Hand

Joined: Nov 16, 2003
Posts: 164
I checked out a project from CVS into Eclipse. Apparently Eclipse does not treat this as a Java project even though it is. So, whenever I typed something in the editor followed by a "." (for example, "System."), a window will appear with the following message:

This compilation unit is not on the build path of a Java project.

Also, since Eclipse does not treat this as a Java project, it does not do auto build and other stuff like code completions etc.

What can I do to get Eclipse to treat it as a Java project?

Thanks


SCJP 1.2, SCWCD 1.4
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Make sure that you didn't check in the .project file (or delete it from CVS). Remove the project from the workspace.

Check it out again, using the option with the three dots (...) at the end. Eclipse should now notice that it isn't configured for Eclipse and show you a wizard to do so. Don't click "finish", but "next", until you come to the page where you can configure the project nature. Make it a java project. Voila.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Aruneesh Salhotra
Ranch Hand

Joined: May 12, 2004
Posts: 167
use the "check out as" in eclipse in the CVS repository and use the wizard.
After specifying info about the CVS, it will ask you how to check out the project, choose "Java Project".
VOILA again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Checked out CVS project not Java one
 
Similar Threads
mvn release:prepare fails when project was checked out by Eclipse
Eclipse 3.0 CVS Integration
eclipse cvs filter
Exclipse and CVS
debugging jsp in eclipse