[JBoss JIRA] (FORGE-685) scaffold from-entity conflicting type
by Brian Lavender (JIRA)
Brian Lavender created FORGE-685:
------------------------------------
Summary: scaffold from-entity conflicting type
Key: FORGE-685
URL: https://issues.jboss.org/browse/FORGE-685
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 1.1.0.Final
Environment: Windows 7, Java 1.6
Reporter: Brian Lavender
When I issue the command
scaffold from-entity ~.model.* --overwrite
the generated entity bean has conflicting type for id:short and methods that have it as an argument id:long. See the following two snippets.
Snippet 1
/*
* Support creating and retrieving Actor entities
*/
private Short id;
Snippet 2
public Actor findById(Long id)
{
return this.entityManager.find(Actor.class, id);
}
--
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
11 years, 8 months
[JBoss JIRA] (FORGE-685) scaffold from-entity conflicting type
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-685?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-685:
----------------------------------
Fix Version/s: 1.1.1.Final
> scaffold from-entity conflicting type
> -------------------------------------
>
> Key: FORGE-685
> URL: https://issues.jboss.org/browse/FORGE-685
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 1.1.0.Final
> Environment: Windows 7, Java 1.6
> Reporter: Brian Lavender
> Fix For: 1.1.1.Final
>
>
> When I issue the command
> scaffold from-entity ~.model.* --overwrite
> the generated entity bean has conflicting type for id:short and methods that have it as an argument id:long. See the following two snippets.
> Snippet 1
> /*
> * Support creating and retrieving Actor entities
> */
> private Short id;
> Snippet 2
> public Actor findById(Long id)
> {
> return this.entityManager.find(Actor.class, id);
> }
--
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
11 years, 8 months
[JBoss JIRA] (FORGE-683) Scaffold fails to update views when regenerating UI after @Entity changes
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-683:
----------------------------------------
Summary: Scaffold fails to update views when regenerating UI after @Entity changes
Key: FORGE-683
URL: https://issues.jboss.org/browse/FORGE-683
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 1.1.0.Final
Reporter: Lincoln Baxter III
Fix For: 1.1.1.Final
When re-generating the UI using: {code}scaffold from-entity ~.model.* --overwrite{code} the re-generated UI is unchanged, and contains all the fields from the Entities when they were first generated.
In order to get the scaffold to generate updated views, you must first leave the project and re-enter it:
{code}
cd ~; cd -; scaffold from-entity ~.model.* --overwrite
{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
11 years, 8 months
[JBoss JIRA] (FORGEPLUGINS-37) Add jdf plugin
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-37?page=com.atlassian.jira.p... ]
George Gastaldi closed FORGEPLUGINS-37.
---------------------------------------
> Add jdf plugin
> --------------
>
> Key: FORGEPLUGINS-37
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-37
> Project: Forge Plugins
> Issue Type: Feature Request
> Reporter: Pete Muir
> Assignee: Rafael Benevides
> Labels: forge, jdf
> Time Spent: 2 weeks
>
> jdf provides various stacks via the JBoss BOMs project. Make it easy to use these in a forge project by providing a jdf plugin that can add and configure BOMs.
> You should be able to do:
> {code}
> jdf --stack jboss-javaee-web-6.0-with-tools --version 1.0.0.Final
> {code}
> Note that you can use multiple stacks, so we need to support
> {code}
> jdf --stack jboss-javaee-web-6.0-with-tools --version 1.0.0.Final
> jdf --stack jboss-javaee-web-6.0-with-hibernate --version 1.0.0.Final
> {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
11 years, 8 months