ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: putting it together
Date Thu, 17 Mar 2005 10:43:57 GMT
On Thu, 17 Mar 2005, THUFIR HAWAT <hawat.thufir@gmail.com> wrote:

> file and mode attributes are types of tags?

The Ant manual assumes you are at least vaguely familiar with XML
terms.

<foo> is the element foo.  <foo bar="baz"> is an element foo with an
attribute bar, that attribute has the value baz.  <foo><bar/></foo> is
an element foo with a nested (or child) element named bar.

> error: Class org.apache.tools.ant.taskdefs.Manifest doesn't support
> the "file" attribute.

What I said, remove the file attribute

>   <target name="package" depends="compile">
>     <jar destfile="test.jar" basedir=".">
>       <manifest file="MANIFEST.MF">
                  ^^^^^^^^^^^^^^^^^^ 

from here (best viewed with a fixed-width font).

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message