Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes IDEs, Version Control and other tools and the fly likes eclipse build from java source slow... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse build from java source slow..." Watch "eclipse build from java source slow..." New topic
Author

eclipse build from java source slow...

jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Hi guys. I have a large eclipse project which depends on 6 other projects. When I launch, it rebuilds everything. Id like it to only rebuild files that have changed since the last build. Or, Id just like it to build a little faster. How can I get eclipse to build more cleverly ? Please suggest a non ant solution ! This problem is not so severe or complex that I need to custom build using a powerful tool like ant (at least, not yet) I assume there should be an eclipse pref for this ?
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

One good/easy way is to customize the "aspects" or "entities" on the validation eclipse does during the build. You can customize and uncheck the not-so-important-and-not-much-wanted options like EJB, Schema Validator etc., Check your "Preferences - Validation" menu option in Eclipse!


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5811
    
    7

Turn off automatic builds in Eclipse. Under Windows > Preferences, then under General > Workspace uncheck "Build automatically". (This is the first thing I do when i upgrade to a new version of Eclipse, but then I do all of my builds via Ant from the command line anyway.) Of course you then have to remember to do the builds manually (right-click project, then click Build Project).


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eclipse build from java source slow...
 
Similar Threads
Using Eclipse 3.1.0 IDE, JBOSS 4.0.0 server & ANT as build tool
Creating Workspace from an Old One in Eclipse
Need help to build a file using ant in eclipse
eclipse 3.2 and build.xml
use Ant in Eclipse 3.1