views:

69

answers:

0

I am trying to integrate the default BIRT WebViewerExample into maven build process. I created a project in eclipse, defined the pom file and can successfully build and deploy the war.

However, it looks like the deployed directory structure is different from the directory structure provided in the BIRT runtime - specifically, in the runtime zip the birt directory is under webcontent which is under webapplication root. However, in my maven managed deploy the birt directory is under webapplication root. So, I get error

javax.servlet.ServletException: File "/webcontent/birt/pages/layout/FramesetFragment.jsp" not found
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:319)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(FramesetFragment.java:98)
org.eclipse.birt.report.servlet.ViewerServlet.__doGet(ViewerServlet.java:181)
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:160)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68) 

Is there a way to remap the location of the pages/ styles that the BIRT viewer servlet is looking for? Or, is there a different way to integrate BIRT WebViewerExample in a maven build process (not too keen on just doing a zip file. need to be able to start with an eclipse project/ build/ deploy it).

TIA