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 6771] New: - Syntax error using the jar core task
Date Thu, 28 Feb 2002 22:44:34 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=6771>.
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=6771

Syntax error using the jar core task

           Summary: Syntax error using the jar core task
           Product: Ant
           Version: 1.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: emailkirri@yahoo.com


I am trying to create a ".rar" file. I tried the following 2 variations below. 
I get a syntax error both times. What am I doing wrong?

1.  <target name="rar">
	<jar jarfile="test.rar">
	    <fileset dir=".">
                <include name="test.jar"/>
   	        <include name="howto.html"/>
   	        <include name="images/mySnap.jpg"/> 
	    </fileset>
            <metainf dir="."> 
                <include name="xx.xml"/>
            </metainf>
        </jar>
  </target>

2.  <target name="rar">
	<jar jarfile="test.rar">
	    <fileset dir="." includesfile="test.jar"/>
   	    <fileset dir="." includesfile="howto.html"/>
            <fileset dir="." includesfile=images/mySnap.jpg"/> 
            <fileset dir="." includesfile="xx.xml"/> -->
        </jar>
  </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