Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3078

Unable to create entity with name "Process"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.0.RELEASE, 1.2.1.RELEASE
    • Fix Version/s: 1.2.2.RELEASE
    • Component/s: @ CORE
    • Labels:
    • Environment:
      Ubuntu 11.04, kernel 2.6.38-13-generic, java version "1.6.0_26" , x86_64

      Description

      Is "Process" a reserved word ? I don't find anything about that

      log.roo
      // Spring Roo 1.2.1.RELEASE [rev 6eae723] log opened at 2012-02-22 14:31:23
      project --topLevelPackage com.foo --projectName foo
      jpa setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
      // [failed] entity jpa --class Process
      

      Output :

      Output shell
      roo> entity jpa --class Process
      Created SRC_MAIN_JAVA/com/foo
      Created SRC_MAIN_JAVA/com/foo/Process.java
      Undo create SRC_MAIN_JAVA/com/foo/Process.java
      Undo create SRC_MAIN_JAVA/com/foo
      Compilation unit package 'com.foo' unexpected for type 'java.lang'
      
      

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            philix Philippe martinez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: