Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » compiling BIRT 1.0.1 fails on eclipse 3.1
compiling BIRT 1.0.1 fails on eclipse 3.1 [message #70097] Mon, 29 August 2005 15:36 Go to next message
Eclipse UserFriend
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 #70118 is a reply to message #70097] Mon, 29 August 2005 18:25 Go to previous messageGo to next message
Jun Zhai is currently offline Jun ZhaiFriend
Messages: 74
Registered: July 2009
Member
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 #70157 is a reply to message #70118] Mon, 29 August 2005 20:10 Go to previous messageGo to next message
Eclipse UserFriend
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 #70176 is a reply to message #70157] Tue, 30 August 2005 00:43 Go to previous messageGo to next message
Jun Zhai is currently offline Jun ZhaiFriend
Messages: 74
Registered: July 2009
Member
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
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 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:Report Data Update
Next Topic:specifying client .rptdesign file in BIRT Viewer
Goto Forum:
  


Current Time: Fri Nov 08 21:52:15 GMT 2024

Powered by FUDForum. Page generated in 0.03026 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top