Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2010-04-22 16:33:09 -0400
committeratikhomirov2010-04-22 16:33:09 -0400
commit76101de1e508b18d62319a71dc56b60848f30330 (patch)
treeee8d5778f19066a2c822d6f0449793844ea4bfca
parent1c90aa2fadb35115712a817c1de610db87fe9156 (diff)
downloadorg.eclipse.gmf-tooling-76101de1e508b18d62319a71dc56b60848f30330.tar.gz
org.eclipse.gmf-tooling-76101de1e508b18d62319a71dc56b60848f30330.tar.xz
org.eclipse.gmf-tooling-76101de1e508b18d62319a71dc56b60848f30330.zip
another attempt to figure out reasons for sporadic compilation errors
-rw-r--r--tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/CompileUtil.java11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/CompileUtil.java b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/CompileUtil.java
index 16262b64d..281d69523 100644
--- a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/CompileUtil.java
+++ b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/CompileUtil.java
@@ -13,6 +13,7 @@ package org.eclipse.gmf.tests;
import java.util.ArrayList;
+import org.eclipse.core.resources.ICommand;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
@@ -32,9 +33,13 @@ public class CompileUtil {
public IStatus build(IProject project) {
try {
System.err.println("Compiling project " + project.getName());
- System.err.println("\t" + "Natures:");
- for (String s : project.getDescription().getNatureIds()) {
- System.err.println("\t" + s);
+ if (!project.isAccessible()) {
+ System.err.println("\tNOT ACCESSIBLE!!!");
+ }
+ System.err.println("\t" + "Builders:");
+ ICommand[] buildCommands = project.getDescription().getBuildSpec();
+ for (int i = 0, l = buildCommands.length; i < l; i++) {
+ System.err.println("\t" + buildCommands[i].getBuilderName());
}
} catch (Exception ex) {
System.err.println("!!! JavaProject games are over with " + ex);

Back to the top