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
gt; > > > On Mon, Jun 29, 2009 at 12:32 PM, Garima Bathla > >wrote: > > > > > Dear Fellow memebers, > > > > > > I really need help , I have been stuck with same problem for few days > > now. > > > > > > Problem: > > > As

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

2009-06-29 Thread Garima Bathla
> Problem: > > As we all know, manifest file syntax is very sensitive ( sensitive to > > spaces, # of characters in a line, \n character). And I have learn it > very > > hard way that if Class-Path in a jar is not set as per the standards it > > will > > be silent

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

2009-06-29 Thread Garima Bathla
Problem: > > As we all know, manifest file syntax is very sensitive ( sensitive to > > spaces, # of characters in a line, \n character). And I have learn it > very > > hard way that if Class-Path in a jar is not set as per the standards it > will > > be silently

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

2009-06-29 Thread David Weintraub
y sensitive ( sensitive to > spaces, # of characters in a line, \n character). And I have learn it very > hard way that if Class-Path in a jar is not set as per the standards it will > be silently ignored. > > I am in the process of generating MANIFEST.MF file programmatically by > E

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

2009-06-29 Thread Avlesh Singh
, # of characters in a line, \n character). And I have learn it very > hard way that if Class-Path in a jar is not set as per the standards it > will > be silently ignored. > > I am in the process of generating MANIFEST.MF file programmatically by > Extending Jar Task; I am almo

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

2009-06-29 Thread Garima Bathla
set as per the standards it will be silently ignored. I am in the process of generating MANIFEST.MF file programmatically by Extending Jar Task; I am almost there, but the class-path that Jar task prints in the Manifest file isn't formatted correctly. *Code snippet:* *S

Re: private repository MANIFEST.MF guessing the right repository structure

2009-03-24 Thread Kirby Files
Francisco, Francisco Peredo wrote on 03/24/2009 02:56 PM: We download stuff at our houses, and then copy them in usb portable storage and bring them to work. [...] So, we want to upload our WEB-INF\lib .jar files (for hibernate, seam, spring, commons, etc) in to a shared repository to a serve

private repository MANIFEST.MF guessing the right repository structure

2009-03-24 Thread Francisco Peredo
intranet... I guess that to do that we need to use the task ivy:publish... Am I right? But since we have hundreds of files, we would like to be able to do it in single shot, something like And have Ivy read each of the MANIFEST.MF files inside each of the .jar files and "guess"

Re: Class-Path not recognised from MANIFEST.MF

2008-05-22 Thread Peter Reilly
t; who expected to be able to do what you are trying to do. > > Thanks, > Kevin > > -Original Message- > From: Ravi Roy [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 22, 2008 12:04 PM > To: Ant Users List > Subject: Re: Class-Path not recognised from MANIFEST.MF > &

RE: Class-Path not recognised from MANIFEST.MF

2008-05-22 Thread Toomey, Kevin H (ATS, IT)
rticles and forum entries relating to this. You are not the first who expected to be able to do what you are trying to do. Thanks, Kevin -Original Message- From: Ravi Roy [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 12:04 PM To: Ant Users List Subject: Re: Class-Path not recognised

Re: Class-Path not recognised from MANIFEST.MF

2008-05-22 Thread Ravi Roy
. > > Ex. java -classpath App1.jar -jar Application.jar > > Thanks, > Kevin > > -Original Message- > From: Ravi Roy [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 22, 2008 11:29 AM > To: Ant Users List > Subject: Class-Path not recognised from MANIFEST.MF >

RE: Class-Path not recognised from MANIFEST.MF

2008-05-22 Thread Toomey, Kevin H (ATS, IT)
sspath App1.jar -jar Application.jar Thanks, Kevin -Original Message- From: Ravi Roy [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 11:29 AM To: Ant Users List Subject: Class-Path not recognised from MANIFEST.MF Hi All, My apologies if I am missing something obivious, I have the

Re: Class-Path not recognised from MANIFEST.MF

2008-05-22 Thread Dominique Devienne
On Thu, May 22, 2008 at 10:29 AM, Ravi Roy <[EMAIL PROTECTED]> wrote: > > > > > > You are including App1.jar *inside* Application.jar. The default class loader does not support such nesting. The Class-Path attribute refers *files* (or URLs to those files), but App1.jar is not a

Class-Path not recognised from MANIFEST.MF

2008-05-22 Thread Ravi Roy
attribute are fine the Manifest.MF.. But looked very strange that is come with NoClassDefFoundError.. Does soembody knows the clue what is wrong ? Thanks in advance. Regards, Ravi

RE: generate manifest.mf file

2004-08-20 Thread Mark Lybarger
ger > Sent: Friday, August 20, 2004 11:14 AM > To: Ant Users List > Subject: RE: generate manifest.mf file > > > http://jakarta.apache.org/hivemind/hivemind/ant/ManifestClassPath.html > > this seems really similar perhaps. who knows. > > > -Original Messa

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