Reputation: 9191
I am doing this tutorial, and am trying to import this project into eclipse. The problem is that the tutorial does not give an adequate explanation of how to import the project into eclipse.
I have the springsource tool suite plugin installed, and I am using windows 7.
The tutorial uses a mac to open up a terminal, and type in:
svn checkout https://src.springframework.org/svn/spring-samples/mvc-showcase
and a bunch of directories appear. But when I type in that command in c:\windows\system32\cmd.exe, I get:
'svn' is not recognized as an internal or external command, operable program, or batch file
I am probably using 64 bit versions of eclipse, sts, etc. But it would be nice to have some way of importing projects using a gui instead of having to resort to the command line.
Can anyone either write out or direct me to explicit, step-by-step instructions for how to import a maven project into eclipse kepler using the m2e plugin, preferably through a gui?
Upvotes: 0
Views: 2911
Reputation: 20110
Use TortoiseSVN to download from the repository (as mentioned), which provides an excellent GUI.
Then, you can generate an Eclipse project from Maven by using the Maven Eclipse plugin from the command line, and use the GUI to import from there (like so):
mvn eclipse:eclipse
The Documentation has more info.
I know you prefer a GUI option, but I've found the results to be much more reliable than the M2E plugin. I use IntelliJ community edition now in preference to Eclipse, because Maven import just works without any fiddling at all.
Upvotes: 1
Reputation: 68715
You need to install the svn client first on your windows machine. svn is a code control tool, using which you can connect to a code repository to checkout or checkin the code. You can download svn client from here:
http://tortoisesvn.tigris.org/
Once you checkout the code/project, then you can import in eclipse. If it is a maven project then you should have maven eclipse plugin(m2e) installed. Follow this link to install m2e eclipse plugin:
http://maven.apache.org/eclipse-plugin.html
Upvotes: 1