Re: Setting Class-Path in manifest file

2004-11-16 Thread Omry Yadan
Chuck Williams wrote: I was hoping that someone would know the answer to this question. I’ve got my Class-Path attribute in the manifest.mf file properly set but I’m still getting ClassNotFound exceptions. I’ve got all the jar files that the Class-Path references stored inside my jar file in the

Re: Setting Class-Path in manifest file

2004-11-15 Thread Arnaud Vandyck
Mon, 15 Nov 2004 13:08:45 -0500, "Chuck Williams" <[EMAIL PROTECTED]> wrote: > I was hoping that someone would know the answer to this question. Maybe someone will have an answer... > I've got my Class-Path attribute in the manifest.mf file properly set but > I'm still getting ClassNotFound ex

Re: Re: Setting Class-Path in manifest file

2004-11-15 Thread Chuck Williams
I was hoping that someone would know the answer to this question.   I’ve got my Class-Path attribute in the manifest.mf file properly set but I’m still getting ClassNotFound exceptions. I’ve got all the jar files that the Class-Path references stored inside my jar file in the root. This d

Re: Setting Class-Path in manifest file

2004-10-18 Thread Rishabh Manocha
Thanks Damien, That seems to have solved the problem. Best --Rishabh On 19/10/04 00:40 +0200, Damien Raude-Morvan wrote: > On Tuesday 19 October 2004 00:24, Rishabh Manocha wrote: > > > > > > lib is a directory inside the current directory. > > any ides why it is giving the whole path instead of

Re: Setting Class-Path in manifest file

2004-10-18 Thread Damien Raude-Morvan
On Tuesday 19 October 2004 00:24, Rishabh Manocha wrote: > > > lib is a directory inside the current directory. > any ides why it is giving the whole path instead of a relative path?? > Thanks When you use the value of location is automagicaly expanded to full path. So when you use ${foo} vari

Re: Setting Class-Path in manifest file

2004-10-18 Thread Rishabh Manocha
Apparently I am doing something wrong in my build file. This is what the Manifest says(the Class-Path line): Class-Path: /home/rmanocha/dev/org/popGmail/lib/edu.jar /home/rmanocha /dev/org/popGmail/lib/g4j-lib.jar I dont know why it is giving the whole path. This is what I use in build.xml: li

Re: Setting Class-Path in manifest file

2004-10-18 Thread Loïc Minier
Rishabh Manocha <[EMAIL PROTECTED]> - Mon, Oct 18, 2004: > I was thinking this is maybe because I use a "/" instead of a "\" when i give > the Class-Path. This would be surprising: Windows honors / pathnames almost everywhere I've tested. May be you can extract the manifest file with a "jar xv

Re: Setting Class-Path in manifest file

2004-10-18 Thread Rishabh Manocha
That was a copy error. I do have a ${lib}/g4j-lib.jar in my build.xml file. Thanks On 19/10/04 00:06 +0200, Lo?c Minier wrote: > Rishabh Manocha <[EMAIL PROTECTED]> - Mon, Oct 18, 2004: > > > > value="${lib}/edu.jar {lib}/g4j-lib.jar"/> > > I think you miss a $ befo

Re: Setting Class-Path in manifest file

2004-10-18 Thread Loïc Minier
Rishabh Manocha <[EMAIL PROTECTED]> - Mon, Oct 18, 2004: >value="${lib}/edu.jar {lib}/g4j-lib.jar"/> I think you miss a $ before lib, not sure this is related though. -- Loïc Minier <[EMAIL PROTECTED]>

Setting Class-Path in manifest file

2004-10-18 Thread Rishabh Manocha
Hey guys, I am hving a problem with setting Class-Path in my jar file's manifest file. I am building my jar file through Ant. Here is the jarring part: While the