ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: Class-Path not recognised from MANIFEST.MF
Date Thu, 22 May 2008 15:46:21 GMT
On Thu, May 22, 2008 at 10:29 AM, Ravi Roy <ravi.aroy@gmail.com> wrote:
>  <jar destfile="Application.jar" manifest="manifest.mf" update="false">
>   <fileset dir="${basedir}">
>     <include name="*com/**" />
>     <include name="App1.jar" />
>   </fileset>
>  </jar>

You are including App1.jar *inside* Application.jar. The default class
loader does not support such nesting. The Class-Path attribute refers
*files* (or URLs to those files), but App1.jar is not a file anymore,
it's just an entry inside the Application.jar file. --DD

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


Mime
View raw message