Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 20:20
Bruno Mattos is currently offline Bruno MattosFriend
Messages: 17
Registered: November 2010
Junior Member
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: Thu Apr 25 05:13:07 GMT 2024

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

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

Back to the top