{"id":367,"date":"2006-08-14T15:20:20","date_gmt":"2006-08-14T21:20:20","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=367"},"modified":"2008-04-23T07:41:40","modified_gmt":"2008-04-23T13:41:40","slug":"eclipse-and-existing-cvs-modules","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/367","title":{"rendered":"Eclipse and existing CVS modules"},"content":{"rendered":"<p>On a project I&#8217;m working on, we just made the move from local CVS via a windows share to remote CVS via ssh.  I&#8217;m a big fan of that, because I was seeing some weird behavior from the drive, and because<a href=\"http:\/\/www.mooreds.com\/weblog\/archives\/000334.html\"> Eclipse doesn&#8217;t support local repositories<\/a>.<\/p>\n<p>The <a href=\"http:\/\/wiki.eclipse.org\/index.php\/CVS_FAQ\">Eclipse\/CVS FAQ<\/a> had some good information, but I had a bit of trouble importing CVS source into a java project (which is important so you get the command line completion, etc).<\/p>\n<p>The easiest way I&#8217;ve found to get things working in Eclipse with previously existing CVS modules is to do this:<\/p>\n<ul>\n<li>Make sure everything is checked into CVS using command line tools.<\/li>\n<li>Open eclipse.<\/li>\n<li>Delete the project(s).  When it prompts you &#8220;Are you sure you want to<br \/>\ndelete project &#8216;xxx&#8217;?&#8221; choose &#8220;Do not delete contents&#8221; and click &#8220;Yes&#8221;.<\/li>\n<li>For each project:\n<ul>\n<li>On the menu, Go to File\/New Project.<\/li>\n<li>Choose &#8220;Java Project&#8221;.<\/li>\n<li>Give the project name you&#8217;ve used for the module.<\/li>\n<li>On the same screen, choose &#8220;Create project from existing source&#8221;.  Put the path of the directory of the previously checked out file.<\/li>\n<li>Click finish.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Eclipse is smart enough to connect to CVS by looking in the CVS subdirectories, although you may need to change your project&#8217;s CVS settings.  I had to change it from the ext to the extssh connection method.<\/p>\n<p>This was with Eclipse version 3.1.2 Build M20060118-1600 on Windows, with cygwin.<\/p>\n<p>[tags]Eclipse, cvs[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On a project I&#8217;m working on, we just made the move from local CVS via a windows share to remote CVS via ssh. I&#8217;m a big fan of that, because [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,5],"tags":[],"class_list":["post-367","post","type-post","status-publish","format-standard","hentry","category-ides","category-java"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=367"}],"version-history":[{"count":0,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/367\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}