DeleteOperationImplementation error

Paco Barrera <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAFS-qLkyC70FfLLtE9kuBgXV2mUtp8CQDQmqTUv_6iPgkvLc_A@mail.gmail.com>
Hi team,

I have a problem deleting projects from my application.
This issue only happens on Windows systems, not in Linux.

I've implemented for my custom project type in
DeleteOperationImplementation the getDataFiles() method to get the
FileObjects to delete.

I try two ways to do it:
1) only put the project folder FileObject in the ArrayList returned: all
files are deleted except one file, that is the file that ProjectFactory
uses to identify a folder as a project in the application
2) put all the FileObjects childrens for the project folder: an error
NotifyDescriptor popups pointing that cannot delete the file mentioned
before

I don't know how to resolves this, because I can't delete the files, this
operations are performed by netbeans.

Thanks in advance for any help.

------------------------------------------------------------------------------------------------

*Product Version:* NetBeans IDE 8.0.2 (Build 201411181905)

*Updates:* NetBeans IDE is updated to version NetBeans 8.0.2 Patch 2
<http://wiki.netbeans.org/NetBeans8.0.2PatchesInfo>

*Java:* 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02

*Runtime:* Java(TM) SE Runtime Environment 1.8.0_25-b18

*System:* Windows 8 version 6.2 running on amd64; Cp1252; es_ES (nb)
------------------------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.