This is the mail archive of the
rhug-rhats@sources.redhat.com
mailing list for the RHUG project.
Re: tomcat 4 jsp compilation status?
- From: Don Smith <smithdc at UMDNJ dot EDU>
- To: Anthony Green <green at redhat dot com>
- Cc: rhug-rhats at sources dot redhat dot com
- Date: Tue, 30 Apr 2002 09:52:10 -0400
- Subject: Re: tomcat 4 jsp compilation status?
- References: <3CC9B98A.1070506@umdnj.edu> <1019925156.3282.6.camel@dhcppc2>
The latest problem with the install is that i get this error, since it
is around the --resource tag i was wondering if maybe this had something
to do with the syntax change
/mkinstalldirs `dirname
upstream/src/share/org/apache/jasper/resources/messages
.o`
gcj3 --resource `echo
upstream/src/share/org/apache/jasper/resources/messages.pr
operties | sed "s/.*\/src\/share\///g"` -o
upstream/src/share/org/apache/jasper/
resources/messages.o -c
upstream/src/share/org/apache/jasper/resources/messages.
properties
gcj3: cannot specify -o with -c or -S and multiple compilations
make: *** [upstream/src/share/org/apache/jasper/resources/messages.o]
Error 1
Anthony Green wrote:
>On Fri, 2002-04-26 at 13:33, Don Smith wrote:
>
>
>>What's the status of a gcj version of tomcat that can support jsps?
>>Is it possible, if not what needs to be done?
>>
>>
>
>It's been a while since I looked at that (even though it would be really
>cool to get this working).
>
>When I did start looking at it, I went about it the wrong way -- setting
>up tomcat to compile the jsp code to .so immediately. Unfortunately,
>tomcat has many built in assumptions about the compiler generating
>.class files which it then manipulates (or just moves around, I think).
>
>It makes better sense to do this in baby steps. First get tomcat to
>compile jsp code to bytecode with 'gcj -C' and have everything work with
>the gcj interpreter.
>
>Once that all works, perhaps we can figure out a good way to compile the
>.class files to .so. I'm thinking this should be an extra step once the
>.class file is copied into the desired location by tomcat.
>
>It would be great if somebody (like you!) could spend a little time
>trying to get this to work. I'd be happy to help this person (like
>you!) along.
>
>AG
>
>
>