{"id":164,"date":"2012-09-23T15:44:30","date_gmt":"2012-09-23T15:44:30","guid":{"rendered":"http:\/\/adriangrigoras.com\/blog\/?p=164"},"modified":"2012-09-23T15:44:30","modified_gmt":"2012-09-23T15:44:30","slug":"how-to-use-google-svn-with-eclipse","status":"publish","type":"post","link":"https:\/\/adriangrigoras.com\/blog\/how-to-use-google-svn-with-eclipse\/","title":{"rendered":"How to use Google free SVN repository with Eclipse"},"content":{"rendered":"<p>If you already have a gmail account, make sure you&#8217;re logged in (that way, your repository and your account will be linked).<\/p>\n<p>Start here:<br \/>\n<a href=\"http:\/\/code.google.com\/hosting\">http:\/\/code.google.com\/hosting\/<\/a><br \/>\nGo to the &#8216;Create a new Project&#8217; link and create your project&#8230;<\/p>\n<p>Install eclipse if you haven&#8217;t already (current recent version is 3.5):<br \/>\n<a href=\"http:\/\/www.eclipse.org\/downloads\/\">http:\/\/www.eclipse.org\/downloads\/<\/a><\/p>\n<p>Now you need to install the subclipse plugin from within eclipse..<br \/>\nHere are some step-by-step instructions:<br \/>\n<a href=\"http:\/\/subclipse.tigris.org\/install.html\">http:\/\/subclipse.tigris.org\/install.html<\/a><\/p>\n<p>Once that&#8217;s done you should be able to open your repository as a new project within eclipse.<\/p>\n<p>Within the package explorer (the panel on the left if you&#8217;re in the java developer perspective), right click to get the context menu and go to &#8216;New&#8217; and &#8216;Other&#8230;&#8217;<\/p>\n<p>expand the SVN folder and select &#8216;Checkout Projects from SVN&#8217; and select Next<\/p>\n<p>Select the Create a new repository location and select Next<\/p>\n<p>The URL will be:<\/p>\n<p>https:\/\/[YOUR_PROJECT_NAME].googlecode.com\/svn<\/p>\n<p>If you don&#8217;t use https:\/\/ you&#8217;ll check out the repository as read only<\/p>\n<p>Select (highlight) the folder to check out as an eclipse project (e.g. trunk) and select Next.<\/p>\n<p>Select the check out as a project configured using the New Project Wizard and select &#8216;Finish&#8217;<\/p>\n<p>For this exercise, I&#8217;m checking mine out as a java project, so I&#8217;m selecting Java Project and Next on the wizard box.<\/p>\n<p>Give the Project a name (e.g. myProject), select Finish and OK<\/p>\n<p>Let it check out your project&#8230;<\/p>\n<p>You should see something like myProject [trunk] in the package explorer.<br \/>\nYou can now right click on the folder and go to New &gt; Folder and create a new folder<\/p>\n<p>When you&#8217;re ready, right click on the folder you&#8217;ve created, go to the Team context menu and select &#8216;Add to Version Control&#8217;; you&#8217;ll probably need to do this for any new files you subsequently add&#8230;<\/p>\n<p>From then, commit will add new changes and update will refresh a stale repository.<\/p>\n<p>One other note: to check out the project, I used my gmail username. The svn password isn&#8217;t the same as your gmail password though.<\/p>\n<p>I found the password for the code repository (when logged in) here &#8211; so hopefully this will help:<\/p>\n<p><a href=\"http:\/\/code.google.com\/hosting\/settings\">http:\/\/code.google.com\/hosting\/settings<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you already have a gmail account, make sure you&#8217;re logged in (that way, your repository and your account will be linked). Start here: http:\/\/code.google.com\/hosting\/ Go to the &#8216;Create a new Project&#8217; link and create your project&#8230; Install eclipse if you haven&#8217;t already (current recent version is 3.5): http:\/\/www.eclipse.org\/downloads\/ Now you need to install the\u2026 <span class=\"read-more\"><a href=\"https:\/\/adriangrigoras.com\/blog\/how-to-use-google-svn-with-eclipse\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,8],"tags":[],"class_list":["post-164","post","type-post","status-publish","format-standard","hentry","category-google-app-engine","category-java"],"_links":{"self":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/comments?post=164"}],"version-history":[{"count":2,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":166,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts\/164\/revisions\/166"}],"wp:attachment":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/media?parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/categories?post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/tags?post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}