Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » how to temporarily disable incremental compile?
how to temporarily disable incremental compile? [message #141232] Wed, 11 February 2004 18:16 Go to next message
Eclipse UserFriend
Originally posted by: cj_daly.yahoo.com

(using 3.0M6)

I'm using the org.eclipse.jdt.core ("Java Model") interfaces to
programmatically generate a bunch of classes and methods. When I do this
the Problems view goes crazy with error messages because in the middle of
class generation many things are not semantically correct yet. But at the
end everything is correct and the Problems view is empty.

This behavior is distracting and the constant re-compiling probably makes
what I'm trying to do a lot slower too. So is there some way to disable
the re-compile between the start and end of my code generation?

Chris
Re: how to temporarily disable incremental compile? [message #141253 is a reply to message #141232] Wed, 11 February 2004 18:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: smesh.openrules.com

2.1.X - Window/Preferences/Workbench/Perform build automatically...

Sam Mesh - http://openrules.com
Life is very short, and there's no time,
For coding and testing, my friend.
Re: how to temporarily disable incremental compile? [message #141286 is a reply to message #141253] Wed, 11 February 2004 19:11 Go to previous message
Eclipse UserFriend
Originally posted by: cj_daly.yahoo.com

Sam Mesh wrote:

> 2.1.X - Window/Preferences/Workbench/Perform build automatically...

Ok, I wanted to do this programmatically but looking into how that
preference page is implemented I came up with something like this - which
seems to do what I want:

private void setAutoBuilding(boolean value) {
IWorkspace workspace = MyPlugin.getWorkspace();
IWorkspaceDescription desc = MyPlugin.getWorkspace().getDescription();
desc.setAutoBuilding(value);

try {
workspace.setDescription(desc);
}
catch (Exception ex) {
System.err.println(ex);
}
}
Previous Topic:When / where does the java editor (example or jdt) determine the javaDoc status of text to follow
Next Topic:[Code Formatter] Indent Within Blocks
Goto Forum:
  


Current Time: Sat May 10 10:15:25 EDT 2025

Powered by FUDForum. Page generated in 0.03261 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top