Author: dgolovin
Date: 2009-01-22 19:39:02 -0500 (Thu, 22 Jan 2009)
New Revision: 13219
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java
Log:
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java
===================================================================
---
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java 2009-01-22
20:40:48 UTC (rev 13218)
+++
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java 2009-01-23
00:39:02 UTC (rev 13219)
@@ -186,6 +186,7 @@
IProject project = null;
try {
+ boolean state = ResourcesUtils.setBuildAutomatically(false);
project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
project.create(null);
project.open(null);
@@ -217,6 +218,8 @@
// run import
importOp.run(null);
JobUtils.waitForIdle(IMPORT_DELAY);
+ ResourcesUtils.setBuildAutomatically(state);
+ JobUtils.waitForIdle(IMPORT_DELAY);
} catch (InvocationTargetException ite) {
// TePlugin.getDefault().logError(ite.getCause());
Show replies by date