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=22896>.
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=22896

The webinc directive for the jspc task does not work

           Summary: The webinc directive for the jspc task does not work
           Product: Ant
           Version: 1.5.4
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have a target defined to precompile my jsps using the built-in <jspc> task.  
When I specify a file name for the webinc task, it does not work.  I get an 
error message that says the file cannot be found.  If I create an empty file as 
a placeholder, I don't get the error message, but no data is written to it.  

Here is a snippet of my build.xml.

        <jspc srcdir="${dir.docroot}"
            destdir="${dir.jspc.gensrc}"
            classpathref="compile.classpath"
            webinc="${jspc.webxml.fragment}"
            <include name="**/*.jsp"/>
        </jspc>

The jsps are compiled successfully but the web-xml-fragment.xml is not correct.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to