Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » turn or automatic project build ?
turn or automatic project build ? [message #150803] Fri, 26 March 2004 16:50 Go to next message
Eclipse UserFriend
Originally posted by: jalpesh.bea.com

I was recently on an IDEA newsgroup and somebody mentioned that eclipse
3.0 builds also have a feature by which you can turn of automatic
build of your project in eclipse.

Does anyone know how to do that ? My project has over 5000 files and
rebuilding the project takes forever for me as I'm changing the files.
It would be great if I can turn of auto-build (just like IDEA does)

Also would anyone know what do we lose by turning of the automatic
project build action.


Thanks,
Jalpesh.
Re: turn off automatic project build ? [message #150808 is a reply to message #150803] Fri, 26 March 2004 17:11 Go to previous messageGo to next message
Eclipse UserFriend
Window>Preferences>Workbench>Perform build automatically on resource
modification

If you turn it off, the build state will not be updated for every resource
modification.
The user will have to explicitly invoke a build (see the Project menu) to
update the state.

HTH
Darins

"Jalpesh Patadia" <jalpesh@bea.com> wrote in message
news:c427ni$r3d$1@eclipse.org...
> I was recently on an IDEA newsgroup and somebody mentioned that eclipse
> 3.0 builds also have a feature by which you can turn of automatic
> build of your project in eclipse.
>
> Does anyone know how to do that ? My project has over 5000 files and
> rebuilding the project takes forever for me as I'm changing the files.
> It would be great if I can turn of auto-build (just like IDEA does)
>
> Also would anyone know what do we lose by turning of the automatic
> project build action.
>
>
> Thanks,
> Jalpesh.
Re: turn or automatic project build ? [message #151132 is a reply to message #150803] Sat, 27 March 2004 12:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

Jalpesh Patadia wrote:

> I was recently on an IDEA newsgroup and somebody mentioned that eclipse
> 3.0 builds also have a feature by which you can turn of automatic
> build of your project in eclipse.
>
> Does anyone know how to do that ? My project has over 5000 files and
> rebuilding the project takes forever for me as I'm changing the files.
> It would be great if I can turn of auto-build (just like IDEA does)
>
> Also would anyone know what do we lose by turning of the automatic
> project build action.

You say that is takes "forever" to build your whole project. That may be
the case, but the automatic builds that happen whenever you save a
source file are not doing a complete build. The Eclipse compiler is what
is called an incremental compiler, meaning it only compiles what was
changed and whatever depends on what was changed. So when you change a
single file, it will be re-compiled and so will whatever other classes
depend on it, but certainly not your entire project. Even in large
projects, this takes AT MOST a couple of seconds, IME.

What I'm trying to tell you is that it is rarely beneficial to disable
the automatic incremental compilation - it is very intelligent about
what to compile and what not to. If you are seeing complete rebuilds of
your project all the time then something is wrong - that is not normal
behavior.

HTH,
Eric


There are no rules here - we're trying to accomplish something.
- Thomas Edison
Re: turn or automatic project build ? [message #151515 is a reply to message #151132] Tue, 30 March 2004 03:35 Go to previous message
Eclipse UserFriend
Originally posted by: frode.halvorsen.hoco.no

I also have trouble with things like this in projects with many files, but
it is not a rebuild that takes place. It is the update of the workspace,
especially the task/error list if there is many warnings or unfinished
todo's etc.

It seems that the workplace searches through every file in order to get new
status for this.


"Eric Rizzo" <eclipse@rizzoweb.com> skrev i melding
news:c44e1e$pvu$1@eclipse.org...
> Jalpesh Patadia wrote:
>
> > I was recently on an IDEA newsgroup and somebody mentioned that eclipse
> > 3.0 builds also have a feature by which you can turn of automatic
> > build of your project in eclipse.
> >
> > Does anyone know how to do that ? My project has over 5000 files and
> > rebuilding the project takes forever for me as I'm changing the files.
> > It would be great if I can turn of auto-build (just like IDEA does)
> >
> > Also would anyone know what do we lose by turning of the automatic
> > project build action.
>
> You say that is takes "forever" to build your whole project. That may be
> the case, but the automatic builds that happen whenever you save a
> source file are not doing a complete build. The Eclipse compiler is what
> is called an incremental compiler, meaning it only compiles what was
> changed and whatever depends on what was changed. So when you change a
> single file, it will be re-compiled and so will whatever other classes
> depend on it, but certainly not your entire project. Even in large
> projects, this takes AT MOST a couple of seconds, IME.
>
> What I'm trying to tell you is that it is rarely beneficial to disable
> the automatic incremental compilation - it is very intelligent about
> what to compile and what not to. If you are seeing complete rebuilds of
> your project all the time then something is wrong - that is not normal
> behavior.
>
> HTH,
> Eric
>
>
> There are no rules here - we're trying to accomplish something.
> - Thomas Edison
Previous Topic:How to go back the bookmark?
Next Topic:misc. mouse-functions don't work in eclipse
Goto Forum:
  


Current Time: Sun Jun 08 05:39:19 EDT 2025

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

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

Back to the top