ref #4227 restoring setup-project.sh
[taxeditor.git] / setup-project.sh
index 1799023631dcd5af1fb79cb9db1f9a88df8b2c9e..c3fafc34851e5f238896541bc8ac530588776898 100755 (executable)
@@ -1,5 +1,13 @@
 #!/bin/bash
 
+echo -n "Clear eclipse project? [y,n]"
+read choice
+
+if [ "$choice" == "y" ]; then
+       find -type f -name ".classpath" -or -name ".project" -prune -exec rm -f {} \;
+       find -type d -name ".settings" -prune -exec rm -rf {} \;
+fi
+
 echo -n "Use the local repo? [y,n]"
 read choice