Hallo Attila,

I'have had already updated the profiles from the Hibernate-Cartridge. But
that is not the problem.
Here is the log of the generator (I have tried it with simple-example,
advanced and reference):


=================================================================
INFO -
--------------------------------------------------------------------------------------
INFO - openArchitectureWare 4.2.0, Build 200709162219NGT
INFO - (c) 2005-2007 openarchitectureware.org and contributors
INFO -
--------------------------------------------------------------------------------------
INFO - running workflow: workflow.oaw
INFO - 
DEBUG - Checking configuration of: XmiReader: file
'model/springadvancedexample.uml' => slot 'model'
DEBUG - Checking configuration of: DirectoryCleaner(dirCleaner): cleaning
directory './src/generated/java, ./src/generated/resources'
DEBUG - Checking configuration of: Workflow: executing workflow
org/fornax/cartridges/uml2/spring/spring.oaw in workflow.oaw:16
DEBUG - Checking configuration of: TextConfigurationReader: loading global
configuration model (text) from hibernateConfig.txt
DEBUG - Checking configuration of: Workflow: executing workflow
org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
org/fornax/cartridges/uml2/spring/spring.oaw:48
DEBUG - Checking configuration of: FeatureComponent: executing feature
org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
org/fornax/cartridges/uml2/hibernate/hibernate.oaw:55
DEBUG - Checking configuration of: XtendComponent: executing
'org::fornax::cartridges::uml2::hibernate::extensions::PreProcessing'
DEBUG - Checking configuration of: XtendComponent: executing
'org::fornax::cartridges::uml2::hibernate::extensions::ModelTransformation'
DEBUG - Checking configuration of: CheckComponent: slot model check file(s):
org::fornax::cartridges::uml2::hibernate::checks::Constraints
org::fornax::cartridges::uml2::hibernate::checks::AssociationChecks 
DEBUG - Checking configuration of: FeatureComponent: executing feature
org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
org/fornax/cartridges/uml2/hibernate/hibernate.oaw:93
DEBUG - Checking configuration of:
Generator(hibernateCartridge_mapping_generator): generating
'org::fornax::cartridges::uml2::hibernate::templates::feature_mappings::Root
FOR model' => directory 'null'
DEBUG - Checking configuration of: FeatureComponent: executing feature
org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
org/fornax/cartridges/uml2/hibernate/hibernate.oaw:138
DEBUG - Checking configuration of:
Generator(hibernateCartridge_pojo_generator): generating
'org::fornax::cartridges::uml2::hibernate::templates::feature_pojo::Root FOR
model' => directory 'null'
DEBUG - Checking configuration of: FeatureComponent: executing feature
org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
org/fornax/cartridges/uml2/hibernate/hibernate.oaw:185
DEBUG - Checking configuration of: SchemaExporter(SchemaExport)
DEBUG - Checking configuration of: CheckComponent: slot model check file(s):
org::fornax::cartridges::uml2::spring::checks::Constraints 
DEBUG - Checking configuration of: XtendComponent: executing
'org::fornax::cartridges::uml2::spring::extensions::DaoTransformation'
DEBUG - Checking configuration of: Generator(spring_generator): generating
'org::fornax::cartridges::uml2::spring::templates::Root::Root FOR model' =>
directory 'null'
INFO - XmiReader: file 'model/springadvancedexample.uml' => slot 'model'
INFO - DirectoryCleaner(dirCleaner): cleaning directory
'./src/generated/java, ./src/generated/resources'
INFO - Cleaning
C:\development\oaw\workspace\sx-fornax-cartridges-uml2-spring2-example-advanced\.\src\generated\java
INFO - Cleaning
C:\development\oaw\workspace\sx-fornax-cartridges-uml2-spring2-example-advanced\.\src\generated\resources
INFO - Workflow: executing workflow
org/fornax/cartridges/uml2/spring/spring.oaw in workflow.oaw:16
INFO - TextConfigurationReader: loading global configuration model (text)
from hibernateConfig.txt
INFO - Workflow: executing workflow
org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
org/fornax/cartridges/uml2/spring/spring.oaw:48
INFO - FeatureComponent: executing feature
org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
org/fornax/cartridges/uml2/hibernate/hibernate.oaw:55
INFO - XtendComponent: executing
'org::fornax::cartridges::uml2::hibernate::extensions::ModelTransformation'
INFO - --------------------
INFO - Starting Modelmodifications
INFO - Naming unnamed association-ends
INFO - Creating default-keys
INFO - --------------------
INFO - CheckComponent: slot model check file(s):
org::fornax::cartridges::uml2::hibernate::checks::Constraints
org::fornax::cartridges::uml2::hibernate::checks::AssociationChecks 
* * * Start Checks for model: Data * * *
INFO - FeatureComponent: executing feature
org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
org/fornax/cartridges/uml2/hibernate/hibernate.oaw:93
INFO - Generator(hibernateCartridge_mapping_generator): generating
'org::fornax::cartridges::uml2::hibernate::templates::feature_mappings::Root
FOR model' => directory 'null'
--------------------
* * * Start feature: 'mappings' * * *
* * Start generation of 2 Hibernate mappings * *
DEBUG - * Start generation of configuration file: MyClass1 *
DEBUG - Opening file :
C:\development\oaw\workspace\sx-fornax-cartridges-uml2-spring2-example-advanced\.\src\generated\resources\springadvancedexample\MyClass1Impl.hbm.xml
DEBUG - * Start generation of configuration file: MyClass2 *
DEBUG - Opening file :
C:\development\oaw\workspace\sx-fornax-cartridges-uml2-spring2-example-advanced\.\src\generated\resources\springadvancedexample\MyClass2Impl.hbm.xml
* * Start generation of Hibernate configuration files * *
DEBUG - Opening file :
C:\development\oaw\workspace\sx-fornax-cartridges-uml2-spring2-example-advanced\.\src\generated\resources\hibernate.properties
DEBUG - Opening file :
C:\development\oaw\workspace\sx-fornax-cartridges-uml2-spring2-example-advanced\.\src\generated\resources\hibernate.cfg.xml
--------------------
INFO - Written 4 files to outlet [default](./src/generated/resources)
INFO - FeatureComponent: executing feature
org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
org/fornax/cartridges/uml2/hibernate/hibernate.oaw:138
INFO - Generator(hibernateCartridge_pojo_generator): generating
'org::fornax::cartridges::uml2::hibernate::templates::feature_pojo::Root FOR
model' => directory 'null'
--------------------
* * * Start feature: 'pojo' * * *
* * Start generation of 2 pojos * *
DEBUG - Opening file :
C:\development\oaw\workspace\sx-fornax-cartridges-uml2-spring2-example-advanced\.\src\generated\java\springadvancedexample\MyClass1.java
DEBUG - no config file specified; using the default config file supplied
with oAW: org.eclipse.jdt.core.formatterprefs
DEBUG - Opening file :
C:\development\oaw\workspace\sx-fornax-cartridges-uml2-spring2-example-advanced\.\src\generated\java\springadvancedexample\AbstractMyClass1.java
DEBUG - Skipping file :
C:\development\oaw\workspace\sx-fornax-cartridges-uml2-spring2-example-advanced\.\src\main\java\springadvancedexample\MyClass1Impl.java
cause it exists allready
DEBUG - Opening file :
C:\development\oaw\workspace\sx-fornax-cartridges-uml2-spring2-example-advanced\.\src\generated\java\springadvancedexample\MyClass2.java
DEBUG - Opening file :
C:\development\oaw\workspace\sx-fornax-cartridges-uml2-spring2-example-advanced\.\src\generated\java\springadvancedexample\AbstractMyClass2.java
DEBUG - Skipping file :
C:\development\oaw\workspace\sx-fornax-cartridges-uml2-spring2-example-advanced\.\src\main\java\springadvancedexample\MyClass2Impl.java
cause it exists allready
* * Start generation of 0 classes * *
--------------------
INFO - Written 4 files to outlet [default](./src/generated/java)
INFO - Skipped writing of 2 files to outlet
outletSrcOnceDir(./src/main/java)
INFO - FeatureComponent: executing feature
org/fornax/cartridges/uml2/hibernate/hibernate.oaw in
org/fornax/cartridges/uml2/hibernate/hibernate.oaw:185
INFO - SchemaExporter(SchemaExport)
INFO - CheckComponent: slot model check file(s):
org::fornax::cartridges::uml2::spring::checks::Constraints 
=================================================================

Is it working on your environment? 

regards,

Daniel




Bak Attila wrote:
> 
> Fixed. Copied the profiles from hibernate.
> 
> Please give me feedback that it is working for you!
> 
>>
>> Hi Attila,
>>
>> Thank you for your fast reply!
>>
>> regards,
>>
>> Daniel
>>
>>
>>
>> Bak Attila wrote:
>>>
>>> Hi Daniel,
>>>
>>> I will need to look into it. It can happen that because of hibernate
>>> changes the spring cartridge is not working anymore.
>>> Please give me some time to correct the problem. I will do it as soon as
>>> possible.
>>>
>>> Regards,
>>> attila
>>>
>>>
>>>
>>>>
>>>> Hello,
>>>>
>>>> I have some Problems with the spring cartridge:
>>>>
>>>> 1. I checked out the projects
>>>>
>>>> - fornax-cartridges-uml2-spring2-example-simple
>>>> - fornax-cartridges-uml2-spring-core
>>>> - fornax-cartridges-uml2-spring-generator
>>>> - fornax-cartridges-uml2-spring-reference
>>>> - fornax-cartridges-uml2-spring-parent
>>>>
>>>> 2. I did a maven install on the spring-parent's pom.xml I got
>>>> following:
>>>> =================================================================
>>>> [ERROR] BUILD FAILURE
>>>> org.fornax.cartridges:fornax-cartridges-uml2-spring-core:jar:1.0.0-SNAPSHOT
>>>> (  task-segment: [install] )
>>>> [INFO]
>>>> ----------------------------------------------------------------------------
>>>> [INFO] Missing:
>>>> ----------
>>>> 1)
>>>> org.fornax.cartridges:fornax-cartridges-uml2-hibernate-generator:jar:1.4.2-SNAPSHOT
>>>>
>>>>   Try downloading the file manually from the project website.
>>>>
>>>>   Then, install it using the command:
>>>>       mvn install:install-file -DgroupId=org.fornax.cartridges
>>>> -DartifactId=fornax-cartridges-uml2-hibernate-generator \
>>>>           -Dversion=1.4.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>>>> Alternatively, if you host your own repository you can deploy the file
>>>> there:
>>>>       mvn deploy:deploy-file -DgroupId=org.fornax.cartridges
>>>> -DartifactId=fornax-cartridges-uml2-hibernate-generator \
>>>>           -Dversion=1.4.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>>>> \
>>>>            -Durl=[url] -DrepositoryId=[id]
>>>>
>>>>   Path to dependency:
>>>>    1)
>>>> org.fornax.cartridges:fornax-cartridges-uml2-spring-core:jar:1.0.0-SNAPSHOT
>>>>    2)
>>>> org.fornax.cartridges:fornax-cartridges-uml2-hibernate-generator:jar:1.4.2-SNAPSHOT
>>>>
>>>> ----------
>>>> 1 required artifact is missing.
>>>>
>>>> for artifact:
>>>>
>>>> org.fornax.cartridges:fornax-cartridges-uml2-spring-core:jar:1.0.0-SNAPSHOT
>>>>
>>>> from the specified remote repositories:
>>>>   central (http://repo1.maven.org/maven2),
>>>>   fornax.repository (http://www.fornax-platform.org/m2/repository)
>>>>
>>>> ====================================================================
>>>>
>>>> Ok, I have heard that 1.4.2-Version of Hibernate will be released soon.
>>>> So I tried another way: I checked out all relevant Projects
>>>> (Java-Basic-Cartrigde-Projects and Hibernate Cartridge Projects) to
>>>> build
>>>> my
>>>> own 1.4.2-Snapshot-Version.
>>>>
>>>> After I did that, the maven install finished without errors.
>>>> Next step was to generate the code from the
>>>> spring2-example-simple-project.
>>>> The result was that all Hibernate-Classes were generated but the
>>>> generation
>>>> of the Spring-classes (DAOs, Services, etc.) failed without an error.
>>>> the
>>>> last step was spring's constraints.check and then it stopped.
>>>>
>>>> I did the same 2 or 3 weeks ago and it worked. Is it possible that the
>>>> spring projects in svn-trunk are not always synchronized/compatible
>>>> with
>>>> the
>>>> java basic projects and hibernate projects in svn-trunk? I recognized
>>>> that
>>>> there have been many changes in the hibernate-projects but no changes
>>>> in
>>>> the
>>>> spring-projects in the last 2 or 3 weeks.
>>>>
>>>> Who can help me? Is there a Branch in which all projects work together
>>>> correctly. I would need all Projects, because I would like to extend
>>>> the
>>>> Hibernate Cartridge and the Spring Cardridge.
>>>>
>>>> thanks,
>>>>
>>>> daniel
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/spring-cartridge---problems-with-svn-trunk-tp15419343s17564p15419343.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
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/spring-cartridge---problems-with-svn-trunk-tp15419343s17564p15421300.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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/spring-cartridge---problems-with-svn-trunk-tp15419343s17564p15428651.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

Reply via email to