ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7887] New: - Problem parsing comments in build.xml
Date Tue, 09 Apr 2002 19:36:19 GMT
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=7887>.
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=7887

Problem parsing comments in build.xml

           Summary: Problem parsing comments in build.xml
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Other
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: wchao@yahoo.com


Ant has a problem parsing '--' in comments:
/xxx/build.xml:171: Next character must be ">" terminating comment .

I have the following section in my build.xml:

  <target name="publish-source" depends="publish-source-verify-dir, publish-
source-fail-if-no-dir, dist" description="Publish source code to web site">
    <!--
    <exec executable="ssh">
      <arg line="${publish.server} rm -fr ${publish.dir}/*"/>
    </exec>
    <exec executable="scp">
      <arg line="${dist.dir}/src.tgz ${publish.server}:${publish.dir}"/>
    </exec>
    <exec executable="ssh">
      <arg line="${publish.server} tar --directory ${publish.dir} -x -z -f 
${publish.dir}/src.tgz"/>
    </exec>
    <exec executable="ssh">
      <arg line="${publish.server} rm -f ${publish.dir}/src.tgz"/>
    </exec>
    -->
  </target>

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


Mime
View raw message