From 29445b6a73839587fe7e142cb04f49f5aae2d078 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Fri, 25 May 2012 00:38:58 -0400 Subject: [PATCH] Add Eclipse import script based on Gradle build --- .gitignore | 8 ++-- import-into-eclipse.sh | 84 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+), 4 deletions(-) create mode 100755 import-into-eclipse.sh diff --git a/.gitignore b/.gitignore index cd4c996d..8d038d63 100644 --- a/.gitignore +++ b/.gitignore @@ -10,10 +10,10 @@ ivy-cache build # Eclipse metadata -#.classpath -#.project -#.settings -#.springBeans +.classpath +.project +.settings +.springBeans # IDEA metadata and output dirs *.iml diff --git a/import-into-eclipse.sh b/import-into-eclipse.sh new file mode 100755 index 00000000..ba9b7197 --- /dev/null +++ b/import-into-eclipse.sh @@ -0,0 +1,84 @@ +STS_TEST_VERSION='2.8.1.RELEASE' + +cd `dirname $0` +clear +cat < Import... > Existing Projects into Workspace + > When prompted for the 'root directory', provide $PWD + > Press enter. You will see the modules show up under "Projects" + > All projects should be selected/checked. Click Finish. + > When the project import is complete, you should have no errors. + +When the above is complete, return here and press the enter key. +EOM + +read + +cat < Share Project... +- In the Share Project dialog that appears, select Git and press Next +- Check "Use or create repository in parent folder of project" +- Click Finish + +When complete, you'll have Git support enabled for all projects. + +You're ready to code! Goodbye! +EOM