[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-core-dev] Problem Deleting Projects
|
I believe, but have not tested yet, that it is because the current
directory is set to the project directory. The compiler needs to do this.
In fact, so do our runtimes, debugging and normal.
It sure would be nice if the message gave details. When you press Details
>>> you just get Delete /foo failed.
Mary
At 12:17 PM 4/4/2003 -0500, you wrote:
There are basically
two reasons why delete could fail:
1) The workspace is out of sync with the filesystem.
This would imply that you didn't do refreshLocal on all the files you
touched.
2) Your builder left some open file handles on resources in
the project. If another process has an open file handle on a file,
then Eclipse will fail when trying to delete it. Doesn't the
exception give you more details about what couldn't be deleted (either in
dialog "Details" area or the error log file)? It should
tell you exactly which file it failed to delete.
--
Mary Kroening <mary@xxxxxxxx>
Sent by: platform-core-dev-admin@xxxxxxxxxxx
04/03/2003 12:35 PM
Please respond to platform-core-dev
To: platform-core-dev@xxxxxxxxxxx
cc:
Subject: [platform-core-dev] Problem Deleting Projects
Hi,
Using 2.1 if I create an empty Prolog Project (Prolog is the language we
are creating an IDE for), and I do a Project Rebuild, then delete the
project I get an error deleting /foo, where foo is the name of the project
and only the project folder appears in the navigator. If I exit and
re-enter Eclipse, the .project file re-appears in the project folder and
then I can delete the project without error.
If I do not do a Project Rebuild, the project deletes fine. My rebuild
calls an external compiler and linker, so I use refreshLocal() to pick up
the new files. I also mark files that are derived and clean-up old object
files.
What among these actions would cause the project to not be able to delete?
Am I suppose to implement a helper method on Prolog Project deletion? (I
cannot find one in any of the classes).
Thanks,
Mary Kroening
----------------------------------------------------
Amzi! inc.
5861 Greentree Road
Lebanon, OH 45036 U.S.A.
web http://www.amzi.com
tel +1 513 425 8050
e-mail info@xxxxxxxx
fax +1 513 425 8025
----------------------------------------------------
_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-core-dev