Hi Attila,
I have work copy from subversion (revision 3131, svn update from
today) . I call "mvn clean install" from
cartridges/uml2/Spring2/fornax-cartridges-uml2-spring-parent directory
and I get the same exception:
* * * Start feature: 'mappings' * * *
* * Start generation of 2 Hibernate mappings * *
7723 ERROR AbstractExpressionsUsingWorkflowComponent - Error in
Component hibernateCartridge_mapping_generator of type
org.openarchitectureware.xpand2.Generator:
EvaluationException : Couldn't find extension
'implementationClassName(String)'!
org::fornax::cartridges::uml2::hibernate::extensions::Hibernate.ext[1537,31]
on line 40
'implementationClassName(e.name)'
org::fornax::cartridges::uml2::hibernate::templates::Mapping.xpt[1790,19]
on line 51
'computeFQFileName()'
org::fornax::cartridges::uml2::hibernate::templates::feature_mappings.xpt[995,69]
on line 29 'EXPAND Mapping::Start FOREACH
getTopELementOfGeneralisationEntities()'
[23,92] on line 1 'EXPAND
org::fornax::cartridges::uml2::hibernate::templates::feature_mappings::Root
FOR model'
7724 ERROR WorkflowRunner - Workflow interrupted. Reason: null
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
If I call maven for fornax-cartridges-uml2-spring2-example-simple or for
fornax-cartridges-uml2-spring-advanced I get still the same exception. I
don't use spring cartridge in my project, not yet.
Regards,
Tomek
> Hi,
>
> The problem is that the changed HIbernate profiles is missing from you.
> Please copy the hibernate uml profiles to your project. (in this case the
> spring reference)
>
> Altough i have thought i checked it in...
>
> Can you please try to build the spring simple/advanced example and give me
> feedback?
>
> Regards,
> attila
>
>
>> Hi all,
>>
>> I tried to build three cartridges: javabasic, hibernate and spring from
>> trunk (revision 3128). I did not have any problems with javabasic and
>> hibernate but for spring I got following exception:
>>
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] Building Fornax Spring Cartridge Reference
>> [INFO] task-segment: [clean, install]
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] [clean:clean]
>> [INFO] [fornax-oaw-m2:run-workflow {execution: default}]
>> [INFO] oAW Maven2 Plugin V2.0.0
>> 0 INFO WorkflowRunner -
>> --------------------------------------------------------------------------------------
>> 144 INFO WorkflowRunner - openArchitectureWare 4.2.0, Build
>> 200709162219NGT
>> 144 INFO WorkflowRunner - (c) 2005-2007 openarchitectureware.org and
>> contributors
>> 145 INFO WorkflowRunner -
>> --------------------------------------------------------------------------------------
>> 146 INFO WorkflowRunner - running workflow: workflow.oaw
>> 148 INFO WorkflowRunner -
>> 223 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.xpand2.Generator
>> 224 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.xpand2.Generator
>> 225 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.eclipse.mwe.emf.Reader
>> 227 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.eclipse.mwe.emf.Writer
>> 229 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.xtend.XtendComponent
>> 239 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.xtend.XtendComponent
>> 240 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.xpand2.GeneratorAdvice
>> 241 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.xtend.XtendAdvice
>> 246 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.check.CheckComponent
>> 4857 INFO CompositeComponent - XmiReader: file
>> 'model/reference_model.uml'
>> => slot 'model'
>> 5568 INFO CompositeComponent - DirectoryCleaner(dirCleaner): cleaning
>> directory
>> '/home/tlempart/clients/opensource/projects/fornax-platform/trunk/cartridges/uml2/Spring2/fornax-cartridges-uml2-spring-parent/../fornax-cartridges-uml2-spring-reference/src/generated/java,
>> /home/tlempart/clients/opensource/projects/fornax-platform/trunk/cartridges/uml2/Spring2/fornax-cartridges-uml2-spring-parent/../fornax-cartridges-uml2-spring-reference/src/generated/resources'
>> 5569 INFO CompositeComponent - Workflow: executing workflow
>> org/fornax/cartridges/uml2/spring/spring.oaw in workflow.oaw:16
>> 5569 INFO CompositeComponent - TextConfigurationReader: loading global
>> configuration model (text) from hibernateConfig.txt
>> 5570 INFO CompositeComponent - Workflow: executing workflow
>> org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
>> org/fornax/cartridges/uml2/spring/spring.oaw:48
>> 5571 INFO CompositeComponent - FeatureComponent: executing feature
>> org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
>> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:55
>> 5572 INFO CompositeComponent - XtendComponent: executing
>> 'org::fornax::cartridges::uml2::hibernate::extensions::ModelTransformation'
>> 6134 INFO IOExtensions - --------------------
>> 6138 INFO IOExtensions - Starting Modelmodifications
>> 6142 INFO IOExtensions - Naming unnamed association-ends
>> 8059 INFO IOExtensions - Creating default-keys
>> 8219 INFO IOExtensions - --------------------
>> 8221 INFO CompositeComponent - CheckComponent: slot model check file(s):
>> org::fornax::cartridges::uml2::hibernate::checks::Constraints
>> org::fornax::cartridges::uml2::hibernate::checks::AssociationChecks
>> 10368 ERROR AbstractExpressionsUsingWorkflowComponent - Error in Component
>> of type org.openarchitectureware.check.CheckComponent:
>> EvaluationException : Type not found : Discriminator
>>
>> org::fornax::cartridges::uml2::hibernate::checks::Constraints[3030,146] on
>> line 73 'Discriminator "A Discriminator could not have a multiplicity
>> bigger
>> then 1! ".+(name).+(" inside ").+(class.fqName())'
>>
>> 10370 ERROR WorkflowRunner - Workflow interrupted. Reason: null
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Generation failed
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 31 seconds
>> [INFO] Finished at: Tue Feb 12 21:16:16 GMT 2008
>> [INFO] Final Memory: 31M/55M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>> I read thread:
>>
>>
>> http://www.nabble.com/spring-cartridge---problems-with-svn-trunk-td15419343s17564.html#a15429643
>>
>> so I tried with revision 3123, but without succes:
>>
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] Building Fornax Spring Cartridge Reference
>> [INFO] task-segment: [clean, install]
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] [clean:clean]
>> [INFO] [fornax-oaw-m2:run-workflow {execution: default}]
>> [INFO] oAW Maven2 Plugin V2.0.0
>> 0 INFO WorkflowRunner -
>> --------------------------------------------------------------------------------------
>> 144 INFO WorkflowRunner - openArchitectureWare 4.2.0, Build
>> 200709162219NGT
>> 144 INFO WorkflowRunner - (c) 2005-2007 openarchitectureware.org and
>> contributors
>> 145 INFO WorkflowRunner -
>> --------------------------------------------------------------------------------------
>> 146 INFO WorkflowRunner - running workflow: workflow.oaw
>> 148 INFO WorkflowRunner -
>> 223 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.xpand2.Generator
>> 224 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.xpand2.Generator
>> 225 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.eclipse.mwe.emf.Reader
>> 227 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.eclipse.mwe.emf.Writer
>> 229 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.xtend.XtendComponent
>> 239 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.xtend.XtendComponent
>> 240 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.xpand2.GeneratorAdvice
>> 241 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.xtend.XtendAdvice
>> 246 WARN WorkflowCustomization - Cannot resolve keyword class
>> org.openarchitectureware.check.CheckComponent
>> 4857 INFO CompositeComponent - XmiReader: file
>> 'model/reference_model.uml'
>> => slot 'model'
>> 5568 INFO CompositeComponent - DirectoryCleaner(dirCleaner): cleaning
>> directory
>> '/home/tlempart/clients/opensource/projects/fornax-platform/trunk/cartridges/uml2/Spring2/fornax-cartridges-uml2-spring-parent/../fornax-cartridges-uml2-spring-reference/src/generated/java,
>> /home/tlempart/clients/opensource/projects/fornax-platform/trunk/cartridges/uml2/Spring2/fornax-cartridges-uml2-spring-parent/../fornax-cartridges-uml2-spring-reference/src/generated/resources'
>> 5569 INFO CompositeComponent - Workflow: executing workflow
>> org/fornax/cartridges/uml2/spring/spring.oaw in workflow.oaw:16
>> 5569 INFO CompositeComponent - TextConfigurationReader: loading global
>> configuration model (text) from hibernateConfig.txt
>> 5570 INFO CompositeComponent - Workflow: executing workflow
>> org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
>> org/fornax/cartridges/uml2/spring/spring.oaw:48
>> 5571 INFO CompositeComponent - FeatureComponent: executing feature
>> org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
>> org/fornax/cartridges/uml2/hibernate/hibernate.oaw:55
>> 5572 INFO CompositeComponent - XtendComponent: executing
>> 'org::fornax::cartridges::uml2::hibernate::extensions::ModelTransformation'
>> 6134 INFO IOExtensions - --------------------
>> 6138 INFO IOExtensions - Starting Modelmodifications
>> 6142 INFO IOExtensions - Naming unnamed association-ends
>> 8059 INFO IOExtensions - Creating default-keys
>> 8219 INFO IOExtensions - --------------------
>> 8221 INFO CompositeComponent - CheckComponent: slot model check file(s):
>> org::fornax::cartridges::uml2::hibernate::checks::Constraints
>> org::fornax::cartridges::uml2::hibernate::checks::AssociationChecks
>> 10368 ERROR AbstractExpressionsUsingWorkflowComponent - Error in Component
>> of type org.openarchitectureware.check.CheckComponent:
>> EvaluationException : Type not found : Discriminator
>>
>> org::fornax::cartridges::uml2::hibernate::checks::Constraints[3030,146] on
>> line 73 'Discriminator "A Discriminator could not have a multiplicity
>> bigger
>> then 1! ".+(name).+(" inside ").+(class.fqName())'
>>
>> 10370 ERROR WorkflowRunner - Workflow interrupted. Reason: null
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Generation failed
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 31 seconds
>> [INFO] Finished at: Tue Feb 12 21:16:16 GMT 2008
>> [INFO] Final Memory: 31M/55M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> What is wrong with it? I understand, that after 3123 revision profile
>> file for hibernate was updated and therefore spring cartridge does not
>> compile, but why it does not work for version 3123? It would be great
>> (especially for beginners), if there was some svn revision, where this
>> three
>> cartridges work together.
>>
>> Regards,
>> Tomek
>>
>> --
>> View this message in context:
>> http://www.nabble.com/spring-cartridge---problems-with-svn-trunk-once-again-tp15450671s17564p15450671.html
>> Sent from the Fornax-Platform mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Fornax-developer mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>>
>>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Fornax-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer