Révision 3186
tmp/org.txm.core/src/java/org/txm/objects/Project.java (revision 3186) | ||
---|---|---|
52 | 52 |
import org.eclipse.core.runtime.IProgressMonitor; |
53 | 53 |
import org.eclipse.core.runtime.Path; |
54 | 54 |
import org.eclipse.core.runtime.Platform; |
55 |
import org.eclipse.core.runtime.Status; |
|
55 | 56 |
import org.eclipse.core.runtime.preferences.IEclipsePreferences; |
56 | 57 |
import org.eclipse.osgi.util.NLS; |
57 | 58 |
import org.osgi.framework.Bundle; |
... | ... | |
410 | 411 |
|
411 | 412 |
Log.finest("RUNNING IMPORT MODULE WITH NAME = " + getImportModuleName()); |
412 | 413 |
|
413 |
boolean state = engine.build(this, monitor.internalGetSubMonitor()).isOK();
|
|
414 |
boolean state = engine.build(this, monitor.internalGetSubMonitor()) == Status.OK_STATUS;
|
|
414 | 415 |
if (state == true) { |
415 | 416 |
this.needToBuild = false; |
416 | 417 |
// This step could be done only if the compiler step if done and only if it modifying/deleting the corpus builds |
... | ... | |
428 | 429 |
} |
429 | 430 |
} |
430 | 431 |
return state; |
431 |
|
|
432 | 432 |
} |
433 | 433 |
// Nothing to do if the project does not need to build |
434 | 434 |
else { |
Formats disponibles : Unified diff