Compiling jakarta projects with gcj

Costin Manolache cmanolache@yahoo.com
Fri Aug 2 12:40:00 GMT 2002


Hi,
I'm trying to test that tomcat compiles with gcj. I was
able to compile most of it and it's dependencies - but
there are some problems.
First, in jakarta-commons/beanutils there are few files
having non-ascii chars in some comments ( the author name, French ).
That fails.
A bigger problem is in compiling jasper2, in
jakarta-tomcat-jasper-5/jasper2. The problem is in 
 jasper2/src/share/org/apache/jasper/compiler/Generator.java
where a lot of inner classes ( including some declared inside 
methods ) are used. I moved them around, but I still get an error
I can't trace:
 /ws/cvs/jakarta-tomcat-jasper-5/jasper2/src/share/org/apache/jasper/compiler/Generator.java: In class `org.apache.jasper.compiler.Generator':
/ws/cvs/jakarta-tomcat-jasper-5/jasper2/src/share/org/apache/jasper/compiler/Generator.java: In method `access67ドル(org.apache.jasper.compiler.ServletWriter,org.apache.jasper.compiler.Node)':
/ws/cvs/jakarta-tomcat-jasper-5/jasper2/src/share/org/apache/jasper/compiler/Generator.java:3278: error: Exception `org.apache.jasper.JasperException' must be caught, or it must be declared in the `throws' clause of `access67ドル'.
 ^
/ws/cvs/jakarta-tomcat-jasper-5/jasper2/src/share/org/apache/jasper/compiler/Generator.java: In method `class$(java.lang.String)':
/ws/cvs/jakarta-tomcat-jasper-5/jasper2/src/share/org/apache/jasper/compiler/Generator.java:1: error: Missing return statement.
 /*
 ^
2 errors
Any sugestions ? I would like to make the required changes in tomcat so
it compiles and works with gcj - but this is a show-stopper.
Costin


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /