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
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
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
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
> 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
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
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
, # 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
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
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
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"
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
>
&
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
.
>
> 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
>
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
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
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
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
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
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
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:
>
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
22 matches
Mail list logo