Vineet Reynolds created FORGE-1098:
--------------------------------------
Summary: Scaffold setup command does not setup the chosen scaffold
Key: FORGE-1098
URL:
https://issues.jboss.org/browse/FORGE-1098
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 1.3.3.Final
Reporter: Vineet Reynolds
Priority: Blocker
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:
{noformat}
[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
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira