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.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.6.0.Final
    • Fix Version/s: 2.6.0.Final
    • Component/s: Scaffold
    • Labels:
      None

      Description

      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
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                vineet.reynolds Vineet Reynolds
                Reporter:
                vineet.reynolds Vineet Reynolds
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: