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
Post a Comment