ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: Using Main-Class and Class-Path in a manifest file
Date Wed, 13 Mar 2002 00:03:19 GMT
Rod,

As you suspect, the CLASS-Path in a jar's manifest is used to find other
jars relative to your jar, not jars within your jar

Conor


> -----Original Message-----
> From: Rod Mackenzie [mailto:rod@sorpen.demon.co.uk]
> Sent: Wednesday, 13 March 2002 10:57 AM
> To: Ant Users List
> Subject: Re: Using Main-Class and Class-Path in a manifest file
>
>
> Todd,
>
> I don't think you  should include you log4j.jar iin your
> HelloWorld.jar, I can't find any info on whether a jar will be seached
> for other jars when searching for a class. I have tried a similar test
> to yours using the Main-Class and Class-Path and didn't have a problem
> but I didn't package all the jars into one.
>
> Rod
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


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