tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30984] New: - Add an ability to compile JSPs to specified target JVM
Date Wed, 01 Sep 2004 08:45:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30984>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30984

Add an ability to compile JSPs to specified target JVM

           Summary: Add an ability to compile JSPs to specified target JVM
           Product: Tomcat 5
           Version: 5.0.28
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: drzewo@post.pl


I installed Tomcat 5.0.28 on W2K box. During installation I provided path to
j2sdk 5.0 beta 3 build 60, therefore tools.jar has been taken from this
particular distro. After that I had been forced to switch JVM to IBM's 1.4.1
(WebSphere 5.1 AppClient). Tomcat starts with no problem, however, Jasper
compiles JSP with javac from tools.jar (jvm 5.0 compliant) and makes compiled
classes unusable for the 1.4.1 jvm. 

The simplest workaround is to overwrite tools.jar with the one that comes with
the jdk that tomcat is run on.  However, the simple solution is to provide the
"target" parameter to JspServlet and pass it along to ant javac compiler. 

...Yes, I know we're going to get rid of ant compiler... ;) BTW, I wonder which
version of classes JDT will produce. Maybe this also should be up to the user to
decide?

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message