|
Re: GenReport.sh with scripted datasource [message #653222 is a reply to message #653154] |
Tue, 08 February 2011 21:15 |
|
If you are using the API, set:
config.getAppContext().put(EngineConstants.APPCONTEXT_CLASSL OADER_KEY,
thenameoftheclassthiscodeisin.class.getClassLoader());
config.getAppContext().put(EngineConstants.WORKSPACE_CLASSPA TH_KEY,
"classpathstring");
In the example just jar your classes and put it somewhere on your
filesystem and set the classpath string above to point to the jar.
for example:
config.getAppContext().put(EngineConstants.WEBAPP_CLASSPATH_ KEY,
"c:/jars/mjo.jar");
Jason
On 2/8/2011 12:18 PM, gre wrote:
> Hi all,
>
> I've a rptdesign using scripted datasource.
> I've used this tutorial
> http://download.eclipse.org/birt/downloads/examples/scriptin
> g/scripteddatasource/scripteddatasource.html
>
> My report works on eclipse.
> Now, i'd like to use ReportEngine to generate my report.
> org.eclipse.birt.report.viewer####[...] doesn't exist in plugin
> repository, so i don't know how to copy my class
>
> Any help will be appreciated !
>
|
|
|
Powered by
FUDForum. Page generated in 0.03260 seconds