How can I write into a file within an Eclipse bundle? -


i have xml configuration file located plugin resources. want update file whenever in plugin happens event. found methods find , read contents of file located plugin classpath, i'm looking way write such file.

there way?

many thanks.

that location (the install directory) intended read-only since may shared in network install scenario. suggest instead write xml file plugin's state location intended purpose:

string path = activator.getdefault().getstatelocation().tostring(); 

i should add gives qualified path directory created eclipse files plugin wants store. directory unique plugin.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -