Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1719

Script is partially run

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 3.x Future
    • 2.3.0.Final
    • None
    • None

    Description

      Running the following script in forge console as:

      run script.forge

      script:

      servlet-setup; cdi-setup; jpa-setup --container JBOSS_EAP6; rest-setup; constraint-setup; faces-setup; ejb-setup; scaffold-setup
      jpa-new-entity --named Author --targetPackage org.forge.samples.javaee.entities
      jpa-new-entity --named Book --targetPackage org.forge.samples.javaee.entities
      jpa-new-field --targetEntity org.forge.samples.javaee.entities.Author --named name --type java.lang.String --length 50
      jpa-new-field --targetEntity org.forge.samples.javaee.entities.Book --named title --type String --length 100
      jpa-new-field --targetEntity org.forge.samples.javaee.entities.Book --named isbn --type String --length 30
      constraint-add --javaClass org.forge.samples.javaee.entities.Author --onProperty name --constraint Size --max 50
      constraint-add --javaClass org.forge.samples.javaee.entities.Book --onProperty title --constraint Size --max 100
      constraint-add --javaClass org.forge.samples.javaee.entities.Book --onProperty isbn --constraint Size --max 30
      scaffold-generate --targets org.forge.samples.javaee.entities.Author
      scaffold-generate --targets org.forge.samples.javaee.entities.Book

      scaffold-generate command is executed only some times. All previous commands execute successfully with no error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            arungupta_jira Arun Gupta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: