ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Manifest.MF - classpath is in wrong format when generated programmatically.
Date Tue, 30 Jun 2009 03:40:48 GMT
On 2009-06-29, Garima Bathla <garima.bathla@gmail.com> wrote:

> the problem with that logic though is that java -jar command ignores
> class-path which contains more than one space character

> so e.g.

> Class-Path: aaa.jar ssssssssssssss ..(till 71 characters)
>   bbb.jar


> where s - space character till 71 characters

> This is invalid class-path to java -jar command and it is ignored.

This is simply not true.
<http://ant.apache.org/faq.html#mangled-manifest>

If your java -jar really ignored the Class-Path created by Ant it
would be violating the jar specification.  Any Java implementation I
have tried myself does support Class-Path entries as formatted by Ant.

Stefan

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


Mime
View raw message