#!/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