Shared Resource Folder
Hi,
to start platform i have the following code:
EngineConfig engineConfig = new EngineConfig();
engineConfig.setResourcePath("/home/user");
Platform.startup(engineConfig);
//report engine
IReportEngineFactory engineFactory=(IReportEngineFactory) Platform.createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);
reportEngine=engineFactory.createReportEngine(engineConfig);
but when I open a rptdesing and try to add an image from "Image file in shared resources" the folder doesn't appear
Why? I'm using Eclipse Indigo + BIRT 3.7 + Linux
Thanks
to start platform i have the following code:
EngineConfig engineConfig = new EngineConfig();
engineConfig.setResourcePath("/home/user");
Platform.startup(engineConfig);
//report engine
IReportEngineFactory engineFactory=(IReportEngineFactory) Platform.createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);
reportEngine=engineFactory.createReportEngine(engineConfig);
but when I open a rptdesing and try to add an image from "Image file in shared resources" the folder doesn't appear
Why? I'm using Eclipse Indigo + BIRT 3.7 + Linux
Thanks
Warning
No formatter is installed for the format ipb
0
Comments
-
Hi,
I'm using Ubuntu 12.04 and yes the path exists and it's correct. In this folder i had images in this extensions: BMP, JPEG, PNG...
In Eclipse if I set in Preferences > Report Design > Resource the Resource Folder and open a rptdesign inside Eclipse, the Shared Folder appears correctly .... but in my stand alone aplication doesn't appear...Warning No formatter is installed for the format ipb0 -
I just tried your steps on Ubuntu 12.04 LTS 32-bit and wasn't able to get the same results. Everything worked fine for me, how did you install Eclipse, was it via apt-get or did you grab it from Eclipse.org or Birt-Exchange? Also how did you install the BIRT software? Could you take a screenshot for me please?Warning No formatter is installed for the format ipb0
-
I grab it form eclipse.org and install BIRT throught Update Manager.<br />
<br />
Screenshot#1 - Inside Eclipse<br />
<br />
<img src='https://lh6.googleusercontent.com/-dVtIFe-NadM/UGMrAjO09eI/AAAAAAAAB6k/xJAtfSycKUQ/s800/InsideEclipse37.png' alt='Posted Image' class='bbc_img' /><br />
<br />
Screenshot#2 - My Aplication<br />
<br />
<img src='https://lh4.googleusercontent.com/-1ZQBgVDEM4I/UGMrAcdjZDI/AAAAAAAAB6g/NSoxOT9WLWY/s1152/InsideAplicattion.png' alt='Posted Image' class='bbc_img' />Warning No formatter is installed for the format ipb0 -
I followed the same steps as you the only difference is I used<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
# apt-get install eclipse
</pre>
<br />
On ubuntu which pulled in Juno then I installed BIRT through Eclipse. Are you running 32-bit or 64-bit?<br />
<br />
I also downloaded the tar from Eclipse.org (also Juno) and it worked fine for me tooWarning No formatter is installed for the format ipb0 -
32bits.
I'm using Indigo, my problem isn't at eclipse...is my aplication... when I open a report there the Shared Resource Folder isn't set!
I start the BIRT platform this way :
engineConfig.setResourcePath("/home/user");
Platform.startup(engineConfig);
//report engine
IReportEngineFactory engineFactory=(IReportEngineFactory) Platform.createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);
reportEngine=engineFactory.createReportEngine(engineConfig);Warning No formatter is installed for the format ipb0 -
Don't result, I tried this :
engineConfig.setResourcePath("/home/user/Images");
Platform.startup(engineConfig);
//report engine
IReportEngineFactory engineFactory=(IReportEngineFactory) Platform.createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);
reportEngine=engineFactory.createReportEngine(engineConfig);
System.out.println("Current Resource Folder : " + engineConfig.getResourcePath());
At runtime the output is correct but on BIRT (runing inside my aplication) isn't set :SWarning No formatter is installed for the format ipb0 -
You could try creating symbolic link from the path you want to use to the default resource path on ubuntu that way you won't need to change the path for the resource path in your code at all.<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
ln -s /home/user/Images /default/path/of/resources
</pre>
<br />
You may or may not need to run sudo with that depending on how your Eclipse is installed and whereWarning No formatter is installed for the format ipb0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management