Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » Class Resolving when editting XMI attribute with EJavaClass type
Class Resolving when editting XMI attribute with EJavaClass type [message #380522] Mon, 30 April 2007 14:43 Go to next message
Eclipse UserFriend
Originally posted by: ron.piterman.gmx.net

Hi,

When editting an XMI relying on an ecore module, Input of java classes
in EJavaClass attributes cannot resolve classes from the
wokrspace/project -

How do I change that?

Cheers,
Ron
Re: Class Resolving when editting XMI attribute with EJavaClass type [message #380524 is a reply to message #380522] Mon, 30 April 2007 15:08 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
Ron,

Please use the EMF newsgroup for EMF-specific questions. I've added it
to the "to"list. If I understand your question correctly you are
hoping that a reference to a class such as com.example.MyType will
resolve to something in your workspace, but it's only possible to
resolve to a java.lang.Class instance that's actually in the running JVM
itself, so you should expect classes to resolve only if you have those
classes loaded in the running process.


RonPiterman wrote:
> Hi,
>
> When editting an XMI relying on an ecore module, Input of java classes
> in EJavaClass attributes cannot resolve classes from the
> wokrspace/project -
>
> How do I change that?
>
> Cheers,
> Ron


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Class Resolving when editting XMI attribute with EJavaClass type [message #592428 is a reply to message #380522] Mon, 30 April 2007 15:08 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
Ron,

Please use the EMF newsgroup for EMF-specific questions. I've added it
to the "to"list. If I understand your question correctly you are
hoping that a reference to a class such as com.example.MyType will
resolve to something in your workspace, but it's only possible to
resolve to a java.lang.Class instance that's actually in the running JVM
itself, so you should expect classes to resolve only if you have those
classes loaded in the running process.


RonPiterman wrote:
> Hi,
>
> When editting an XMI relying on an ecore module, Input of java classes
> in EJavaClass attributes cannot resolve classes from the
> wokrspace/project -
>
> How do I change that?
>
> Cheers,
> Ron


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Class Resolving when editting XMI attribute with EJavaClass type
Next Topic:[ATL Transfromation] How to create a new class
Goto Forum:
  


Current Time: Tue Mar 19 02:45:39 GMT 2024

Powered by FUDForum. Page generated in 0.02471 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top