ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
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 <> 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.

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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message