Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » "clean workspace" doesn't completely clean?
"clean workspace" doesn't completely clean? [message #308165] Thu, 14 September 2006 18:41 Go to next message
Eclipse UserFriend
Originally posted by: shazlett.no-spam.llnl.gov

Hi all,

I recently ran into a problem that ended up being really annoying. I made some
changes to my code (which generates an internal configuration file for my RCP)
and upon testing the changes - the generated file still had the elements in it
should not have. Thinking there was more than 1 way to generate the config
file, I scoured the codebase and removed all references to this. Testing again
showed that the element was still generated.

So - I cleaned all my projects in the workspace and tried again. Still - the
element was being generated. At this point I began to suspect "clean" doesn't
really work, so I closed Eclipse and restarted and voila - the code behaves as
expected.

My question is this: How can I ensure that when I make changes to my code (and
subsequently "clean" that the cache gets cleaned as well? I hate to think I
have to restart Eclipse everytime.... I saw someone else post recently what I
think is a similar issue with no response. Has anyone ever seen this? Is there
something that I'm missing.

Version: 3.2.1
Build id: M20060802-0800

Windows XP

Cheers!
Susan

--
Susan Hazlett - Computer Scientist
Lawrence Livermore National Laboratory
Computing Applications and Research
Livermore, CA 94550
Re: "clean workspace" doesn't completely clean? [message #308170 is a reply to message #308165] Thu, 14 September 2006 20:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Each eclipse builder is responsible for cleaning up what it created when
clean build occurs. There is no way for Eclipse to know in general what
should be cleaned up on its own. Only the plugin that put it there knows
what is safe to remove on a clean and what not.
Re: "clean workspace" doesn't completely clean? [message #308201 is a reply to message #308170] Fri, 15 September 2006 13:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: shazlett.no-spam.llnl.gov

Rich Kulp wrote:
> Each eclipse builder is responsible for cleaning up what it created when
> clean build occurs. There is no way for Eclipse to know in general what
> should be cleaned up on its own. Only the plugin that put it there knows
> what is safe to remove on a clean and what not.

Thanks for the response, Rich. I'm curious, though - I didn't run into this
problem when using Eclipse 3.1.2 --- Since moving to 3.2, I'm seeing very odd,
erratic behavior in that respect. Development has become more cumbersome
because of these odd artifacts. My Eclipse install is in fact, smaller (i.e.
fewer plug-ins) than with 3.1.2. The only other plug-in I currently have is
Subclipse 1.0.3 - could this be a Subclipse problem?

I'm primarily using the PDE for plug-in/RCP development. I'm curious if anyone
else has seen this behavior?

Susan
Re: "clean workspace" doesn't completely clean? [message #308252 is a reply to message #308201] Mon, 18 September 2006 10:04 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

I don't know. It all depends on what is creating the config file. If it
is not a standard builder, then that builder is not responding correctly
to clean builds. If it wasn't a builder at all that generated the file
then clean build would be ignored since those only go to builders.
Previous Topic:How to show the ant results in eclipse console view in runtime using AntRunner?
Next Topic:How do I get the shell or shell provider and the selection provider of the "Navigator"?
Goto Forum:
  


Current Time: Fri Sep 19 01:46:31 EDT 2025

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

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

Back to the top