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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to