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

scaffold-generate requires a webRoot value to be provided for additional parameters to be displayed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.6.0.Final
    • 2.6.0.Final
    • Scaffold
    • None

      Gist https://gist.github.com/VineetReynolds/b4cedca4c95cbef9ae8a

      This occurs when you type the following commands :

      [Devoxx]$ project-new --named cdbookstore --topLevelPackage org.agoncal.cdbookstore --type war --finalName cdbookstore ;
      [cdbookstore]$ jpa-generate-entities-from-tables --jdbcUrl jdbc:postgresql://localhost:5432/postgres --userName postgres --userPassword postgres --driverLocation /Users/antoniombp/.m2/repository/org/postgresql/postgresql/9.3-1100-jdbc3/postgresql-9.3-1100-jdbc3.jar --hibernateDialect PostgreSQL\ :\ org.hibernate.dialect.PostgreSQLDialect ;
      [cdbookstore]$ scaffold-setup ;
      [cdbookstore]$ scaffold-generate --   TAB
      --provider --webRoot
      

      The code completion for command scaffold-generate only brings the -provider and webRoot options. Only if you fill them that -targets is shown :

      [cdbookstore]$ scaffold-generate -- TAB
      --provider --webRoot
      
      [cdbookstore]$ scaffold-generate --provider Faces --webRoot test -- TAB
      --targets --pageTemplate
      

              vineet.reynolds_jira Vineet Reynolds (Inactive)
              vineet.reynolds_jira Vineet Reynolds (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: