Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / November 2003

Tip: Looking for answers? Try searching our database.

Eclipse compiles whole project after break

Thread view: 
Dejan Mratinkovic - 01 Nov 2003 18:12 GMT
When I use eclipse, and it breaks in some reason (mostly during
debug), when it starts again, when I compile file ( ctrl+ b), it
deletes .class files from whole project, and build them again.

I have lots of classes in my project, an it tooks a time while it
compiles... and there is no need to becouse all are up to date.

Can I turn of this option somehow?
Dobromir Gaydarov - 02 Nov 2003 00:09 GMT
> When I use eclipse, and it breaks in some reason (mostly during
> debug), when it starts again, when I compile file ( ctrl+ b), it
[quoted text clipped - 4 lines]
>
> Can I turn of this option somehow?

Yes, do not press ctrl-b.

According to the Eclipse help pages ctrl-b is a shortcut for "Build all".
If you just save the file (ctrl-s) it will be compiled together with all the
files that depend on it - isn't that what you need?
(to be precise Eclipse compiles the file even as you type, when you save it
checks the other files that depend on it).

The only case when you need Build/Rebuild all is when you did changes to the
file system outside of Eclipse (using Ant for example).
Even then doing a "Project/Refresh" is enough in most of the cases.

Regards,
Dobromir
Dejan Mratinkovic - 03 Nov 2003 11:42 GMT
> > When I use eclipse, and it breaks in some reason (mostly during
> > debug), when it starts again, when I compile file ( ctrl+ b), it
[quoted text clipped - 19 lines]
> Regards,
> Dobromir

Thanks Dobromir.

But ctrl+b usually works fine in other cases - compiles just the file
I wont (have turnd off option to compile on save). Is there a way to
do colmipile of just a file with this settings? I like to save may
files in every few secs... just in case ... but don't like to compile
it this often ... I have lots of libraris included, and compiling
after every save is annoying.

If I don't compile it, and go to debug, Eclipse will do the same thing
- it first recompiles all and then start debug. It happends only after
I closed eclipse form task manager, becouse it blocked during debug or
in some other reson.

The problem is, it starts recompiling all clases when I start debug,
altought there is no change made since last time I used debug.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.