Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Change one file but must do clean on project
Change one file but must do clean on project [message #522464] Mon, 22 March 2010 13:36 Go to next message
Eclipse UserFriend
Hi,

I am using Eclipse 3.5 (eclipse-java-galileo-SR2-linux) for a java project. I make a change to one file and then I compile. The change I have made in the code is not built/compiled. It is still using the old version. However when I am making a clean on the project and then build/compile I get the changed code. I would do a clean all the time but it takes a lot of time. I can see that when I am building after a clean there is some copying of resources. And it takes forever....

Any idea how I can avoid this?

br,

//mike
Re: Change one file but must do clean on project [message #522482 is a reply to message #522464] Mon, 22 March 2010 09:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NOSPAM.ibm.com

Are you sure you have incremental build turned on?


--
Thanks,
Rich Kulp
Re: Change one file but must do clean on project [message #522571 is a reply to message #522482] Tue, 23 March 2010 04:05 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Thanks for reply. Where can I check that in Eclipse?

br,

//mike
Re: Change one file but must do clean on project [message #522728 is a reply to message #522571] Tue, 23 March 2010 13:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NOSPAM.ibm.com

Bring down the Project menu and see if "Build automatically" is checked.

--
Thanks,
Rich Kulp
Re: Change one file but must do clean on project [message #522871 is a reply to message #522464] Wed, 24 March 2010 00:50 Go to previous message
Eclipse UserFriend
Il 22/03/2010 18.36, Mikael Petterson ha scritto:
> Any idea how I can avoid this?

Enable "Build automatically" (as Rich says) and be sure you don't have
buildpath problems on your project.

Mauro.
Previous Topic:Update CDT to JDT
Next Topic:Introduce Indirection does nothing on a .class file
Goto Forum:
  


Current Time: Wed Mar 26 01:56:54 EDT 2025

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

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

Back to the top