compiling BIRT 1.0.1 fails on eclipse 3.1 [message #70097] |
Mon, 29 August 2005 15:36 |
Eclipse User |
|
|
|
Originally posted by: fakeuser.poh.dynalias.org
The access restrictions javax.servlet (among other things) in
servlet.jar in the tomcat plugin are set to discouraged, and birt was
giving me a warning, but when I try to compile the viewer
(ant -f org/eclipse/birt/report/viewer/BuildViewer.xml)
I get an error message saying "package javax.servlet does not exist"
How do I make javax.servlet visible to the project?
|
|
|
|
Re: compiling BIRT 1.0.1 fails on eclipse 3.1 [message #70157 is a reply to message #70118] |
Mon, 29 August 2005 20:10 |
Eclipse User |
|
|
|
Originally posted by: fakeuser.poh.dynalias.org
I already have that servlet included in the build script, but I still
get the error. Is there anything else I need to do?
Jun Zhai wrote:
> Patrick,
>
> Birt viewer's build script currently user the servlet.jar boundled with
> eclipse tomcat plugin. You can see the statement in buildviewer.xml file.
>
> <fileset dir="${eclipse.home}/plugins">
> <include name="${plugin.tomcat}_*/servlet.jar"/>
> </fileset>
>
> You can also add your own servlet.jar into the viewer plugin's lib dir
> and change the buildviewer.xml to make it compile.
>
> Jun Zhai
>
|
|
|
|
Re: compiling BIRT 1.0.1 fails on eclipse 3.1 [message #70283 is a reply to message #70176] |
Tue, 30 August 2005 16:51 |
Eclipse User |
|
|
|
Originally posted by: fakeuser.poh.dynalias.org
Jun Zhai,
Thanks, that did it.
Patrick
Jun Zhai wrote:
> Patrick,
>
> You probably need to modify the buidviewer.xml
>
> change
>
> <fileset dir="${eclipse.home}/plugins">
> <include name="${plugin.tomcat}_*/servlet.jar"/>
> </fileset>
>
> to
>
> <fileset dir="${eclipse.home}/plugins">
> <include name="${plugin.viewer}*/lib/servlet.jar"/>
> </fileset>
>
> ${plugin.viewer}
>
> is the path to your local viewer plugin dir.
>
> Jun Zhai
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03026 seconds