aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormclay2009-03-24 16:55:45 (EDT)
committersefftinge2009-03-24 16:55:45 (EDT)
commit9e2f86397b5ade85df9141ac69c9024ae5079d2f (patch)
tree7f7cdce65cbad04a2b2e88487de5e808eff27f43
parent41f52886bb7e489ee92d0967b11bd1cc7ac86501 (diff)
downloadorg.eclipse.xtext-9e2f86397b5ade85df9141ac69c9024ae5079d2f.zip
org.eclipse.xtext-9e2f86397b5ade85df9141ac69c9024ae5079d2f.tar.gz
org.eclipse.xtext-9e2f86397b5ade85df9141ac69c9024ae5079d2f.tar.bz2
https://bugs.eclipse.org/bugs/show_bug.cgi?id=268785
-rw-r--r--plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/EclipseResourceUtil.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/EclipseResourceUtil.java b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/EclipseResourceUtil.java
index 08ba86d..9000858 100644
--- a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/EclipseResourceUtil.java
+++ b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/EclipseResourceUtil.java
@@ -44,7 +44,7 @@ import org.eclipse.ui.ide.IDE;
/**
* Represents a helper/util class to work with eclipse core resource
* abstractions for workspace,project,files and directories. For the most part
- * this code was copied from the last version 4.3.x of openArchitectureWare.
+ * this code was copied from the last version (4.3.1) of openArchitectureWare.
*
* @author Michael Clay
*/
@@ -58,7 +58,7 @@ public class EclipseResourceUtil {
final List<IProject> referencedProjects, final Set<String> requiredBundles,
final List<String> exportedPackages, final List<String> importedPackages,
final String activatorClassName,
- final IProgressMonitor progressMonitor, final Shell theShell) {
+ final IProgressMonitor progressMonitor, final Shell theShell,String[] projectNatures) {
IProject project = null;
try {
progressMonitor.beginTask("", 10);
@@ -99,7 +99,7 @@ public class EclipseResourceUtil {
}
}
- projectDescription.setNatureIds(new String[] { JavaCore.NATURE_ID, "org.eclipse.pde.PluginNature" });
+ projectDescription.setNatureIds(projectNatures);
final ICommand java = projectDescription.newCommand();
java.setBuilderName(JavaCore.BUILDER_ID);