Spring Roo
  1. Spring Roo
  2. ROO-2188

Cannot create GWT front-end interface on Roo project

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Complete
    • Affects Version/s: 1.1.2.RELEASE
    • Fix Version/s: 1.1.3.RELEASE
    • Component/s: GWT
    • Labels:
      None
    • Environment:
      Mac OS X Snow Leopard - Macbook Air

      Description

      This script fails with exceptions (see below script)

      project --topLevelPackage org.rooina.ria.ajax.coursemanager --projectName coursemanagergwt
      persistence setup --database HYPERSONIC_PERSISTENT --provider HIBERNATE 
      entity --class ~.model.Course
      field string --fieldName name
      field number --fieldName cost --type java.math.BigDecimal
      field number --fieldName numDays --type java.lang.Integer
      
      entity --class ~.model.Room
      field string --fieldName roomName
      field number --fieldName capacity --type java.lang.Integer
      
      entity --class ~.model.ScheduledCourse
      field date --fieldName offerDate --type java.util.Date
      field reference --fieldName room --type ~.model.Room --cardinality MANY_TO_ONE 
      field reference --fieldName course --type ~.model.Course --cardinality MANY_TO_ONE
      field set --type ~.model.ScheduledCourse --fieldName schedule --cardinality ONE_TO_MANY --class ~.model.Course
      field set --type ~.model.ScheduledCourse --fieldName schedule --cardinality ONE_TO_MANY --class ~.model.Room
      
      entity --class ~.model.Registration
      field string --fieldName firstName
      field string --fieldName lastName
      field reference --fieldName offering --type ~.model.ScheduledCourse --cardinality MANY_TO_ONE
      field boolean --fieldName paymentReceived
      field set --type ~.model.Registration --fieldName students --cardinality ONE_TO_MANY --class ~.model.ScheduledCourse
      
      gwt setup
      

      Error is:

      Undo manage SRC_MAIN_WEBAPP/WEB-INF/web.xml
      Undo manage ROOT/pom.xml
      Undo manage SRC_MAIN_WEBAPP/WEB-INF/web.xml
      Undo create SRC_MAIN_WEBAPP/WEB-INF/web.xml
      Undo create SRC_MAIN_WEBAPP/WEB-INF/spring/webmvc-config.xml
      Undo create SRC_MAIN_WEBAPP/WEB-INF/spring
      japa.parser.ParseException: Encountered " "." ". "" at line 99, column 13.
      Was expecting one of:
          "(" ...
          ";" ...
          "=" ...
          "++" ...
          "--" ...
          "+=" ...
          "-=" ...
          "*=" ...
          "/=" ...
          "&=" ...
          "|=" ...
          "^=" ...
          "%=" ...
          "<<=" ...
          ">>=" ...
          ">>>=" ...
      
      1. Roo_Output.log
        20 kB
        Cengiz Öner
      2. sample1.roo
        0.4 kB
        Cengiz Öner

        Issue Links

          Activity

          Hide
          Cengiz Öner added a comment -

          The following script fails as well:

          o-----o
          project --topLevelPackage com.foo.sample1

          persistence setup --database HYPERSONIC_PERSISTENT --provider HIBERNATE

          entity --class ~.server.domain.ObjectA
          field string --fieldName name --notNull --sizeMin 2

          entity --class ~.server.domain.ObjectB
          field string --fieldName name --notNull --sizeMin 2
          field set --fieldName toppings --type ~.server.domain.ObjectA

          gwt setup
          o-----o

          Here is the output in development mode:

          o-----o
          roo> script --file sample1.roo
          project --topLevelPackage com.foo.sample1
          ec8284a Created ROOT\pom.xml
          Created SRC_MAIN_JAVA
          Created SRC_MAIN_RESOURCES
          Created SRC_TEST_JAVA
          Created SRC_TEST_RESOURCES
          Created SRC_MAIN_WEBAPP
          Created SRC_MAIN_RESOURCES\META-INF\spring
          d3c88b3 Created SRC_MAIN_RESOURCES\META-INF\spring\applicationContext.xml
          53126d9 Created SRC_MAIN_RESOURCES\log4j.properties

          persistence setup --database HYPERSONIC_PERSISTENT --provider HIBERNATE
          51cb91e Updated ROOT\pom.xml [Removed redundant artifacts]
          1d16db7 Updated SRC_MAIN_RESOURCES\META-INF\spring\applicationContext.xml
          3619dcd Created SRC_MAIN_RESOURCES\META-INF\persistence.xml
          5295b9b Created SRC_MAIN_RESOURCES\META-INF\spring\database.properties
          27014c4 Updated ROOT\pom.xml [Added dependencies org.hsqldb:hsqldb:1.8.0.10, org.hibernate:hibernate-core:3.6.1.Final, o
          rg.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.trans
          action:jta:1.1, org.springframework:spring-jdbc:$

          {spring.version}, org.springframework:spring-orm:${spring.version}

          , com
          mons-pool:commons-pool:1.5.4, commons-dbcp:commons-dbcp:1.3]
          22653c4 Updated ROOT\pom.xml [Added repository https://repository.jboss.org/nexus/content/repositories/releases]

          entity --class ~.server.domain.ObjectA
          Created SRC_MAIN_JAVA\com\foo\sample1\server\domain
          2c60a13 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectA.java
          f53fcc5 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectA_Roo_Entity.aj
          2cd6a1c Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectA_Roo_Configurable.aj
          field string --fieldName name --notNull --sizeMin 2
          e817008 Updated SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectA.java
          f0e19a1 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectA_Roo_ToString.aj
          e061183 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectA_Roo_JavaBean.aj

          entity --class ~.server.domain.ObjectB
          0122420 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB.java
          9c4760c Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB_Roo_Entity.aj
          4771547 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB_Roo_Configurable.aj
          field string --fieldName name --notNull --sizeMin 2
          c6b18c5 Updated SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB.java
          107440c Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB_Roo_ToString.aj
          314bfa3 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB_Roo_JavaBean.aj
          field set --fieldName toppings --type ~.server.domain.ObjectA
          8fade8d Updated SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB.java
          2ce1e2f Updated SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB_Roo_ToString.aj
          5799c1a Updated SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB_Roo_JavaBean.aj

          gwt setup
          Created SRC_MAIN_WEBAPP\WEB-INF\spring
          d6fc48b Created SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
          8a00cb9 Created SRC_MAIN_WEBAPP\WEB-INF\web.xml
          6c595c5 Updated SRC_MAIN_WEBAPP\WEB-INF\web.xml
          67b4e1c Updated ROOT\pom.xml [Added dependencies org.springframework:spring-web:$

          {spring.version}, org.springframework:s
          pring-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-t
          ime:1.6, javax.servlet.jsp:jsp-api:2.1]
          0725bed Updated ROOT\pom.xml [Updated project type to war]
          7593480 Updated ROOT\pom.xml [Removed plugin maven-eclipse-plugin]
          ed015c4 Updated ROOT\pom.xml [Added plugin maven-eclipse-plugin]
          b027d65 Updated ROOT\pom.xml
          13af186 Updated ROOT\pom.xml [Added dependencies com.google.gwt:gwt-servlet:2.2.0, com.google.gwt:gwt-user:2.2.0, org.js
          on:json:20090211, com.googlecode.gwt.inject:gin:1.5, xalan:xalan:2.7.1]
          34cc4c8 Updated ROOT\pom.xml [Added plugin gwt-maven-plugin]
          e6df36d Updated ROOT\pom.xml [Added repository maven.springframework.org.external]
          6e93374 Updated SRC_MAIN_WEBAPP\WEB-INF\web.xml
          Created SRC_MAIN_JAVA\com\foo\sample1\client
          6d49966 Created SRC_MAIN_JAVA\com\foo\sample1\ApplicationScaffold.gwt.xml
          Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\request
          Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\request
          5573b7a Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\request\EventSourceRequestTransport.java
          80996fc Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\request\RequestEvent.java
          40069b3 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldMobileShell.java
          0a23739 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldDesktopShell.java
          d8e2707 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldDesktopApp.java
          d553778 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldMobileShell.ui.xml
          40056ef Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldDesktopShell.ui.xml
          3e460d6 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldMobileApp.java
          1ab5c2a Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\Scaffold.java
          506ad67 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldApp.java
          Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui
          3f271e4 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\ShortRenderer.java
          6e80ba3 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\CharRenderer.java
          8dd0606 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\ByteRenderer.java
          d56f00b Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\LoginWidget.ui.xml
          238d0a6 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\BigDecimalRenderer.java
          56838bf Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\MobileProxyListView.ui.xml
          32c0c80 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\LoginWidget.java
          d02c927 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\MobileProxyListView.java
          ef9c8b9 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\FloatRenderer.java
          fe8258e Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\FloatBox.java
          4cf267d Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\ShortBox.java
          76b5ba3 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\CharBox.java
          d2ae118 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\FloatParser.java
          db54d98 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\BigDecimalBox.java
          9d200a9 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\ByteBox.java
          2fb1e16 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\ByteParser.java
          37b8477 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\CharParser.java
          0d7acd7 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\CollectionRenderer.java
          8f3d439 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\BigDecimalParser.java
          51c210c Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\ShortParser.java
          Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\ui
          Created SRC_MAIN_JAVA\com\foo\sample1\server\gae
          16af764 Created SRC_MAIN_JAVA\com\foo\sample1\server\gae\UserServiceLocator.java
          d1db4ad Created SRC_MAIN_JAVA\com\foo\sample1\server\gae\GaeAuthFilter.java
          6526a0a Created SRC_MAIN_JAVA\com\foo\sample1\server\gae\UserServiceWrapper.java
          Created SRC_MAIN_JAVA\com\foo\sample1\client\style
          0634666 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\MobileListResources.java
          626bc25 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\mobile.css
          Created SRC_MAIN_JAVA\com\foo\sample1\shared
          Created SRC_MAIN_JAVA\com\foo\sample1\shared\scaffold
          f0b6faa Created SRC_MAIN_JAVA\com\foo\sample1\shared\scaffold\ScaffoldRequestFactory.java
          Created SRC_MAIN_JAVA\com\foo\sample1\shared\gae
          30a4f35 Created SRC_MAIN_JAVA\com\foo\sample1\shared\gae\GaeUserServiceRequest.java
          1b3ae85 Created SRC_MAIN_JAVA\com\foo\sample1\shared\gae\MakesGaeRequests.java
          7930250 Created SRC_MAIN_JAVA\com\foo\sample1\shared\gae\GaeUser.java
          Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc
          98869ed Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\ScaffoldModule.java
          9e4d887 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\MobileInjector.java
          c8ef6df Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\InjectorWrapper.java
          15869a0 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\DesktopInjectorWrapper.java
          c31deb8 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\ScaffoldInjector.java
          a946d24 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\MobileInjectorWrapper.java
          543887b Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\DesktopInjector.java
          Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place
          782a4b0 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyEditView.java
          f40d991 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\AbstractProxyListActivity.java
          b970711 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\AbstractProxyListView.java
          474f7eb Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyListView.java
          490c32c Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyPlace.java
          45da4bc Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\AbstractProxyEditActivity.java
          0b4501a Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ScaffoldPlaceHistoryMapper.java
          9acc389 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\FindAndEditProxy.java
          5c71606 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\CreateAndEditProxy.java
          7bc1512 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyDetailsView.java
          5bba5ae Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\PlaceHistoryFactory.java
          81d3799 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyPlaceToListPlace.java
          a046cea Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\CollectionRenderer.java
          d7e5b5e Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyListPlace.java
          979c2a8 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyListPlacePicker.java
          Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\gae
          a0ed0af Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\gae\GaeLoginWidgetDriver.java
          554b19f Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\gae\GaeAuthRequestTransport.java
          309e95a Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\gae\ReloadOnAuthenticationFailure.java
          6fd70b0 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\gae\GaeAuthenticationFailureEvent.java
          Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images
          91ce5e4 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\groupIcon.png
          a59f152 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\selectionGradient.png
          65ca295 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\createButton.png
          14579fe Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\openGradient.png
          bff2aa1 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\titleGradient.png
          ac729a8 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\backButton.png
          b5d91f9 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\userIcon.png
          1998f18 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\gwtLogo.png
          8edb4ec Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\rooLogo.png
          52da000 Created SRC_MAIN_WEBAPP\index.html
          4809176 Created SRC_MAIN_WEBAPP\ApplicationScaffold.html
          Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\activity
          Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\activity
          80a2068 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\activity\IsScaffoldMobileActivity.java
          japa.parser.ParseException: Encountered " "." ". "" at line 99, column 13.
          Was expecting one of:
          "(" ...
          ";" ...
          "=" ...
          "++" ...
          "--" ...
          "+=" ...
          "-=" ...
          "*=" ...
          "/=" ...
          "&=" ...
          "|=" ...
          "^=" ...
          "%=" ...
          "<<=" ...
          ">>=" ...
          ">>>=" ...

          java.lang.IllegalStateException: japa.parser.ParseException: Encountered " "." ". "" at line 99, column 13.
          Was expecting one of:
          "(" ...
          ";" ...
          "=" ...
          "++" ...
          "--" ...
          "+=" ...
          "-=" ...
          "*=" ...
          "/=" ...
          "&=" ...
          "|=" ...
          "^=" ...
          "%=" ...
          "<<=" ...
          ">>=" ...
          ">>>=" ...

          at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.parse(JavaParserMetadataProvider.java:193
          )
          at org.springframework.roo.addon.gwt.GwtTemplatingServiceImpl.getTemplateDetails(GwtTemplatingServiceImpl.java:145)
          at org.springframework.roo.addon.gwt.GwtTemplatingServiceImpl.getMirrorTemplateTypeDetails(GwtTemplatingServiceImpl.
          java:74)
          at org.springframework.roo.addon.gwt.GwtMetadataProviderImpl.get(GwtMetadataProviderImpl.java:164)
          at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:148)
          at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:82)
          at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:215)
          at org.springframework.roo.addon.gwt.GwtOperationsImpl.setupGwt(GwtOperationsImpl.java:124)
          at org.springframework.roo.addon.gwt.GwtCommands.installSecurity(GwtCommands.java:28)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191)
          at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExec
          utionStrategy.java:49)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.ja
          va:180)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143)
          at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecuti
          onStrategy.java:47)
          at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165)
          at org.springframework.roo.shell.AbstractShell.executeScriptLine(AbstractShell.java:106)
          at org.springframework.roo.shell.AbstractShell.script(AbstractShell.java:86)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191)
          at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExec
          utionStrategy.java:49)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.ja
          va:180)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143)
          at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecuti
          onStrategy.java:47)
          at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165)
          at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:358)
          at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:132)
          at java.lang.Thread.run(Thread.java:662)
          Caused by: japa.parser.ParseException: Encountered " "." ". "" at line 99, column 13.
          Was expecting one of:
          "(" ...
          ";" ...
          "=" ...
          "++" ...
          "--" ...
          "+=" ...
          "-=" ...
          "*=" ...
          "/=" ...
          "&=" ...
          "|=" ...
          "^=" ...
          "%=" ...
          "<<=" ...
          ">>=" ...
          ">>>=" ...

          at japa.parser.ASTParser.generateParseException(ASTParser.java:7697)
          at japa.parser.ASTParser.jj_consume_token(ASTParser.java:7570)
          at japa.parser.ASTParser.StatementExpression(ASTParser.java:3181)
          at japa.parser.ASTParser.Statement(ASTParser.java:2893)
          at japa.parser.ASTParser.BlockStatement(ASTParser.java:3043)
          at japa.parser.ASTParser.Statements(ASTParser.java:1369)
          at japa.parser.ASTParser.Block(ASTParser.java:2980)
          at japa.parser.ASTParser.MethodDeclaration(ASTParser.java:1089)
          at japa.parser.ASTParser.ClassOrInterfaceBodyDeclaration(ASTParser.java:831)
          at japa.parser.ASTParser.ClassOrInterfaceBody(ASTParser.java:755)
          at japa.parser.ASTParser.ClassOrInterfaceDeclaration(ASTParser.java:438)
          at japa.parser.ASTParser.TypeDeclaration(ASTParser.java:365)
          at japa.parser.ASTParser.CompilationUnit(ASTParser.java:178)
          at japa.parser.JavaParser.parse(JavaParser.java:81)
          at japa.parser.JavaParser.parse(JavaParser.java:94)
          at org.springframework.roo.classpath.javaparser.JavaParserClassOrInterfaceTypeDetails.<init>(JavaParserClassOrInterf
          aceTypeDetails.java:328)
          at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.parse(JavaParserMetadataProvider.java:187
          )
          ... 33 more
          Script execution aborted
          java.lang.IllegalStateException: Script execution aborted
          at org.springframework.roo.shell.AbstractShell.script(AbstractShell.java:89)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191)
          at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExec
          utionStrategy.java:49)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.ja
          va:180)
          at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143)
          at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecuti
          onStrategy.java:47)
          at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165)
          at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:358)
          at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:132)
          at java.lang.Thread.run(Thread.java:662)
          [Spring Roo Process Manager Background Polling Thread] f218064 Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\requ
          est\ApplicationEntityTypesProcessor.java
          [Spring Roo Process Manager Background Polling Thread] e9a0cf6 Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\requ
          est\ApplicationRequestFactory.java
          [Spring Roo Process Manager Background Polling Thread] 4d22aef Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\ui\A
          pplicationListPlaceRenderer_Roo_Gwt.java
          [Spring Roo Process Manager Background Polling Thread] ae046f8 Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\ui\A
          pplicationListPlaceRenderer.java
          [Spring Roo Process Manager Background Polling Thread] b27337d Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\acti
          vity\ApplicationMasterActivities_Roo_Gwt.java
          [Spring Roo Process Manager Background Polling Thread] 64f794a Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\acti
          vity\ApplicationMasterActivities.java
          [Spring Roo Process Manager Background Polling Thread] 3445449 Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\acti
          vity\ApplicationDetailsActivities_Roo_Gwt.java
          [Spring Roo Process Manager Background Polling Thread] b9410cd Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\acti
          vity\ApplicationDetailsActivities.java
          [Spring Roo Process Manager Background Polling Thread] 8eea28f Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\acti
          vity\ScaffoldMobileActivities.java
          o-----o

          The gwt setup command is failing because of the "field set" command used to declare an entity field. When this declaration is changed to a "field reference", the gwt setup command runs successfully.

          Show
          Cengiz Öner added a comment - The following script fails as well: o-----o project --topLevelPackage com.foo.sample1 persistence setup --database HYPERSONIC_PERSISTENT --provider HIBERNATE entity --class ~.server.domain.ObjectA field string --fieldName name --notNull --sizeMin 2 entity --class ~.server.domain.ObjectB field string --fieldName name --notNull --sizeMin 2 field set --fieldName toppings --type ~.server.domain.ObjectA gwt setup o-----o Here is the output in development mode: o-----o roo> script --file sample1.roo project --topLevelPackage com.foo.sample1 ec8284a Created ROOT\pom.xml Created SRC_MAIN_JAVA Created SRC_MAIN_RESOURCES Created SRC_TEST_JAVA Created SRC_TEST_RESOURCES Created SRC_MAIN_WEBAPP Created SRC_MAIN_RESOURCES\META-INF\spring d3c88b3 Created SRC_MAIN_RESOURCES\META-INF\spring\applicationContext.xml 53126d9 Created SRC_MAIN_RESOURCES\log4j.properties persistence setup --database HYPERSONIC_PERSISTENT --provider HIBERNATE 51cb91e Updated ROOT\pom.xml [Removed redundant artifacts] 1d16db7 Updated SRC_MAIN_RESOURCES\META-INF\spring\applicationContext.xml 3619dcd Created SRC_MAIN_RESOURCES\META-INF\persistence.xml 5295b9b Created SRC_MAIN_RESOURCES\META-INF\spring\database.properties 27014c4 Updated ROOT\pom.xml [Added dependencies org.hsqldb:hsqldb:1.8.0.10, org.hibernate:hibernate-core:3.6.1.Final, o rg.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.trans action:jta:1.1, org.springframework:spring-jdbc:$ {spring.version}, org.springframework:spring-orm:${spring.version} , com mons-pool:commons-pool:1.5.4, commons-dbcp:commons-dbcp:1.3] 22653c4 Updated ROOT\pom.xml [Added repository https://repository.jboss.org/nexus/content/repositories/releases] entity --class ~.server.domain.ObjectA Created SRC_MAIN_JAVA\com\foo\sample1\server\domain 2c60a13 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectA.java f53fcc5 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectA_Roo_Entity.aj 2cd6a1c Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectA_Roo_Configurable.aj field string --fieldName name --notNull --sizeMin 2 e817008 Updated SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectA.java f0e19a1 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectA_Roo_ToString.aj e061183 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectA_Roo_JavaBean.aj entity --class ~.server.domain.ObjectB 0122420 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB.java 9c4760c Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB_Roo_Entity.aj 4771547 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB_Roo_Configurable.aj field string --fieldName name --notNull --sizeMin 2 c6b18c5 Updated SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB.java 107440c Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB_Roo_ToString.aj 314bfa3 Created SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB_Roo_JavaBean.aj field set --fieldName toppings --type ~.server.domain.ObjectA 8fade8d Updated SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB.java 2ce1e2f Updated SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB_Roo_ToString.aj 5799c1a Updated SRC_MAIN_JAVA\com\foo\sample1\server\domain\ObjectB_Roo_JavaBean.aj gwt setup Created SRC_MAIN_WEBAPP\WEB-INF\spring d6fc48b Created SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml 8a00cb9 Created SRC_MAIN_WEBAPP\WEB-INF\web.xml 6c595c5 Updated SRC_MAIN_WEBAPP\WEB-INF\web.xml 67b4e1c Updated ROOT\pom.xml [Added dependencies org.springframework:spring-web:$ {spring.version}, org.springframework:s pring-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-t ime:1.6, javax.servlet.jsp:jsp-api:2.1] 0725bed Updated ROOT\pom.xml [Updated project type to war] 7593480 Updated ROOT\pom.xml [Removed plugin maven-eclipse-plugin] ed015c4 Updated ROOT\pom.xml [Added plugin maven-eclipse-plugin] b027d65 Updated ROOT\pom.xml 13af186 Updated ROOT\pom.xml [Added dependencies com.google.gwt:gwt-servlet:2.2.0, com.google.gwt:gwt-user:2.2.0, org.js on:json:20090211, com.googlecode.gwt.inject:gin:1.5, xalan:xalan:2.7.1] 34cc4c8 Updated ROOT\pom.xml [Added plugin gwt-maven-plugin] e6df36d Updated ROOT\pom.xml [Added repository maven.springframework.org.external] 6e93374 Updated SRC_MAIN_WEBAPP\WEB-INF\web.xml Created SRC_MAIN_JAVA\com\foo\sample1\client 6d49966 Created SRC_MAIN_JAVA\com\foo\sample1\ApplicationScaffold.gwt.xml Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\request Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\request 5573b7a Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\request\EventSourceRequestTransport.java 80996fc Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\request\RequestEvent.java 40069b3 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldMobileShell.java 0a23739 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldDesktopShell.java d8e2707 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldDesktopApp.java d553778 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldMobileShell.ui.xml 40056ef Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldDesktopShell.ui.xml 3e460d6 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldMobileApp.java 1ab5c2a Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\Scaffold.java 506ad67 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ScaffoldApp.java Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui 3f271e4 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\ShortRenderer.java 6e80ba3 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\CharRenderer.java 8dd0606 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\ByteRenderer.java d56f00b Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\LoginWidget.ui.xml 238d0a6 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\BigDecimalRenderer.java 56838bf Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\MobileProxyListView.ui.xml 32c0c80 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\LoginWidget.java d02c927 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\MobileProxyListView.java ef9c8b9 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\FloatRenderer.java fe8258e Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\FloatBox.java 4cf267d Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\ShortBox.java 76b5ba3 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\CharBox.java d2ae118 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\FloatParser.java db54d98 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\BigDecimalBox.java 9d200a9 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\ByteBox.java 2fb1e16 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\ByteParser.java 37b8477 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\CharParser.java 0d7acd7 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\CollectionRenderer.java 8f3d439 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\BigDecimalParser.java 51c210c Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ui\ShortParser.java Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\ui Created SRC_MAIN_JAVA\com\foo\sample1\server\gae 16af764 Created SRC_MAIN_JAVA\com\foo\sample1\server\gae\UserServiceLocator.java d1db4ad Created SRC_MAIN_JAVA\com\foo\sample1\server\gae\GaeAuthFilter.java 6526a0a Created SRC_MAIN_JAVA\com\foo\sample1\server\gae\UserServiceWrapper.java Created SRC_MAIN_JAVA\com\foo\sample1\client\style 0634666 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\MobileListResources.java 626bc25 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\mobile.css Created SRC_MAIN_JAVA\com\foo\sample1\shared Created SRC_MAIN_JAVA\com\foo\sample1\shared\scaffold f0b6faa Created SRC_MAIN_JAVA\com\foo\sample1\shared\scaffold\ScaffoldRequestFactory.java Created SRC_MAIN_JAVA\com\foo\sample1\shared\gae 30a4f35 Created SRC_MAIN_JAVA\com\foo\sample1\shared\gae\GaeUserServiceRequest.java 1b3ae85 Created SRC_MAIN_JAVA\com\foo\sample1\shared\gae\MakesGaeRequests.java 7930250 Created SRC_MAIN_JAVA\com\foo\sample1\shared\gae\GaeUser.java Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc 98869ed Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\ScaffoldModule.java 9e4d887 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\MobileInjector.java c8ef6df Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\InjectorWrapper.java 15869a0 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\DesktopInjectorWrapper.java c31deb8 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\ScaffoldInjector.java a946d24 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\MobileInjectorWrapper.java 543887b Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\ioc\DesktopInjector.java Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place 782a4b0 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyEditView.java f40d991 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\AbstractProxyListActivity.java b970711 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\AbstractProxyListView.java 474f7eb Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyListView.java 490c32c Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyPlace.java 45da4bc Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\AbstractProxyEditActivity.java 0b4501a Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ScaffoldPlaceHistoryMapper.java 9acc389 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\FindAndEditProxy.java 5c71606 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\CreateAndEditProxy.java 7bc1512 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyDetailsView.java 5bba5ae Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\PlaceHistoryFactory.java 81d3799 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyPlaceToListPlace.java a046cea Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\CollectionRenderer.java d7e5b5e Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyListPlace.java 979c2a8 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\place\ProxyListPlacePicker.java Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\gae a0ed0af Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\gae\GaeLoginWidgetDriver.java 554b19f Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\gae\GaeAuthRequestTransport.java 309e95a Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\gae\ReloadOnAuthenticationFailure.java 6fd70b0 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\gae\GaeAuthenticationFailureEvent.java Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images 91ce5e4 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\groupIcon.png a59f152 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\selectionGradient.png 65ca295 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\createButton.png 14579fe Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\openGradient.png bff2aa1 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\titleGradient.png ac729a8 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\backButton.png b5d91f9 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\userIcon.png 1998f18 Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\gwtLogo.png 8edb4ec Created SRC_MAIN_JAVA\com\foo\sample1\client\style\images\rooLogo.png 52da000 Created SRC_MAIN_WEBAPP\index.html 4809176 Created SRC_MAIN_WEBAPP\ApplicationScaffold.html Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\activity Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\activity 80a2068 Created SRC_MAIN_JAVA\com\foo\sample1\client\scaffold\activity\IsScaffoldMobileActivity.java japa.parser.ParseException: Encountered " "." ". "" at line 99, column 13. Was expecting one of: "(" ... ";" ... "=" ... "++" ... "--" ... "+=" ... "-=" ... "*=" ... "/=" ... "&=" ... "|=" ... "^=" ... "%=" ... "<<=" ... ">>=" ... ">>>=" ... java.lang.IllegalStateException: japa.parser.ParseException: Encountered " "." ". "" at line 99, column 13. Was expecting one of: "(" ... ";" ... "=" ... "++" ... "--" ... "+=" ... "-=" ... "*=" ... "/=" ... "&=" ... "|=" ... "^=" ... "%=" ... "<<=" ... ">>=" ... ">>>=" ... at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.parse(JavaParserMetadataProvider.java:193 ) at org.springframework.roo.addon.gwt.GwtTemplatingServiceImpl.getTemplateDetails(GwtTemplatingServiceImpl.java:145) at org.springframework.roo.addon.gwt.GwtTemplatingServiceImpl.getMirrorTemplateTypeDetails(GwtTemplatingServiceImpl. java:74) at org.springframework.roo.addon.gwt.GwtMetadataProviderImpl.get(GwtMetadataProviderImpl.java:164) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:148) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:82) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:215) at org.springframework.roo.addon.gwt.GwtOperationsImpl.setupGwt(GwtOperationsImpl.java:124) at org.springframework.roo.addon.gwt.GwtCommands.installSecurity(GwtCommands.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExec utionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.ja va:180) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecuti onStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165) at org.springframework.roo.shell.AbstractShell.executeScriptLine(AbstractShell.java:106) at org.springframework.roo.shell.AbstractShell.script(AbstractShell.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExec utionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.ja va:180) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecuti onStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:358) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:132) at java.lang.Thread.run(Thread.java:662) Caused by: japa.parser.ParseException: Encountered " "." ". "" at line 99, column 13. Was expecting one of: "(" ... ";" ... "=" ... "++" ... "--" ... "+=" ... "-=" ... "*=" ... "/=" ... "&=" ... "|=" ... "^=" ... "%=" ... "<<=" ... ">>=" ... ">>>=" ... at japa.parser.ASTParser.generateParseException(ASTParser.java:7697) at japa.parser.ASTParser.jj_consume_token(ASTParser.java:7570) at japa.parser.ASTParser.StatementExpression(ASTParser.java:3181) at japa.parser.ASTParser.Statement(ASTParser.java:2893) at japa.parser.ASTParser.BlockStatement(ASTParser.java:3043) at japa.parser.ASTParser.Statements(ASTParser.java:1369) at japa.parser.ASTParser.Block(ASTParser.java:2980) at japa.parser.ASTParser.MethodDeclaration(ASTParser.java:1089) at japa.parser.ASTParser.ClassOrInterfaceBodyDeclaration(ASTParser.java:831) at japa.parser.ASTParser.ClassOrInterfaceBody(ASTParser.java:755) at japa.parser.ASTParser.ClassOrInterfaceDeclaration(ASTParser.java:438) at japa.parser.ASTParser.TypeDeclaration(ASTParser.java:365) at japa.parser.ASTParser.CompilationUnit(ASTParser.java:178) at japa.parser.JavaParser.parse(JavaParser.java:81) at japa.parser.JavaParser.parse(JavaParser.java:94) at org.springframework.roo.classpath.javaparser.JavaParserClassOrInterfaceTypeDetails.<init>(JavaParserClassOrInterf aceTypeDetails.java:328) at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.parse(JavaParserMetadataProvider.java:187 ) ... 33 more Script execution aborted java.lang.IllegalStateException: Script execution aborted at org.springframework.roo.shell.AbstractShell.script(AbstractShell.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExec utionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.ja va:180) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:143) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecuti onStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:165) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:358) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:132) at java.lang.Thread.run(Thread.java:662) [Spring Roo Process Manager Background Polling Thread] f218064 Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\requ est\ApplicationEntityTypesProcessor.java [Spring Roo Process Manager Background Polling Thread] e9a0cf6 Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\requ est\ApplicationRequestFactory.java [Spring Roo Process Manager Background Polling Thread] 4d22aef Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\ui\A pplicationListPlaceRenderer_Roo_Gwt.java [Spring Roo Process Manager Background Polling Thread] ae046f8 Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\ui\A pplicationListPlaceRenderer.java [Spring Roo Process Manager Background Polling Thread] b27337d Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\acti vity\ApplicationMasterActivities_Roo_Gwt.java [Spring Roo Process Manager Background Polling Thread] 64f794a Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\acti vity\ApplicationMasterActivities.java [Spring Roo Process Manager Background Polling Thread] 3445449 Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\acti vity\ApplicationDetailsActivities_Roo_Gwt.java [Spring Roo Process Manager Background Polling Thread] b9410cd Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\acti vity\ApplicationDetailsActivities.java [Spring Roo Process Manager Background Polling Thread] 8eea28f Created SRC_MAIN_JAVA\com\foo\sample1\client\managed\acti vity\ScaffoldMobileActivities.java o-----o The gwt setup command is failing because of the "field set" command used to declare an entity field. When this declaration is changed to a "field reference", the gwt setup command runs successfully.
          Hide
          James Tyrrell added a comment -

          Hey Ken and Cengiz, both scripts now work as of commit ef31da258434b383ec4b8d9994924ea25e9ecf9f

          There will be a snapshot, which includes the changes, here (http://static.springsource.org/downloads/nightly/snapshot-download.php?project=ROO) shortly.

          Show
          James Tyrrell added a comment - Hey Ken and Cengiz, both scripts now work as of commit ef31da258434b383ec4b8d9994924ea25e9ecf9f There will be a snapshot, which includes the changes, here ( http://static.springsource.org/downloads/nightly/snapshot-download.php?project=ROO ) shortly.
          Hide
          Cengiz Öner added a comment -

          Thank you for your prompt response James. I will download ROO/spring-roo-1.1.3.BUILD-SNAPSHOT_20110307.090042-7962580.zip and try again. Cheers.

          Show
          Cengiz Öner added a comment - Thank you for your prompt response James. I will download ROO/spring-roo-1.1.3.BUILD-SNAPSHOT_20110307.090042-7962580.zip and try again. Cheers.
          Hide
          Cengiz Öner added a comment -

          Hi James. The gwt setup command still fails at the same point after running the attached script with rev 7962580. Please see Roo_Output.log for development mode output. Were your changes not included in 7962580?

          Show
          Cengiz Öner added a comment - Hi James. The gwt setup command still fails at the same point after running the attached script with rev 7962580. Please see Roo_Output.log for development mode output. Were your changes not included in 7962580?
          Hide
          James Tyrrell added a comment -

          Bah. My comment about my changes not making the 7962580 failed.. The latest snapshot is up now and should contain my changes.

          Show
          James Tyrrell added a comment - Bah. My comment about my changes not making the 7962580 failed.. The latest snapshot is up now and should contain my changes.
          Hide
          Cengiz Öner added a comment -

          Build 6d6c5d4 fixes this problem. Thanks.

          Show
          Cengiz Öner added a comment - Build 6d6c5d4 fixes this problem. Thanks.
          Hide
          James Tyrrell added a comment -

          No problem, Cengiz. If you find any other issues when writing your blog on Roo and GWT please ping.

          Show
          James Tyrrell added a comment - No problem, Cengiz. If you find any other issues when writing your blog on Roo and GWT please ping.

            People

            • Assignee:
              James Tyrrell
              Reporter:
              Ken Rimple
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: