Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 2.6.0.RELEASE
    • Fix Version/s: None
    • Component/s: ROO
    • Labels:
    • Environment:
      Version: 2.6.0.RELEASE Build Id: 201103161000, spring-roo-1.1.3.RELEASE, org.springframework.flex.roo.addon-1.0.0.BUILD-20110428.091023-291, org.springframework.flex.roo.annotations-1.0.0.BUILD-20110428.091023-291

      Description

      Simple Single Entity Roo Shell follows. I found the same problem with multiple Entities, simple and complex, run from script files or typed into the shell or using the command wizard.

      roo> persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
      Updated SRC_MAIN_RESOURCES\META-INF\spring\applicationContext.xml
      Updated SRC_MAIN_RESOURCES\META-INF\persistence.xml
      Created SRC_MAIN_RESOURCES\META-INF\spring\database.properties
      Updated ROOT\pom.xml [Added dependencies org.hsqldb:hsqldb:1.8.0.10, org.hibernate:hibernate-core:3.6.1.Final, org.hibernate:hibernate-entitymanager:3.6.1.Final, org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.0.Final, org.hibernate:hibernate-validator:4.1.0.Final, javax.validation:validation-api:1.0.0.GA, cglib:cglib-nodep:2.2, javax.transaction:jta:1.1, org.springframework:spring-jdbc:${spring.version}, org.springframework:spring-orm:${spring.version}, commons-pool:commons-pool:1.5.4, commons-dbcp:commons-dbcp:1.3]
      Updated ROOT\pom.xml [Added repository https://repository.jboss.org/nexus/content/repositories/releases]
      roo> entity --class ActionProperties --abstract false --testAutomatically true --mappedSuperclass false --serializable false --permitReservedWords false
      Created SRC_MAIN_JAVA\com\flextest
      Created SRC_MAIN_JAVA\com\flextest\ActionProperties.java
      Created SRC_TEST_JAVA\com\flextest
      Created SRC_TEST_JAVA\com\flextest\ActionPropertiesDataOnDemand.java
      Created SRC_TEST_JAVA\com\flextest\ActionPropertiesIntegrationTest.java
      Created SRC_MAIN_JAVA\com\flextest\ActionProperties_Roo_ToString.aj
      Created SRC_MAIN_JAVA\com\flextest\ActionProperties_Roo_Entity.aj
      Created SRC_MAIN_JAVA\com\flextest\ActionProperties_Roo_Configurable.aj
      Created SRC_TEST_JAVA\com\flextest\ActionPropertiesIntegrationTest_Roo_IntegrationTest.aj
      Created SRC_TEST_JAVA\com\flextest\ActionPropertiesDataOnDemand_Roo_Configurable.aj
      Deleted SRC_MAIN_JAVA\com\flextest\ActionProperties_Roo_ToString.aj
      Created SRC_TEST_JAVA\com\flextest\ActionPropertiesDataOnDemand_Roo_DataOnDemand.aj
      Created SRC_TEST_JAVA\com\flextest\ActionPropertiesIntegrationTest_Roo_Configurable.aj
      ~.ActionProperties roo> field string APropertyName --notNull
      Updated SRC_MAIN_JAVA\com\flextest\ActionProperties.java
      Created SRC_MAIN_JAVA\com\flextest\ActionProperties_Roo_JavaBean.aj
      Created SRC_MAIN_JAVA\com\flextest\ActionProperties_Roo_ToString.aj
      Updated SRC_TEST_JAVA\com\flextest\ActionPropertiesDataOnDemand_Roo_DataOnDemand.aj
      ~.ActionProperties roo> field string APropertyType --notNull
      Updated SRC_MAIN_JAVA\com\flextest\ActionProperties.java
      Updated SRC_MAIN_JAVA\com\flextest\ActionProperties_Roo_JavaBean.aj
      Updated SRC_MAIN_JAVA\com\flextest\ActionProperties_Roo_ToString.aj
      Updated SRC_TEST_JAVA\com\flextest\ActionPropertiesDataOnDemand_Roo_DataOnDemand.aj
      ~.ActionProperties roo> field string APropertyValidator
      Updated SRC_MAIN_JAVA\com\flextest\ActionProperties.java
      Updated SRC_MAIN_JAVA\com\flextest\ActionProperties_Roo_JavaBean.aj
      Updated SRC_MAIN_JAVA\com\flextest\ActionProperties_Roo_ToString.aj
      Updated SRC_TEST_JAVA\com\flextest\ActionPropertiesDataOnDemand_Roo_DataOnDemand.aj
      ~.ActionProperties roo> field string APropertyDefault
      Updated SRC_MAIN_JAVA\com\flextest\ActionProperties.java
      Updated SRC_MAIN_JAVA\com\flextest\ActionProperties_Roo_JavaBean.aj
      Updated SRC_MAIN_JAVA\com\flextest\ActionProperties_Roo_ToString.aj
      Updated SRC_TEST_JAVA\com\flextest\ActionPropertiesDataOnDemand_Roo_DataOnDemand.aj
      ~.ActionProperties roo> flex setup
      Created SRC_MAIN_WEBAPP\WEB-INF\flex
      Created SRC_MAIN_WEBAPP\WEB-INF\flex\services-config.xml
      Created ROOT\src\main\flex
      Created ROOT\libs
      Created SRC_MAIN_WEBAPP\WEB-INF\spring
      Created SRC_MAIN_WEBAPP\WEB-INF\spring\flex-config.xml
      Created SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
      Created SRC_MAIN_WEBAPP\WEB-INF\web.xml
      Updated SRC_MAIN_WEBAPP\WEB-INF\web.xml
      Updated ROOT\pom.xml [Added dependencies org.springframework:spring-web:${spring.version}, org.springframework:spring-webmvc:${spring.version}, org.springframework.webflow:spring-js-resources:2.2.1.RELEASE, commons-digester:commons-digester:2.0, commons-fileupload:commons-fileupload:1.2.1, javax.servlet:jstl:1.2, javax.el:el-api:1.0, joda-time:joda-time:1.6, javax.servlet.jsp:jsp-api:2.1, commons-codec:commons-codec:1.4]
      Updated ROOT\pom.xml [Updated project type to war]
      Updated SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
      Updated ROOT\pom.xml [Added dependencies com.adobe.flex.framework:flex-framework:4.0.0.14159, org.springframework.flex:spring-flex-core:1.5.0.BUILD-SNAPSHOT, org.springframework.flex.roo.addon:org.springframework.flex.roo.annotations:1.0.0.BUILD-SNAPSHOT]
      Updated ROOT\pom.xml
      Updated ROOT\pom.xml [Added repository spring-external]
      Updated ROOT\pom.xml [Added repository flex]
      Updated ROOT\pom.xml [Added plugin flexmojos-maven-plugin]
      Updated ROOT\pom.xml [Removed plugin maven-eclipse-plugin]
      Updated ROOT\pom.xml [Added plugin maven-eclipse-plugin]
      Updated ROOT\pom.xml
      Created ROOT\.flexProperties
      Created ROOT\.actionScriptProperties
      Created ROOT\src\main\flex\FlexTest_scaffold.mxml
      Created SRC_MAIN_WEBAPP\FlexTest_scaffold.html
      Created SRC_MAIN_WEBAPP\swfobject.js
      Created SRC_MAIN_WEBAPP\rpc_4.0.0.14159.swf
      Created SRC_MAIN_WEBAPP\spark_4.0.0.14159.swf
      Created SRC_MAIN_WEBAPP\osmf_flex.4.0.0.13495.swf
      Created SRC_MAIN_WEBAPP\textLayout_1.0.0.595.swf
      Created SRC_MAIN_WEBAPP\sparkskins_4.0.0.14159.swf
      Created SRC_MAIN_WEBAPP\framework_4.0.0.14159.swf
      Created SRC_MAIN_WEBAPP\playerProductInstall.swf
      Created SRC_MAIN_WEBAPP\history
      Created SRC_MAIN_WEBAPP\history\history.css
      Created SRC_MAIN_WEBAPP\history\historyFrame.html
      Created SRC_MAIN_WEBAPP\history\history.js
      Created ROOT\html-template
      Created ROOT\html-template\swfobject.js
      Created ROOT\html-template\index.template.html
      Created ROOT\html-template\playerProductInstall.swf
      Created ROOT\html-template\history
      Created ROOT\html-template\history\history.css
      Created ROOT\html-template\history\historyFrame.html
      Created ROOT\html-template\history\history.js
      Created ROOT\src\main\flex\FlexTest_scaffold-config.xml
      ~.ActionProperties roo> flex remoting all --package ~.service
      Created SRC_MAIN_JAVA\com\flextest\service
      Created SRC_MAIN_JAVA\com\flextest\service\ActionPropertiesService.java
      Created ROOT\src\main\flex\com\flextest
      Created ROOT\src\main\flex\com\flextest\ActionProperties.as
      Undo create ROOT\src\main\flex\com\flextest\ActionProperties.as
      Undo create ROOT\src\main\flex\com\flextest
      Undo create SRC_MAIN_JAVA\com\flextest\service\ActionPropertiesService.java
      Undo create SRC_MAIN_JAVA\com\flextest\service
      A field with name 'APropertyName' already exists

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikeolivercto Michael Oliver
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: