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 (after updating profiles in spring
cartridge), 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---problem-with-svn-trunk-once-again-tp15443699s17564p15443699.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