Generating the model does not work [message #7941] |
Tue, 22 May 2007 14:37  |
Eclipse User |
|
|
|
Originally posted by: ra_winter.web.de
Hi,
I need to extend the data model of the bpel designer with a number of
new activites as part of my diploma. Therefore tried to generate the
model, but either cannot be generated or the generated classes have
wrong imports. That's what I've done in the listed order:
Eclipse 3.2.2
EMF 2.2.3
WST 1.5.4
1. Installed a fresh eclipse environment with the plugin-versions
mentioned above.
2. Checked out the latest bpel-designer plugin packages from your CVS
3. Imported org.eclipse.emf.ecore, org.eclipse.xsd and
org.eclipse.wst.wsdl into workspace as binary projects (with visible
model folders)
4. Changed the model paths in plugins from /model to /src-wsdl/model and
/src-xsd/model, otherwise the bpel.ecore and bpel.genmodel files could
not be opened due to wrong paths.
5. Selected "Generate Model" while not changing anything in the model
itself!
6. Hundreds of compilation errors occured, because nearly all generated
classes import org.eclipse.wst.wsdl.impl.ExtensibilityElement (which is
simply not there) INSTEAD of
org.eclipse.wst.wsdl.internal.impl.ExtensibilityElement (which is
present in the org.eclipse.wst.wsdl plugin)
If I correct all these wrong imports manually and try to start the
bpel-designer plugin in a test environment, opening a .bpel-file results
in exceptions...
So now my questions, because I already spent a couple of days on that:
- What am I doing wrong? Are there special plugin-version I need to have
in order to get the model generation running?
- Where does the wrong import come from? I could not find anything if I
examine the ecore and genmodel files in text mode...
- Is this the only solution to extend the datamodel in order to support
new activites?
I hope these informations will help to find a solution for me...thanks
in advance!!!
Best regards,
Ralf Winter
|
|
|
Re: Generating the model does not work [message #7981 is a reply to message #7941] |
Tue, 22 May 2007 15:59   |
Eclipse User |
|
|
|
This may have answered this in the dev group, but there is a slightly
screwed up way of dealing with EMF models especially those that "use
WSDL" emf models ...
Read this ...
http://dev.eclipse.org/mhonarc/lists/bpel-dev/msg00307.html
-michal
Ralf Winter wrote:
> Hi,
>
> I need to extend the data model of the bpel designer with a number of
> new activites as part of my diploma. Therefore tried to generate the
> model, but either cannot be generated or the generated classes have
> wrong imports. That's what I've done in the listed order:
>
> Eclipse 3.2.2
> EMF 2.2.3
> WST 1.5.4
>
> 1. Installed a fresh eclipse environment with the plugin-versions
> mentioned above.
> 2. Checked out the latest bpel-designer plugin packages from your CVS
> 3. Imported org.eclipse.emf.ecore, org.eclipse.xsd and
> org.eclipse.wst.wsdl into workspace as binary projects (with visible
> model folders)
> 4. Changed the model paths in plugins from /model to /src-wsdl/model and
> /src-xsd/model, otherwise the bpel.ecore and bpel.genmodel files could
> not be opened due to wrong paths.
> 5. Selected "Generate Model" while not changing anything in the model
> itself!
> 6. Hundreds of compilation errors occured, because nearly all generated
> classes import org.eclipse.wst.wsdl.impl.ExtensibilityElement (which is
> simply not there) INSTEAD of
> org.eclipse.wst.wsdl.internal.impl.ExtensibilityElement (which is
> present in the org.eclipse.wst.wsdl plugin)
>
> If I correct all these wrong imports manually and try to start the
> bpel-designer plugin in a test environment, opening a .bpel-file results
> in exceptions...
>
> So now my questions, because I already spent a couple of days on that:
>
> - What am I doing wrong? Are there special plugin-version I need to have
> in order to get the model generation running?
> - Where does the wrong import come from? I could not find anything if I
> examine the ecore and genmodel files in text mode...
> - Is this the only solution to extend the datamodel in order to support
> new activites?
>
> I hope these informations will help to find a solution for me...thanks
> in advance!!!
>
> Best regards,
>
> Ralf Winter
|
|
|
Re: Generating the model does not work [message #8017 is a reply to message #7981] |
Tue, 22 May 2007 16:26   |
Eclipse User |
|
|
|
Originally posted by: ra_winter.web.de
Hi Michal,
I already looked into this thread, but it was no solution for me. The
versions mentioned there did not work either.
Ralf
Michal Chmielewski schrieb:
> This may have answered this in the dev group, but there is a slightly
> screwed up way of dealing with EMF models especially those that "use
> WSDL" emf models ...
>
> Read this ...
>
> http://dev.eclipse.org/mhonarc/lists/bpel-dev/msg00307.html
>
> -michal
>
>
> Ralf Winter wrote:
>> Hi,
>>
>> I need to extend the data model of the bpel designer with a number of
>> new activites as part of my diploma. Therefore tried to generate the
>> model, but either cannot be generated or the generated classes have
>> wrong imports. That's what I've done in the listed order:
>>
>> Eclipse 3.2.2
>> EMF 2.2.3
>> WST 1.5.4
>>
>> 1. Installed a fresh eclipse environment with the plugin-versions
>> mentioned above.
>> 2. Checked out the latest bpel-designer plugin packages from your CVS
>> 3. Imported org.eclipse.emf.ecore, org.eclipse.xsd and
>> org.eclipse.wst.wsdl into workspace as binary projects (with visible
>> model folders)
>> 4. Changed the model paths in plugins from /model to /src-wsdl/model
>> and /src-xsd/model, otherwise the bpel.ecore and bpel.genmodel files
>> could not be opened due to wrong paths.
>> 5. Selected "Generate Model" while not changing anything in the model
>> itself!
>> 6. Hundreds of compilation errors occured, because nearly all
>> generated classes import
>> org.eclipse.wst.wsdl.impl.ExtensibilityElement (which is simply not
>> there) INSTEAD of
>> org.eclipse.wst.wsdl.internal.impl.ExtensibilityElement (which is
>> present in the org.eclipse.wst.wsdl plugin)
>>
>> If I correct all these wrong imports manually and try to start the
>> bpel-designer plugin in a test environment, opening a .bpel-file
>> results in exceptions...
>>
>> So now my questions, because I already spent a couple of days on that:
>>
>> - What am I doing wrong? Are there special plugin-version I need to
>> have in order to get the model generation running?
>> - Where does the wrong import come from? I could not find anything if
>> I examine the ecore and genmodel files in text mode...
>> - Is this the only solution to extend the datamodel in order to
>> support new activites?
>>
>> I hope these informations will help to find a solution for me...thanks
>> in advance!!!
>>
>> Best regards,
>>
>> Ralf Winter
|
|
|
|
Re: Generating the model does not work [message #8140 is a reply to message #7981] |
Thu, 14 June 2007 19:08  |
Eclipse User |
|
|
|
I've also been trying to generate new BPEL model code with no success and
extreme frustration. When I try to generate using current versions:
Eclipse 3.2.2
EMF 2.2.3
WST 1.5.4
...I can generate java code, but when I compile it I get thousands of
errors. If I go back and use versions as suggested by Michael:
Eclipse SDK 3.2.1
EMF SDK 2.1.2
WST SDK 1.5.2
...then I get a large number of errors even opening the genmodel files.
The errors are mostly related to being unable to find Ecore.ecore (even
though I have it and it seems to be correct). I've fixed a couple of
these by hand, but there are so many that going down this path would be
extremely slow and even then I'm unsure that my final result is any more
likely to succeed.
Is there any document describing how the BPEL project can be built
successfully? Or is anyone who has a working project willing to place it
somewhere that it could be downloaded so the rest of us could avoid all
this suffering?
Thanks in advance,
Roger (TIBCO Software Inc.)
|
|
|
Powered by
FUDForum. Page generated in 0.04893 seconds