[
https://issues.jboss.org/browse/FORGE-875?page=com.atlassian.jira.plugin....
]
Vineet Reynolds commented on FORGE-875:
---------------------------------------
I would assume that it is the generate.fsh script referenced in the [Forge-from-scratch
JDF
quickstart|http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/forge...].
It contains the following line:
{noformat}
scaffold setup --scaffoldType faces;
...
{noformat}
and the {{FacesScaffold}} contains a {{@RequiresFacet}} declaration on {{CDIFacet}}. This
should activate the Facet, but I suspect this probably does not install it completely.
the `scaffold setup --scaffoldType faces;` command. failed to create
beans.xml
------------------------------------------------------------------------------
Key: FORGE-875
URL:
https://issues.jboss.org/browse/FORGE-875
Project: Forge
Issue Type: Story
Affects Versions: 1.2.2.Final
Environment: Mac: OS X 10.8.3, 2.66 GHz Intel Core i7, 4GG 1067 MHz DDR3
Running Forge Console in JBoss Developers Studio version 6.1.0.GA, Deploying to JBoss EAP
6.0.1
Reporter: Randy Thomas
Priority: Blocker
Labels: forge
I generated a sample project using the generate.fsh script. I deployed the war file to
EAP 6 and everything seemed to be working fine.
The welcome page comes up for the app with no problems. However, an error is generated
upon the attempt to add data to the database.
I was able to resolve the problem by adding the following lines to the script:
@/* Add beans.xml for CDI */;
touch src/main/webapp/WEB-INF/beans.xml
Lincoln indicated that this should have already been done by the
`scaffold setup --scaffoldType faces;` command.
--
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