You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/11/16 05:02:55 UTC

DO NOT REPLY [Bug 14613] New: - patch to add webinc and webxml to optional Jspc task

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>