CVS-Eclipse problem

ank9
ank9 used Ask the Experts™
on
I am using CVS from within eclipse.

One of the folders within eclipse shows an icon which looks like an error icon. But it does not display any message so I am not able to find out what the error is.

The problem because of this error is that, when from within wincvs I try to get the complete source I do not get this particular folder (in front of which an error icon is dispalyed).

Attached is the screenshot of this error. The problematic part is highlighted in red.

Can someone please let me know how to find out what the problem is?
EclipseCVS.JPG
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
This means that the folder is not shared with version
control - not checked in.

Author

Commented:
Thanks for replying.

How do I check it in?

From within eclipse I have done the following

1. right click on folder
2. Select Team--> commit

but this gives me a message "the selected resoure do not contain any changes"

thank you
What the properties of this file say?
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

Author

Commented:
If I right click on the folder and select "Properties", is shows the Repository "root", "path" and "tag"
Mick BarryJava Developer
Top Expert 2010

Commented:
check the problems tab to see what the error/warning is

Author

Commented:
The Eclipse "problems" tab shows some Java warnings like "The local variable moveResult is never read"

There is no error related to CVS.


a_b
Top Expert 2009

Commented:
There are only eclipse/java compiler warnings. There are not issues with CVS. If there was an error you would see this in red.
Sometimes checking out fresh works...

Author

Commented:
I have already tried check out fresh using wincvs. But still not getting the "src" folder
a_b
Top Expert 2009

Commented:
Expand the src folder you should see more of the warning marks in some files. Look into those.

Author

Commented:
I can see warning marks in subfolders as well. But there is no description
a_b
Top Expert 2009

Commented:
Click on the subfolders and see the problems tab. That should show you the issues. If you cannot see the problems tab on the bottom panel then you need to add it to the view.
Mick BarryJava Developer
Top Expert 2010

Commented:
the description is in the problems tab as I posted earlier

Author

Commented:
On the individual files also, I can only see the Java warnings (in the problems tab).
There are no warnings/error messages related to CVS. Is there a separate "Problems" tab for CVS?
Mick BarryJava Developer
Top Expert 2010

Commented:
no, all the errors/warnings are in that tab
what makes you think they are cvs warnings anyway?

Author

Commented:
Because when I checkout the root folder (using wincvs), I am not able to see this folder (the folder which shows error symbol). All other folders are getting checked out using wincvs.
Mick BarryJava Developer
Top Expert 2010

Commented:
then it would sound like the folder has not been checked into cvs
doesn't mean thats related to the warnings reported by eclipse

Author

Commented:
I have done "Team-->Commit" from eclipse. Do I need to do something else also?
Mick BarryJava Developer
Top Expert 2010

Commented:
they would have to be added before you can commit

Author

Commented:
Thanks for replying.
If I do "Team --> Synchronize with reopsitory", it says "Syncronizing CVS: no changes found".
Mick BarryJava Developer
Top Expert 2010

Commented:
because there aren't any changes :)  Its only going to look at files that are actually in cvs for changes

Author

Commented:
Does that mean I should first go to WinCVS and add a folder? Is there a way to add folder from Eclipse?

thank you

Author

Commented:
In winCVS also it shows the folder. It's only when I checkout, I ma not able to see this folder.
Mick BarryJava Developer
Top Expert 2010

Commented:
if its not being checked out then it sounds like its not there
have you tried to add the folder?
Top Expert 2009
Commented:
By the sound of it, you need to commit this folder to wincvs.

Author

Commented:
How to add the folder? If I open winCVS, the add icon is disabled since this folder is already displayed in WinCvs.


Author

Commented:
I also tried committing it using winCVS. Still when I go to eclipse, it says nothing to synchronize.
Mick BarryJava Developer
Top Expert 2010
Commented:
if its already added and not getting checked out then it sounds like a problem with cvs
has nothing to do with eclipse from what you have posted

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial