Another comment on this. I noticed this quite a while back. While the manifest that ends up in the .jar file looks strange with the classpath line appearing on multiple lines, it doesn't cause any problems in terms of class not found errors when I deploy a .ear file under WebLogic 6.1. So I've just left it as-is with the funny-looking line(s) in the manifest.
FWIW... Donnie > -----Original Message----- > From: T Master [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 20, 2001 1:34 PM > To: Ant Users List > Subject: Re: jar task bug?? > > > This has been reported before, and a reply was that the ant jar > taks folows > the Java Spec. > > Search the mail archives for responses. > > T Master. > > > ----- Original Message ----- > From: "Mallampati, Suresh" <[EMAIL PROTECTED]> > To: "'Ant Users List'" <[EMAIL PROTECTED]> > Sent: Thursday, December 20, 2001 11:25 AM > Subject: jar task bug?? > > > > Hi, > > I want to provide a manifest file to the jar task. One of my entries in > the > > manifest file is a bit long. > > Class-Path: lib/asadfsdfsdfsd.jar lib/rdgdfsghsgsdfgsdfsg.jar > > lib/asrfdsfasfsdaf.jar > > > > The jar task, puts in new line characters and additional spaces to the > > entry..and this is causing problems. > > So I tried breaking that into multiple entries: > > Class-Path: lib/asadfsdfsdfsd.jar > > Class-Path: lib/rdgdfsghsgsdfgsdfsg.jar > > Class-Path: lib/asrfdsfasfsdaf.jar > > > > Now, when this manifest file is passed to the jar task, the first two > > entries are lost. And the jar's manifest shows only the third entry. Is > this > > a bug..and is there some way to make the manifest file retain its > entries.. > > > > Thanks, > > -Suresh > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>