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 14613] New: - patch to add webinc and webxml to optional Jspc task
Date Sat, 16 Nov 2002 04:02:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14613>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14613

patch to add webinc and webxml to optional Jspc task

           Summary: patch to add webinc and webxml to optional Jspc task
           Product: Ant
           Version: 1.5.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Optional Tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: toby@caboteria.org


Thanks for Ant, it's extremely useful.

Jasper jspc (the tool that compiles jsp files into servlets) has two parameters
(webinc and webxml) which weren't entirely supported in the ant jspc task.  Most
of the hooks were there, just need a couple of lines:

--- src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/JasperC.java~
Wed Oct  2 11:08:46 2002
+++ src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/JasperC.java 
Fri Nov 15 22:40:54 2002
@@ -154,6 +154,8 @@
         addArg(cmd, "-uriroot", jspc.getUriroot());
         addArg(cmd, "-uribase", jspc.getUribase());
         addArg(cmd, "-ieplugin", jspc.getIeplugin());
+        addArg(cmd, "-webinc", jspc.getWebinc());
+        addArg(cmd, "-webxml", jspc.getWebxml());
         addArg(cmd, "-die9");
 
         if (jspc.isMapped()){

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


Mime
View raw message