Hi,

thanks to a plenty of tutorials and guides written by helpfully people all
over the world I was able to setup an OAW workflow for generating Hibernate
mapping files and POJO classes from a MagicDraw UML model based on the
persistence profile supplied with the Fornax Hibernate cartridge. Since I
have to use either Enterprise Architect 7.1 or some free UML tool for my
future work, I wonder whether it is possible to
- use the Eclipse 3.5 UML tooling for modelling the UML input model or
- use Enterprise Architect for modeling the UML input model

Using the Eclipse tools with the same setup that has worked for MagicDraw I
always ended in some errors:

    [java] 0    INFO  WorkflowRunner     -
--------------------------------------------------------------------------------------
     [java] 16   INFO  WorkflowRunner     - openArchitectureWare v4.3.1
     [java] 16   INFO  WorkflowRunner     - (c) 2005-2008
openarchitectureware.org and contributors
     [java] 16   INFO  WorkflowRunner     -
--------------------------------------------------------------------------------------
     [java] 16   INFO  WorkflowRunner     - running workflow: workflow.oaw
     [java] 16   INFO  WorkflowRunner     - 
     [java] 4547 INFO  CompositeComponent - TextConfigurationReader: loading
global configuration model (text) from hibernateConfig.txt
     [java] 4547 INFO  CompositeComponent - XmiReader: file
'src/main/resources/MyUmlTest.uml' => slot 'model'
     [java] 4641 INFO  CompositeComponent - Workflow: executing workflow
org/fornax/cartridges/uml2/hibernate/hibernate.oaw in workflow.oaw:37
     [java] 4641 INFO  CompositeComponent - CheckComponent: slot model check
file(s):
org::fornax::cartridges::uml2::hibernate::checks::CartridgeProperties 
     [java] 5266 INFO  CompositeComponent - FeatureComponent: executing
feature org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
org/fornax/cartridges/uml2/hibernate/hibernate.oaw:73
     [java] 5266 INFO  CompositeComponent -
XtendComponent(hibernateCartridge_transformations): executing
'org::fornax::cartridges::uml2::hibernate::extensions::ModelTransformation'
     [java] 5281 ERROR AbstractExpressionsUsingWorkflowComponent - Error in
Component hibernateCartridge_transformations of type
org.openarchitectureware.xtend.XtendComponent: 
     [java]     EvaluationException : Couldn't find extension
'createDefaultValues(uml::Package)'!
     [java]     nofile[0,26] on line 1 'createDefaultValues(model)'
     [java] 5281 ERROR WorkflowRunner     - Workflow interrupted. Reason:
EvaluationException : Couldn't find extension
'createDefaultValues(uml::Package)'!
     [java]     nofile[0,26] on line 1 'createDefaultValues(model)'
     [java] 5281 ERROR WorkflowRunner     - ERROR in Component
hibernateCartridge_transformations of type
org.openarchitectureware.xtend.XtendComponent
     [java]     Couldn't find extension 'createDefaultValues(uml::Package)'!
[createDefaultValues(model)]  in workflow:
XtendComponent(hibernateCartridge_transformations): executing
'org::fornax::cartridges::uml2::hibernate::extensions::ModelTransformation'
BUILD SUCCESSFUL
Total time: 6 seconds

To go with Enterprise Architect I need a way to import the Persistence
profile (is there a way?) and hope to use the EA UML exporter.
I tested both, Eclipse 3.5 and Eclipse 3.4.2 with OAW 4.3.1.
Is there a way to get this done?

Best regards,
Croin

-- 
View this message in context: 
http://old.nabble.com/Eclipse-UML-and-or-EA-approach-for-Fornax-Hibernate-Transformation-tp27933372s17564p27933372.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to