You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/03/02 02:01:24 UTC

DO NOT REPLY [Bug 6771] - Syntax error using the jar core task

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





------- Additional Comments From emailkirri@yahoo.com  2002-03-02 01:01 -------
I was using Ant1.3 and so it was not recognizing the metainf attribute. Now 
after using the Ant1.4 I find that I can create a rar file on Windows 2000 
using the following code: 
  <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>

But, when I try to run the same on IBM's AIX(which is similar to Unix) 
operating system, I get an error - "Default manifest is invalid".

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>