[JBoss JIRA] (FORGE-1512) Rename JSF scaffold-generate command
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1512?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1512:
-------------------------------------
Description:
Had a chat with @VineetReynolds about the difference between scaffolding and generation. JSF scaffolding is just another code generation (we could keep the 'scaffolding' term when generating an entire app).
So, to generate a JSF interface, we should use the following command :
{code}
faces-generate-pages-from-entities
{code}
was:
Had a chat with @VineetReynolds about the difference between scaffolding and generation. JSF scaffolding is just another code generation (we could keep the 'scaffolding' term when generating an entire app).
So, to generate a JSF interface, we should use the following command :
{code}
faces-generate-pages-from-entity
{code}
> Rename JSF scaffold-generate command
> ------------------------------------
>
> Key: FORGE-1512
> URL: https://issues.jboss.org/browse/FORGE-1512
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> Had a chat with @VineetReynolds about the difference between scaffolding and generation. JSF scaffolding is just another code generation (we could keep the 'scaffolding' term when generating an entire app).
> So, to generate a JSF interface, we should use the following command :
> {code}
> faces-generate-pages-from-entities
> {code}
--
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
12 years, 2 months
[JBoss JIRA] (FORGE-1483) Rename entities-from-tables command
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1483?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III reassigned FORGE-1483:
-----------------------------------------
Assignee: Lincoln Baxter III
> Rename entities-from-tables command
> -----------------------------------
>
> Key: FORGE-1483
> URL: https://issues.jboss.org/browse/FORGE-1483
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Assignee: Lincoln Baxter III
> Fix For: 2.x Future
>
>
> The command {{entities-from-tables}} is related to jpa and should be renamed. Following the naming conventions in [FORGE-944] we should add a verb, the command should be :
> {code}
> jpa-generate-entity-from-table
> {code}
> Or maybe it would be more accurate to mention the database, not the tables :
> {code}
> jpa-generate-entity-from-database
> {code}
--
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
12 years, 2 months
[JBoss JIRA] (FORGE-1511) Rename rest-endpoint-from-entity command
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1511?page=com.atlassian.jira.plugin... ]
Antonio Goncalves commented on FORGE-1511:
------------------------------------------
Because you can create many entities, the command is
{code}
rest-generate-endpoints-from-entities
{code}
> Rename rest-endpoint-from-entity command
> ----------------------------------------
>
> Key: FORGE-1511
> URL: https://issues.jboss.org/browse/FORGE-1511
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Assignee: Lincoln Baxter III
> Fix For: 2.0.0.Final
>
>
> The command {{rest-endpoint-from-entity}} should be renamed. Following the naming conventions in [FORGE-944] we should add a verb, the command should be :
> {code}
> rest-generate-from-entity
> {code}
--
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
12 years, 2 months
[JBoss JIRA] (FORGE-1512) Rename JSF scaffold-generate command
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1512?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1512:
-------------------------------------
Description:
Had a chat with @VineetReynolds about the difference between scaffolding and generation. JSF scaffolding is just another code generation (we could keep the 'scaffolding' term when generating an entire app).
So, to generate a JSF interface, we should use the following command :
{code}
faces-generate-pages-from-entity
{code}
was:
Had a chat with @VineetReynolds about the difference between scaffolding and generation. JSF scaffolding is just another code generation (we could keep the 'scaffolding' term when generating an entire app).
So, to generate a JSF interface, we should use the following command :
{code}
faces-generate-from-entity
{code}
> Rename JSF scaffold-generate command
> ------------------------------------
>
> Key: FORGE-1512
> URL: https://issues.jboss.org/browse/FORGE-1512
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> Had a chat with @VineetReynolds about the difference between scaffolding and generation. JSF scaffolding is just another code generation (we could keep the 'scaffolding' term when generating an entire app).
> So, to generate a JSF interface, we should use the following command :
> {code}
> faces-generate-pages-from-entity
> {code}
--
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
12 years, 2 months
[JBoss JIRA] (FORGE-1483) Rename entities-from-tables command
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1483?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1483:
-------------------------------------
Description:
The command {{entities-from-tables}} is related to jpa and should be renamed. Following the naming conventions in [FORGE-944] we should add a verb, the command should be :
{code}
jpa-generate-entity-from-table
{code}
Or maybe it would be more accurate to mention the database, not the tables :
{code}
jpa-generate-entity-from-database
{code}
was:
The command {{entities-from-tables}} is related to jpa and should be renamed. Following the naming conventions in [FORGE-944] we should add a verb, the command should be :
{code}
jpa-generate-from-tables
{code}
Or maybe it would be more accurate to mention the database, not the tables :
{code}
jpa-generate-from-database
{code}
> Rename entities-from-tables command
> -----------------------------------
>
> Key: FORGE-1483
> URL: https://issues.jboss.org/browse/FORGE-1483
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> The command {{entities-from-tables}} is related to jpa and should be renamed. Following the naming conventions in [FORGE-944] we should add a verb, the command should be :
> {code}
> jpa-generate-entity-from-table
> {code}
> Or maybe it would be more accurate to mention the database, not the tables :
> {code}
> jpa-generate-entity-from-database
> {code}
--
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
12 years, 2 months
[JBoss JIRA] (FORGE-1513) persistence-unit name should not be "forge-default" but projectNamePU
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1513?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III closed FORGE-1513.
-------------------------------------
Fix Version/s: 2.0.0.Final
(was: 2.x Future)
Resolution: Done
implemented "projectname-persistence-unit"
> persistence-unit name should not be "forge-default" but projectNamePU
> ---------------------------------------------------------------------
>
> Key: FORGE-1513
> URL: https://issues.jboss.org/browse/FORGE-1513
> Project: Forge
> Issue Type: Sub-task
> Components: Scaffold
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Assignee: Lincoln Baxter III
> Fix For: 2.0.0.Final
>
>
> When executing the {{jpa-setup}} command, the resulting {{persistence.xml}} is :
> {code}
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
> <persistence-unit name="forge-default" transaction-type="JTA">
> <description>Forge Persistence Unit</description>
> <jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source>
> <exclude-unlisted-classes>false</exclude-unlisted-classes>
> <properties>
> <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
> <property name="javax.persistence.schema-generation.scripts.action" value="drop-and-create"/>
> <property name="javax.persistence.schema-generation.scripts.create-target" value="pluralsight-persistenceCreate.ddl"/>
> <property name="javax.persistence.schema-generation.scripts.drop-target" value="pluralsight-persistenceDrop.ddl"/>
> </properties>
> </persistence-unit>
> </persistence>
> {code}
> The persistence unit {{name}} in this case should be {{pluralsight-persistencePU}} instead of {{forge-default}}. This is just the project name concat with {{PU}} (in the {{persistence.xml}} there is already the project name for the DDL files, it's just a matter of having the same semantic)
--
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
12 years, 2 months