The exact error I got was
----
Java Virtual Machine Launcher
Could not find the main class.  Program will exit.
----
Digging a little deeper, I found that the problem was with the
MANIFEST.MF file.  'Classpath' should have been 'Class-Path'.

I think this problem might have been introduced with the changes made to
argouml-build/build.xml, lines 275-281, in rev 14274.

I have now committed a change which fixes this.  Does it work for
everyone else?

Dave


On Mon, 21 Apr 2008 16:51:10 +0100, "Bob Tarling"
<[EMAIL PROTECTED]> said:
> Yeah, if you add GEF to the classpath then it just falls over on the next
> jar.
> 
> Stange...
> 
> Bob.
> 
> P.S. Yes Tom, I was looking in the wrong place for the tests. I've
> found them now.
> 
> 
> On 21/04/2008, Thomas N. <[EMAIL PROTECTED]> wrote:
> > > >  on the command line, 'build package' and 'build run' seem to work, but
> >  > >  if you double click the argouml.jar, it fails to open, with someting
> >  > >  like 'no main class defined'.  Is this a problem, or am I doing
> >  > >  something wrong?
> >  >
> >  > The error that I get is java.lang.NoClassDefFoundError:
> >  > org/tigris/gef/ui/IStatusBar.  There is probably something wrong with
> >  > the manifest classpath in the jar causing it not to find the GEF jar.
> >
> >
> > I got the same before AND after flag day, has nothing to do with it.
> >
> >  Anyway, I searched the dev mailing list and found no answer, so I modified 
> > the Manifest file, with no luck (even using a slighty modified from my 
> > working 0.24 didn't help).
> >
> >  So, I just thought that it's only my private problem due to my stupidity, 
> > and simply added a looooong "-cp" option in my local argouml.bat file, 
> > which I always restore after each command line build. :*P
> >
> >  Thomas
> >
> > --
> >  Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> >  Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
> >
> >
> >  ---------------------------------------------------------------------
> >  To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to