Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » clean fails
clean fails [message #205049] Fri, 16 November 2007 03:52 Go to next message
Eclipse UserFriend
Hi!

I want to change to a newer ECLIPSE version. I've installed ECLIPSE
Europa(ECLIPSE version 3.3.0; build id: M20070921-1145 with CDT
4.0.1.200709241202). With this version cleaning a project doesn't work.
First it the command rm wasn't found. Then I've installed a proper
utility. Now the command is executed without an error.
The executed command is: rm -rf test.d test.exe test.o

But the files will not be deleted. I think the problem is that the command
is beeing executed in the base direcotry of the directory and the files to
be deleted are located in a subdirectoy Debug(active build configuration).

Has anybody an idea how to fix the problem?

PS: In my old working environment(ECLIPSE Version: 3.2.0
Build id: M20060629-1905 with CDT 3.1.2.200702150621) cleaning works fine.
In the console nothing is seen about the clean-cmd.

Thanks
Rainer
Re: clean fails [message #208623 is a reply to message #205049] Fri, 25 January 2008 18:54 Go to previous message
Eclipse UserFriend
Hi Rainer,

You may be using the org.eclipse.cdt.build.core.internal.builder
builder. I ran into a similar problem with this builder. It actually did
remove test.elf and main.o, but it would forget to tell the Project
Explorer or Navigator which would both show test.elf and main.o as still
being present. However, examination of the test/Debug directory with
Windows Explorer would show this directory as empty after a clean and it
would show test.elf and main.o after a build.

When I replaced this builder with the older
cdt.managedbuild.target.gnu.builder in the buildDefinitions builder
(tool) superClass field, the problem vanished. That is, Clean not only
cleans, but the Project Explorer view refreshes to show the removal of
est.elf and main.o.

In my opinion, there is an added benefit to using the older builder: The
makefiles are left behind for examination by the curious like me. This
is reassuring when debugging the toolchain.

Bob Furber

> I want to change to a newer ECLIPSE version. I've installed ECLIPSE
> Europa(ECLIPSE version 3.3.0; build id: M20070921-1145 with CDT
> 4.0.1.200709241202). With this version cleaning a project doesn't work.
> First it the command rm wasn't found. Then I've installed a proper
> utility. Now the command is executed without an error.
> The executed command is: rm -rf test.d test.exe test.o
>
> But the files will not be deleted. I think the problem is that the
> command is beeing executed in the base direcotry of the directory and
> the files to be deleted are located in a subdirectoy Debug(active build
> configuration).
>
> Has anybody an idea how to fix the problem?
>
> PS: In my old working environment(ECLIPSE Version: 3.2.0
> Build id: M20060629-1905 with CDT 3.1.2.200702150621) cleaning works
> fine. In the console nothing is seen about the clean-cmd.
>
> Thanks
> Rainer
>
>
Previous Topic:class introspection not working in the debugger.
Next Topic:debugging out of sequence
Goto Forum:
  


Current Time: Tue May 13 20:41:59 EDT 2025

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

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

Back to the top