netbeans-platform

How to bundle additional (data) files with a Netbeans module?


I'd like to bundle some data files with the Netbeans module i'm working on. I know that i can bundle resources by adding them in a subfolder of /src so they will be packed within the jar. But i don't want the files to appear within an archive. The files should appear "loose" in a subfolder of the RCP app's directory.

Is there a way to achieve that?

Thanks in advance,

David


Solution

  • I got a solution from the NB Platform email list: I just have to create a directory called release and copy the additional files to this folder or a subdirectory. After installation of the module, these contents appear in the applications root folder.