Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1505 Perform a review of Forge 2.CR
  3. FORGE-1510

When executing jpa-setup it cd the persistence.xml

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Final
    • 2.0.0.CR2
    • UI - Shell
    • None

      Inside a project, no matter where you are, when you type jpa-setup the shell goes to the persistence.xml file. It's a bit strange. This could be a feature but if you do a contraint-setup it doesn't go to validation.xml. So the behavior is not consistent :

      [pluralsight-persistence]$ jpa-setup
      Modified /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/pom.xml
      Modified /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/resources
      Created  /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/resources/META-INF
      Created  /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/resources/META-INF/persistence.xml
      Modified /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/resources/META-INF/persistence.xml
      ***SUCCESS*** Persistence (JPA) is installed.
      [persistence.xml]$ constraint-setup
      Modified /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/pom.xml
      Modified /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/resources/META-INF
      Created  /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/resources/META-INF/validation.xml
      ***SUCCESS*** Bean Validation is installed.
      [persistence.xml]$
      

              rhn-support-ggastald George Gastaldi
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: