I need to read and write a XML file from my Product, and I don't know how to do that ...
Where should I put my initial file.xml ? How can I tell eclipse to not copy this file in my .jar product ?
I try to read file using the usual reading o file in normal apps and it works
but when I try it in RCP apps to files to locate the file. I like an RCP apps
to read and write to a file just like any normal apps.
Is the XML file on the filesystem, or in the project itself? If that's the case you'll need to open the file relative to the plugin. Let me know and I'll try to help
Thanks for your reply.
This is the situation. The file is relative to the project. In reading a file using a normal apps
(not an RCP apps) you just dot it like this File file = new File("conf/file.xml). But in RCP apps, it produce an error, Cannot find the specified path. I like to read the file relative to the project.