Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-core-dev] Problem Deleting Projects

Thanks for the help. The problem was, in fact, setting the current directory to the project directory (under Windows 2000). Perhaps you want to reset the current directory before trying to delete a project.

Regards,
Mary Kroening
Amzi! inc.

At 02:26 PM 4/4/2003 -0500, you wrote:

To my knowledge, changing the working directory shouldn't have any effect.  You could try running in debug mode, and tell the debugger to stop when org.eclipse.core.runtime.CoreException is thrown.  You can do this in the breakpoints view by clicking the J! button.  By looking at the contents of the CoreException, its status, and any status children, you may learn more about what's causing your problem.  Or simply learning where the exception is coming from may be helpful.  Problems like this can be difficult to diagnose because we just call java.io.File.delete(), which never throws exceptions.  It just returns a boolean value indicating if the delete was successful, so we don't generally know *why* the delete failed.  Let us know what you find.
--




Mary Kroening <mary@xxxxxxxx>
Sent by: platform-core-dev-admin@xxxxxxxxxxx

04/04/2003 01:56 PM
Please respond to platform-core-dev
       
        To:        platform-core-dev@xxxxxxxxxxx
        cc:       
        Subject:        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


Back to the top