diff --git a/bin/lib/create.js b/bin/lib/create.js
index a816d355..c7f5656a 100755
--- a/bin/lib/create.js
+++ b/bin/lib/create.js
@@ -58,7 +58,7 @@ function copyJsAndLibrary(projectPath, shared, projectName) {
if (shared) {
shell.rm('-rf', nestedCordovaLibPath);
} else if (!wasSymlink) {
- // Delete only the src, since eclipse can't handle its .project file being deleted.
+ // Delete only the src, since Eclipse / Android Studio can't handle their project files being deleted.
shell.rm('-rf', path.join(nestedCordovaLibPath, 'src'));
}
});
@@ -72,13 +72,6 @@ function copyJsAndLibrary(projectPath, shared, projectName) {
shell.cp('-f', path.join(ROOT, 'framework', 'build.gradle'), nestedCordovaLibPath);
shell.cp('-f', path.join(ROOT, 'framework', 'cordova.gradle'), nestedCordovaLibPath);
shell.cp('-r', path.join(ROOT, 'framework', 'src'), nestedCordovaLibPath);
- // Create an eclipse project file and set the name of it to something unique.
- // Without this, you can't import multiple CordovaLib projects into the same workspace.
- var eclipseProjectFilePath = path.join(nestedCordovaLibPath, '.project');
- if (!fs.existsSync(eclipseProjectFilePath)) {
- var data = '' + projectName + '-' + 'CordovaLib';
- fs.writeFileSync(eclipseProjectFilePath, data, 'utf8');
- }
}
}
@@ -248,17 +241,6 @@ exports.createProject = function(project_path, package_name, project_name, activ
// Manually create directories that would be empty within the template (since git doesn't track directories).
shell.mkdir(path.join(project_path, 'libs'));
- // Add in the proper eclipse project file.
- if (use_cli_template) {
- var note = 'To show `assets/www` or `res/xml/config.xml`, go to:\n' +
- ' Project -> Properties -> Resource -> Resource Filters\n' +
- 'And delete the exclusion filter.\n';
- shell.cp(path.join(project_template_dir, 'eclipse-project-CLI'), path.join(project_path, '.project'));
- fs.writeFileSync(path.join(project_path, 'assets', '_where-is-www.txt'), note);
- } else {
- shell.cp(path.join(project_template_dir, 'eclipse-project'), path.join(project_path, '.project'));
- }
-
// copy cordova.js, cordova.jar
copyJsAndLibrary(project_path, use_shared_project, safe_activity_name);
@@ -267,7 +249,6 @@ exports.createProject = function(project_path, package_name, project_name, activ
shell.cp('-f', path.join(project_template_dir, 'Activity.java'), activity_path);
shell.sed('-i', /__ACTIVITY__/, safe_activity_name, activity_path);
shell.sed('-i', /__NAME__/, project_name, path.join(project_path, 'res', 'values', 'strings.xml'));
- shell.sed('-i', /__NAME__/, project_name, path.join(project_path, '.project'));
shell.sed('-i', /__ID__/, package_name, activity_path);
shell.cp('-f', path.join(project_template_dir, 'AndroidManifest.xml'), manifest_path);
diff --git a/bin/templates/project/eclipse-project b/bin/templates/project/eclipse-project
deleted file mode 100644
index 42bcc3ee..00000000
--- a/bin/templates/project/eclipse-project
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
- __NAME__
-
-
-
-
-
- com.android.ide.eclipse.adt.ResourceManagerBuilder
-
-
-
-
- com.android.ide.eclipse.adt.PreCompilerBuilder
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- com.android.ide.eclipse.adt.ApkBuilder
-
-
-
-
-
- com.android.ide.eclipse.adt.AndroidNature
- org.eclipse.jdt.core.javanature
-
-
-
- 1388696068187
-
- 10
-
- org.eclipse.ui.ide.multiFilter
- 1.0-name-matches-false-true-CordovaLib|platform_www|cordova
-
-
-
-
-
diff --git a/bin/templates/project/eclipse-project-CLI b/bin/templates/project/eclipse-project-CLI
deleted file mode 100644
index 581b3ab1..00000000
--- a/bin/templates/project/eclipse-project-CLI
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
- __NAME__
-
-
-
-
-
- com.android.ide.eclipse.adt.ResourceManagerBuilder
-
-
-
-
- com.android.ide.eclipse.adt.PreCompilerBuilder
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- com.android.ide.eclipse.adt.ApkBuilder
-
-
-
-
-
- com.android.ide.eclipse.adt.AndroidNature
- org.eclipse.jdt.core.javanature
-
-
-
- config.xml
- 1
- $%7BPARENT-2-PROJECT_LOC%7D/config.xml
-
-
- www
- 2
- $%7BPARENT-2-PROJECT_LOC%7D/www
-
-
- merges
- 2
- $%7BPARENT-2-PROJECT_LOC%7D/merges
-
-
-
-
- 1390880034107
-
- 30
-
- org.eclipse.ui.ide.multiFilter
- 1.0-projectRelativePath-matches-false-true-^(build.xml|ant-gen|ant-build|custom_rules.xml|CordovaLib|platform_www|cordova)
-
-
-
- 1390880034108
-
- 30
-
- org.eclipse.ui.ide.multiFilter
- 1.0-projectRelativePath-matches-false-true-^(assets/www|res/xml/config.xml)
-
-
-
-
-