[
https://issues.jboss.org/browse/FORGE-1851?page=com.atlassian.jira.plugin...
]
Antonio Goncalves updated FORGE-1851:
-------------------------------------
Description:
Gist
https://gist.github.com/VineetReynolds/b4cedca4c95cbef9ae8a
This occurs when you type the following commands :
{code}
[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
{code}
The code completion for command {{scaffold-generate}} only brings the {{--provider}} and
{{--webRoot}} options. Only if you fill them that {{--targets}} is shown :
{code}
[cdbookstore]$ scaffold-generate -- TAB
--provider --webRoot
[cdbookstore]$ scaffold-generate --provider Faces --webRoot test -- TAB
--targets --pageTemplate
{code}
was:Gist
https://gist.github.com/VineetReynolds/b4cedca4c95cbef9ae8a
scaffold-generate requires a webRoot value to be provided for
additional parameters to be displayed.
----------------------------------------------------------------------------------------------------
Key: FORGE-1851
URL:
https://issues.jboss.org/browse/FORGE-1851
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 2.5.0.Final
Reporter: Vineet Reynolds
Gist
https://gist.github.com/VineetReynolds/b4cedca4c95cbef9ae8a
This occurs when you type the following commands :
{code}
[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
{code}
The code completion for command {{scaffold-generate}} only brings the {{--provider}} and
{{--webRoot}} options. Only if you fill them that {{--targets}} is shown :
{code}
[cdbookstore]$ scaffold-generate -- TAB
--provider --webRoot
[cdbookstore]$ scaffold-generate --provider Faces --webRoot test -- TAB
--targets --pageTemplate
{code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)