Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Scripting - Getting Project name and path
icon5.gif  Scripting - Getting Project name and path [message #656035] Wed, 23 February 2011 15:20
Eclipse UserFriend
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.
Previous Topic:Tabbed Properties Eclipse Question
Next Topic:How to override a standard command handler?
Goto Forum:
  


Current Time: Wed Jul 09 23:19:43 EDT 2025

Powered by FUDForum. Page generated in 0.03771 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top