how to save changes in GnuMakefile programmatically? [message #158396] |
Fri, 18 November 2005 04:31 |
Eclipse User |
|
|
|
Originally posted by: Knadine.t-online.de
hello,
Can somebody tell me how to save a GnuMakefile?
I opened an existing GnuMakefile in my code and added a directive like
this:
-----
file = ResourcesPlugin.getWorkspace().getRoot().getFile(filePath);
GNUMakefile gnuFile = (GNUMakefile)
MakeCorePlugin.getDefault().createMakefile(file);
...
gnuFile.addDirective(newDirective);
-----
But when I open the file the new directive is not there. I checked the
contents of gnuFile and the directive has been added. There doesn't seem
to be a save() function for a GNUMakefile... so how can I manage saving
the changes in the file?
thanx
sth_Weird
|
|
|
Powered by
FUDForum. Page generated in 0.03246 seconds