rm CppSource and javaSource dirs