ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Magnus ?or Torfason <mag...@handtolvur.is>
Subject RE: jar MANIFEST.MF
Date Mon, 11 Feb 2002 15:54:18 GMT

>
> Thomas Wabner wrote:
>
> >
> > Any Ideas?
> >
>
>
> Try this
>
> <jar basedir="${bin.dir}/start" jarfile="${distlib.dir}/start.jar">
>   <manifest>
>     <attribute name="Main-Class" value="org.apache.ant.start.Main"/>
>     <attribute name="Class-Path" value="init.jar"/>
>   </manifest>
> </jar>
>
> Conor
>

Where is this documented?  This is extremely convenient, but I checked in
http://jakarta.apache.org/ant/manual/CoreTasks/jar.html
and did not see any mention of a nested <manifest> element.  The only nested
element I saw was the <metainf> element.

Magnus


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


Mime
View raw message