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

Scaffold setup command does not setup the chosen scaffold

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.4.0.Final
    • 1.3.3.Final
    • Scaffold
    • None

      On running the scaffold setup or scaffold-x setup commands, the default Faces scaffolding provider is chosen even though a different provider was to be installed.

      As an example, instead of setting up the AngularJS provider the Faces provider is installed:

      [ticket-monster] demo $ scaffold-x setup --scaffoldType angularjs 
      ***INFO*** Using currently installed scaffold [faces]
       ? [/home/vineet/git-repos/ticket-monster/demo/src/main/webapp/index.html] File exists, overwrite? [Y/n] 
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/favicon.ico
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/resources/scaffold/paginator.xhtml
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/resources/scaffold/pageTemplate.xhtml
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/index.html
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/index.xhtml
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/error.xhtml
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/resources/add.png
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/resources/bootstrap.css
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/resources/false.png
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/resources/favicon.ico
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/resources/forge-logo.png
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/resources/forge-style.css
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/resources/remove.png
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/resources/search.png
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/resources/true.png
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/resources/jboss-community.png
      Wrote /home/vineet/git-repos/ticket-monster/demo/src/main/webapp/WEB-INF/web.xml
      

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

                Created:
                Updated:
                Resolved: