ref #8146 move term type to top in details view
[taxeditor.git] / setup-project.sh
index 1799023631dcd5af1fb79cb9db1f9a88df8b2c9e..66bf3b3eab860acf500a0b944304ac6b5d34c79e 100755 (executable)
@@ -1,6 +1,14 @@
 #!/bin/bash
 
-echo -n "Use the local repo? [y,n]"
+echo -n "Clear eclipse project? [y,N]"
+read choice
+
+if [ "$choice" == "y" ]; then
+       find . -type f \( -name ".classpath" -o -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
 
 if [ "$choice" == "y" ]; then