unable to get the project location [message #158413] |
Mon, 26 June 2006 08:14 |
Eclipse User |
|
|
|
Hi All,
I am developing a plugin application, in which I need to create XML
files at runtime and place these files in the project path. I am done with
the creation of XML files and placing in the runtime workspace, but the
generated XML files are not getting the project path.
In the coding I have used a IPath instance for giving path to the
generated XML files.
Using
ResourcesPlugin.getWorkspace().getRoot().getProjectRelativeP ath() I am
able to get the project relative path, but the getProject method is not
working.
One more thing I want to state is that my project is not in
workspace and i don't want that also.
Please give some guidence regarding this.
If anybody can give the sample code that would be much more
benificial.
Thanks.
-Shailendra Singh
|
|
|
Powered by
FUDForum. Page generated in 0.05738 seconds