ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Tayek <rta...@attbi.com>
Subject RE: Failed to load Main-Class manifest from foo.jar
Date Mon, 04 Mar 2002 03:03:13 GMT
At 01:04 PM 3/4/02 +1100, you wrote:
>...You need to construct the manifest yourself. In general, Ant can't know
>which class is to be the main class....
>
>     <jar basedir="${bin.dir}/start" jarfile="${distlib.dir}/start.jar">
>       <manifest>
>         <attribute name="Main-Class" value="org.apache.ant.start.Main"/>
>       </manifest>
>     </jar>
>...
>http://jakarta.apache.org/ant/manual/CoreTasks/jar.html

works great now!

thanks

---
ray tayek http://home.earthlink.net/~rtayek/
actively seeking telecommuting work
orange county java users group http://www.ocjug.org/
hate spam? http://samspade.org/ssw/


--
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