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

Error in build.xml.txt dist target 

           Summary: Error in build.xml.txt dist target
           Product: Tomcat 4
           Version: 4.1.12
          Platform: All
               URL: http://jakarta.apache.org/tomcat/tomcat-4.1-
                    doc/appdev/build.xml.txt
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Webapps:Documentation
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The build.xml.txt example file has the following fragment in the dist target:

<!-- Copy documentation subdirectories -->
    <mkdir   todir="${dist.home}/docs"/>
    <copy    todir="${dist.home}/docs">
      <fileset dir="${docs.home}"/>
    </copy>

The 'mkdir' line has the attribute "todir" which is illegal and results in the
following error using 'ant dist'.

NOTE:  I am using Ant 1.5.1
dist:

BUILD FAILED
file:c:/usr/devel/hello/build.xml:334: The <mkdir> task doesn't support the
"todir" attribute.

Total time: 12 seconds

Modifying the line to read:

    <mkdir   dir="${dist.home}/docs"/>

fixes the problem.

If I could have attached a patch file to this bug report I would have.

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

Reply via email to