ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28439] New: - Ant Task JspC doesn't work well with Tomcat 5.0
Date Fri, 16 Apr 2004 18:32:57 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=28439>.
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=28439

Ant Task JspC doesn't work well with Tomcat 5.0

           Summary: Ant Task JspC doesn't work well with Tomcat 5.0
           Product: Ant
           Version: 1.6.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: stephane.houle@modesys.com


I'm using Tomcat 5.0 embedded into jboss3.2.4RC1.  It looks like Tomcat 5.0
changes its jasper compiler so I'm using it to compile my jsp with ant.  The
problem is task JspC is using the verbose keyword with a numeric value.  This
value is converted to -v{numericValue} who is passed the argument to jasper
compiler.  Tomcat 5.0's jasper compiler only support -v option without any
numeric value.  Since I'm using Tomcat 5.0, I cannot compile my jsp with Ant.

Suggestion:
- if keyword verbose isn't defined in JspC task, do not send -v option
- allow verbose="" to send a -v so this is backward compatible. Ex verbose="1"
will sent -v1
- add a new compiler value to JspC. Currently support jasper and jasper41,
adding a jasper50 would be nice!

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


Mime
View raw message