Re: Manifest.MF - classpath is in wrong format when generated programmatically.

2009-07-03 Thread Garima Bathla
Thanks Steve, your mail forced me to step back and trace all the possibilities that could have been the culprit for the ClassNotFoundException and I am glad I finally figured it out. In the META-INF directory the auto generated file INDEX.LIST that lists all the packages for the jar that is being

Re: Manifest.MF - classpath is in wrong format when generated programmatically.

2009-07-01 Thread Steve Loughran
Garima Bathla wrote: David : Thanks, I have tried setting the class-path via manifestclasspath task as well within a build.xml ant script and it is the same result, with long class-path's the jar names are split over differnt lines with \n and space character. This is by design http://java.sun

Re: Manifest.MF - classpath is in wrong format when generated programmatically.

2009-06-29 Thread Stefan Bodewig
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 ss ..(till 71 characters) > bbb.jar > where s - space character till 71 characters

Re: Manifest.MF - classpath is in wrong format when generated programmatically.

2009-06-29 Thread Avlesh Singh
Maybe you are right, Garima. I'll run a sample on my machine shortly to validate your use case and the corresponding output. Cheers Avlesh On Mon, Jun 29, 2009 at 9:53 PM, Garima Bathla wrote: > Avlesh, > > Thanks, your reply does makes a lot of sense - and honestly what you > suggested I have a

Re: Manifest.MF - classpath is in wrong format when generated programmatically.

2009-06-29 Thread Garima Bathla
Avlesh, Thanks, your reply does makes a lot of sense - and honestly what you suggested I have already tried , 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 ss ..(till 71 charact

Re: Manifest.MF - classpath is in wrong format when generated programmatically.

2009-06-29 Thread Garima Bathla
David : Thanks, I have tried setting the class-path via manifestclasspath task as well within a build.xml ant script and it is the same result, with long class-path's the jar names are split over differnt lines with \n and space character. On Mon, Jun 29, 2009 at 7:39 AM, David Weintraub wrote:

Re: Manifest.MF - classpath is in wrong format when generated programmatically.

2009-06-29 Thread David Weintraub
Just curious: Why don't you use the task and the task? On Mon, Jun 29, 2009 at 3:02 AM, Garima Bathla wrote: > Dear Fellow memebers, > > I really need help , I have been stuck with same problem for few days now. > > Problem: > As we all know, manifest file syntax is very sensitive ( sensitive to

Re: Manifest.MF - classpath is in wrong format when generated programmatically.

2009-06-29 Thread Avlesh Singh
Here is what the jar specification has to say on manifest's class-path attribute - The value of this attribute specifies the relative URLs of the extensions or > libraries that this application or extension needs. URLs are separated by > one or more spaces. The application or extension class loade

RE: Manifest.mf

2003-09-25 Thread Rob van Oostrum
every time somebody said 'just my $.02' I would be SO filthy rich" van Oostrum > -Original Message- > From: Conor MacNeill [mailto:[EMAIL PROTECTED] > Sent: September 25, 2003 8:22 PM > To: Ant Users List > Subject: Re: Manifest.mf > > > On Fri, 26

Re: Manifest.mf

2003-09-25 Thread Conor MacNeill
On Fri, 26 Sep 2003 10:02 am, Rob van Oostrum wrote: > I'm not saying you couldn't deprecate it ... > Sure - but would that "avoid confusion" :-) Conor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

RE: Manifest.mf

2003-09-25 Thread Rob van Oostrum
feels like cutting corners to me ... just my $.02 > -Original Message- > From: Conor MacNeill [mailto:[EMAIL PROTECTED] > Sent: September 25, 2003 7:21 PM > To: Ant Users List > Subject: Re: Manifest.mf > > > On Fri, 26 Sep 2003 05:19 am, Rob van Oostrum wrote: >

RE: Manifest.mf

2003-09-25 Thread Rob van Oostrum
I'm not saying you couldn't deprecate it ... > -Original Message- > From: Conor MacNeill [mailto:[EMAIL PROTECTED] > Sent: September 25, 2003 7:35 PM > To: Ant Users List > Subject: Re: Manifest.mf > > > On Fri, 26 Sep 2003 09:30 am, Rob van Oost