|How to get the projects folder from in a script? [message #754299]
||Tue, 01 November 2011 23:22
Using BIRT within an EMF based RCP application. Using a set of |
pre-created reports in a reports project that can then be copied as
files to one or more active projects containing EMF data model instances.
Currently using a beforeOpen script to find the externalized connection
var folder = reportContext.getDesignHandle().getSystemId();
this.setExtensionProperty("OdaConnProfileStorePath", folder +
Ideally instead of copying files I would like to use linked files
instead. But then the getSystemId() will not suffice. (It always shows
the real reports directory not the linked one running in the Report
Is there a way to find out the project directory of the report design
that is being run in the viewer instead?
thanks for any suggestions,
Powered by FUDForum
. Page generated in 0.20195 seconds