scripted data set; bug in the BIRT plugins? [message #871001] |
Thu, 10 May 2012 09:58  |
Eclipse User |
|
|
|
I'm experimenting with writing a scripted data set and I currently am generated rows. The next step is to actual fill those rows with data, and for that I need to access my own classes. I have figured out that I need to set the classpath in the "report design" preferences for this, so I have included all dependency jars of my project, but I naturally also need to include my own classes. The dialog does not allow to include a project, so I've included the classes directory.
Nevertheless, I'm still getting the infamous "is not a function, it is object.", which actually seems to mean "cannot find class". So after starting Eclipse in console mode (eclipsec) I finally found the root of my problem:
java.io.FileNotFoundException: C:\Documents%20and%20Settings\User\My%20Documents
\m2license\server\trunk\source\service\target\M2LicenseService\WEB-INF\classes (
The system cannot find the path specified)
It seems the path is added with URL escaping, but these are not unescaped. Spaces are killing MSWindows again. I assume this is a bug in the BIRT plugins?
Tom
|
|
|
|
|
|
|
|
|
|
|
Re: scripted data set; bug in the BIRT plugins? [message #871893 is a reply to message #871773] |
Tue, 15 May 2012 00:57  |
Eclipse User |
|
|
|
FYI: I did find a working setup though, because this only affects the preview. I'm using JRebel to modify a scripted data set in Java (fetching data from a mix of Cassandra and LDAP), simply save the report with the layout changes, and then refresh it in a browser.
|
|
|
Powered by
FUDForum. Page generated in 0.45107 seconds