On 2009-06-29, Garima Bathla <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to