Scripting - Getting Project name and path [message #656035] |
Wed, 23 February 2011 15:20 |
Eclipse User |
|
|
|
Hi.
I wonder how can I get the name and path of a project.
The situation is this:
The user create a project. In it he creates a BIRT report from a template developed by me.
In the report there is a javascript code that should find a file ending with jpeg. This file should be inside the project folder, but I have no way of knowing in advance the name of the project and its path.
So the javascript code should find the name and path of the user's current project.
Any suggestions?
I read on some forums that I should use IResource.getLocation (), but in these forums the problem was not solved by this approach.
Any help?
Bruno.
|
|
|
Powered by
FUDForum. Page generated in 0.03771 seconds