X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/blobdiff_plain/2cd5eebf7bc0b8bec3a687ff2f29528241e310a2..e978c93a55c10d8a19814ab9c494123833d83369:/setup-project.sh diff --git a/setup-project.sh b/setup-project.sh index 179902363..66bf3b3ea 100755 --- a/setup-project.sh +++ b/setup-project.sh @@ -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