|
Re: newbee ocl standalone [message #37393 is a reply to message #37359] |
Wed, 14 June 2006 11:05 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------060909040700060706090809
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Chris,
The OCL jar org.eclipse.emf.ocl_1.0.0.v200605302037.jar contains a
nested jar:
lib/lpgjavaruntime.jar
That jar needs to be on the classpath. It doesn't seem very nice to
have to unpackage the jar to get at the nested jar. Probably that jar
should be in a separate plugin or the plugin itself shouldn't be jarred
(since Eclipse will unpackage it to get at the nested jar).
Chris Lenz wrote:
> I want to use ocl as standalone.
>
> if i write this in my main class
> Query query = QueryFactory.eINSTANCE.createQuery(
> "Book.allInstances()->select(b : Book | b <> self
> and b.title = self.title)",
> EXTLibraryPackage.eINSTANCE.getBook());
>
> I get the following error:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> lpg/lpgjavaruntime/RuleAction
>
> what jar files do I have to add !
>
> Thanx Chris
--------------060909040700060706090809
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Chris,<br>
<br>
The OCL jar org.eclipse.emf.ocl_1.0.0.v200605302037.jar contains a
nested jar:<br>
<blockquote>lib/lpgjavaruntime.jar<br>
</blockquote>
That jar needs to be on the classpath.
|
|
|
Re: newbee ocl standalone [message #37460 is a reply to message #37393] |
Wed, 14 June 2006 13:02 |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Ed, Chris,
No, it isn't very nice, but building and supporting an official stand-alone
delivery of OCL just didn't fit in this first release. It's on the books
for the next release.
In the mean-time, it may actually be easier to download the
lpgjavaruntime.jar from the source (http://sourceforge.net/projects/lpg)
than to unpack it from the OCL jar. On the LPG home page you will also
find documentation and the LPG tools, in case these are of interest.
Cheers,
Christian
Ed Merks wrote:
> Chris,
>
> The OCL jar org.eclipse.emf.ocl_1.0.0.v200605302037.jar contains a
> nested jar:
>
> lib/lpgjavaruntime.jar
>
> That jar needs to be on the classpath. It doesn't seem very nice to
> have to unpackage the jar to get at the nested jar. Probably that jar
> should be in a separate plugin or the plugin itself shouldn't be jarred
> (since Eclipse will unpackage it to get at the nested jar).
>
>
> Chris Lenz wrote:
>
>> I want to use ocl as standalone.
>>
>> if i write this in my main class
>> Query query = QueryFactory.eINSTANCE.createQuery(
>> "Book.allInstances()->select(b : Book | b <> self
>> and b.title = self.title)",
>> EXTLibraryPackage.eINSTANCE.getBook());
>>
>> I get the following error:
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> lpg/lpgjavaruntime/RuleAction
>>
>> what jar files do I have to add !
>>
>> Thanx Chris
|
|
|
Re: newbee ocl standalone [message #580760 is a reply to message #37359] |
Wed, 14 June 2006 11:05 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------060909040700060706090809
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Chris,
The OCL jar org.eclipse.emf.ocl_1.0.0.v200605302037.jar contains a
nested jar:
lib/lpgjavaruntime.jar
That jar needs to be on the classpath. It doesn't seem very nice to
have to unpackage the jar to get at the nested jar. Probably that jar
should be in a separate plugin or the plugin itself shouldn't be jarred
(since Eclipse will unpackage it to get at the nested jar).
Chris Lenz wrote:
> I want to use ocl as standalone.
>
> if i write this in my main class
> Query query = QueryFactory.eINSTANCE.createQuery(
> "Book.allInstances()->select(b : Book | b <> self
> and b.title = self.title)",
> EXTLibraryPackage.eINSTANCE.getBook());
>
> I get the following error:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> lpg/lpgjavaruntime/RuleAction
>
> what jar files do I have to add !
>
> Thanx Chris
--------------060909040700060706090809
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Chris,<br>
<br>
The OCL jar org.eclipse.emf.ocl_1.0.0.v200605302037.jar contains a
nested jar:<br>
<blockquote>lib/lpgjavaruntime.jar<br>
</blockquote>
That jar needs to be on the classpath.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: newbee ocl standalone [message #580821 is a reply to message #37393] |
Wed, 14 June 2006 13:02 |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Ed, Chris,
No, it isn't very nice, but building and supporting an official stand-alone
delivery of OCL just didn't fit in this first release. It's on the books
for the next release.
In the mean-time, it may actually be easier to download the
lpgjavaruntime.jar from the source (http://sourceforge.net/projects/lpg)
than to unpack it from the OCL jar. On the LPG home page you will also
find documentation and the LPG tools, in case these are of interest.
Cheers,
Christian
Ed Merks wrote:
> Chris,
>
> The OCL jar org.eclipse.emf.ocl_1.0.0.v200605302037.jar contains a
> nested jar:
>
> lib/lpgjavaruntime.jar
>
> That jar needs to be on the classpath. It doesn't seem very nice to
> have to unpackage the jar to get at the nested jar. Probably that jar
> should be in a separate plugin or the plugin itself shouldn't be jarred
> (since Eclipse will unpackage it to get at the nested jar).
>
>
> Chris Lenz wrote:
>
>> I want to use ocl as standalone.
>>
>> if i write this in my main class
>> Query query = QueryFactory.eINSTANCE.createQuery(
>> "Book.allInstances()->select(b : Book | b <> self
>> and b.title = self.title)",
>> EXTLibraryPackage.eINSTANCE.getBook());
>>
>> I get the following error:
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> lpg/lpgjavaruntime/RuleAction
>>
>> what jar files do I have to add !
>>
>> Thanx Chris
|
|
|
Powered by
FUDForum. Page generated in 0.03435 seconds