You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/10/26 16:32:26 UTC

DO NOT REPLY [Bug 13990] New: - Error in build.xml.txt dist target

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: tomcat-dev@jakarta.apache.org
        ReportedBy: jon@eaves.org


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