Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » How to generate schema with jpoxhelper
How to generate schema with jpoxhelper [message #86123] Tue, 12 June 2007 21:03 Go to next message
Julia is currently offline JuliaFriend
Messages: 85
Registered: July 2009
Member
Hi,

I have been trying to use one of the jpox ant script as a sample to build
my metadata and schema. But I get this error on a simple xml.

[schematool] An exception was thrown during the operation of SchemaTool.
Please refer to the log for full details. The following may help : Field
" com.ibm.isclite.wccm.approles.impl.ConsoleViewsImpl.consoleV iew " is
declared as a reference type (interface/Object) but no implementation
classes of "org.eclipse.emf.common.util.EList" have been found!

I read somewhere that I need to include the jpoxhelper class in order to
use the use the jpox schematool for EMF (similiar to what's in the library
tutorial). Is this correct? If so, I would need to modify my build scripts
to handle this.

Julia
Re: How to generate schema with jpoxhelper [message #86139 is a reply to message #86123] Tue, 12 June 2007 22:11 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Julia,
This error is probably related to the following: Teneo registers specific mapping and wrapper
classes for elist (and other emf types). This is done in the
initializeTypeManager(AbstractPersistenceManagerFactory initPmf) method in JpoxDataStore. Before
this typemanager initialization was done in the static initializer in JpoxHelper (but not anymore)
One way or another you have to let the ant script also initialize the jpox-emf types as is done in
the initializeTypeManager method in the JpoxDataStore.

gr. Martin

Julia wrote:
> Hi,
>
> I have been trying to use one of the jpox ant script as a sample to
> build my metadata and schema. But I get this error on a simple xml.
>
> [schematool] An exception was thrown during the operation of SchemaTool.
> Please refer to the log for full details. The following may help : Field
> " com.ibm.isclite.wccm.approles.impl.ConsoleViewsImpl.consoleV iew " is
> declared as a reference type (interface/Object) but no implementation
> classes of "org.eclipse.emf.common.util.EList" have been found!
>
> I read somewhere that I need to include the jpoxhelper class in order to
> use the use the jpox schematool for EMF (similiar to what's in the
> library tutorial). Is this correct? If so, I would need to modify my
> build scripts to handle this.
>
> Julia
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: How to generate schema with jpoxhelper [message #606918 is a reply to message #86123] Tue, 12 June 2007 22:11 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Julia,
This error is probably related to the following: Teneo registers specific mapping and wrapper
classes for elist (and other emf types). This is done in the
initializeTypeManager(AbstractPersistenceManagerFactory initPmf) method in JpoxDataStore. Before
this typemanager initialization was done in the static initializer in JpoxHelper (but not anymore)
One way or another you have to let the ant script also initialize the jpox-emf types as is done in
the initializeTypeManager method in the JpoxDataStore.

gr. Martin

Julia wrote:
> Hi,
>
> I have been trying to use one of the jpox ant script as a sample to
> build my metadata and schema. But I get this error on a simple xml.
>
> [schematool] An exception was thrown during the operation of SchemaTool.
> Please refer to the log for full details. The following may help : Field
> " com.ibm.isclite.wccm.approles.impl.ConsoleViewsImpl.consoleV iew " is
> declared as a reference type (interface/Object) but no implementation
> classes of "org.eclipse.emf.common.util.EList" have been found!
>
> I read somewhere that I need to include the jpoxhelper class in order to
> use the use the jpox schematool for EMF (similiar to what's in the
> library tutorial). Is this correct? If so, I would need to modify my
> build scripts to handle this.
>
> Julia
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:How to generate schema with jpoxhelper
Next Topic:[Teneo] Replacing persisted elements of an object heirarchy..
Goto Forum:
  


Current Time: Tue Apr 23 08:40:18 GMT 2024

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

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

Back to the top