Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
How add custom emitter plugin to maven project
billybon
<p>Hi,
How can I add custom emitter plugin to maven project?
I have maven project.
I added birt and custom emitter plugin to my pom.</p><pre class="_prettyXprint"><dependency> <groupId>org.eclipse.birt.runtime</groupId> <artifactId>org.eclipse.birt.runtime</artifactId> <version>${birt.version}</version> <exclusions> <exclusion> <groupId>org.eclipse.birt.runtime.3_7_1</groupId> <artifactId>org.apache.batik.pdf</artifactId> </exclusion> <exclusion> <groupId>org.eclipse.birt.runtime</groupId> <artifactId>org.apache.poi</artifactId> </exclusion> </exclusions></dependency><dependency> <groupId>org.eclipse.birt</groupId> <artifactId>emitter-mypdf</artifactId> <version>1.0.0</version></dependency></pre><p>I wrote these lines in my code:</p><pre class="_prettyXprint">options.setOutputFormat("mypdf");options.setEmitterID("org.eclipse.birt.report.engine.emitter.mypdf");</pre><p>But I have exception when I try generate report:
<strong>org.eclipse.birt.report.engine.api.EngineException: EmitterID org.eclipse.birt.report.engine.emitter.mypdf for render option is invalid.</strong></p><p> </p><p><span><span>Thanks in advance,</span></span></p><p><span><span>Alexey</span></span></p>
Find more posts tagged with
Comments
cmalnoe
<p>Hello,</p>
<p> </p>
<p>Did you get it work by any chance?</p>
<p> </p>
<p>Caroline</p>