wood burning stoves 2.0*
The moose likes Spring and the fly likes how to checkout sample projects from springsource community Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "how to checkout sample projects from springsource community" Watch "how to checkout sample projects from springsource community" New topic
Author

how to checkout sample projects from springsource community

prateek sharmaa
Ranch Hand

Joined: May 15, 2010
Posts: 38
hi all,
can anyone please tell me that how to checkout sample projects from springsource community.
when i am clicking on the projects it is opening in a directory structure but i am not able to checkout. please help me.

thanks,
pratz
Divya Janyavula
Greenhorn

Joined: May 24, 2011
Posts: 19
Hi,
If you are using eclipse then go to "SVN Repository Explorer" and add a new repository location whose path is the link to the code. for ex : https://src.springframework.org/svn/spring-samples/configuration-basic/trunk/

Else you need to install SVN in your machine and checkout code from the spring repository.
prateek sharmaa
Ranch Hand

Joined: May 15, 2010
Posts: 38
i have downloaded SVN plugin and able to get SVN repository view in my eclipse as well.
then i have installed SVN connector using the below sequence :
* go to eclipse main menu, choose Help > Install New Software. The available Software dialog appears.
* In the Work with list, select Helios - http://download.eclipse.org/releases/helios. A list of software packages appears.
* Expand the Collaboration node.
* Scroll the list and check box for Subversive Team Provider (incubation)
* Check other options in the dialog as desired and click the Next button. The Install Details screen appears in the dialog.
* Click the Next button, accept the license and click Finish. Subversive will dowload and install.
* It is recommended to accept the option to restart Eclipse.

after the installation is done i am trying to connect to the SVN repository of petclinic project using the URL :
https://src.springframework.org/svn/spring-samples/petclinic/trunk/

but i am getting the below mentioned error :

SVN: '0x00400006: Validate Repository Location' operation finished with error: Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Connector.

i checked the path Window->Preferences->Team->SVN->SVN Connector in my eclipse and found that it is not pointing to any SVN connector and no option is coming in the drop down for SVN connector.

please help as i am still not able to checkout the project.

thanks,
pratz
prateek sharmaa
Ranch Hand

Joined: May 15, 2010
Posts: 38
hi,
i resolved the issue. i have added the url to install the SVN connector and now it is fetching the content.

thanks a lot for your help.

pratz.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to checkout sample projects from springsource community