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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to