[
https://issues.jboss.org/browse/FORGE-1784?page=com.atlassian.jira.plugin...
]
Antonio Goncalves commented on FORGE-1784:
------------------------------------------
This time I got the following message in the logs when it timed out :
{code}
18:47:17,929 WARNING [org.metawidget.config.impl.BaseConfigReader] (AeshProcess: 86) class
org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector must be
immutable, but appears to have a setter method (public void
org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector.setTypeUnderInspection(java.lang.String))
18:47:18,434 WARNING [org.metawidget.config.impl.BaseConfigReader] (AeshProcess: 87) class
org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector must be
immutable, but appears to have a setter method (public void
org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector.setTypeUnderInspection(java.lang.String))
18:47:18,773 WARNING [org.metawidget.config.impl.BaseConfigReader] (AeshProcess: 88) class
org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector must be
immutable, but appears to have a setter method (public void
org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector.setTypeUnderInspection(java.lang.String))
18:47:19,059 WARNING [org.metawidget.config.impl.BaseConfigReader] (AeshProcess: 89) class
org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector must be
immutable, but appears to have a setter method (public void
org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector.setTypeUnderInspection(java.lang.String))
18:47:19,461 WARNING [org.metawidget.config.impl.BaseConfigReader] (AeshProcess: 90) class
org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector must be
immutable, but appears to have a setter method (public void
org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector.setTypeUnderInspection(java.lang.String))
{code}
When having a scaffold-generate command in a script, it times out
-----------------------------------------------------------------
Key: FORGE-1784
URL:
https://issues.jboss.org/browse/FORGE-1784
Project: Forge
Issue Type: Sub-task
Components: UI - Shell
Affects Versions: 2.5.0.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
I have a long script with several commands and at the end, when I scaffold JSF pages, the
script times out :
{code}
[CD.java]$ scaffold-setup ;
***SUCCESS*** CDI has been installed.
***SUCCESS*** EJB has been installed.
***SUCCESS*** Servlet API has been installed.
***SUCCESS*** JavaServer Faces has been installed.
***SUCCESS*** Scaffold was setup successfully.
[CD.java]$ scaffold-generate --webRoot admin --targets org.agoncal.training.javaee6adv.*
;
***ERROR*** 02-Forge/generate.fsh: timed out.
[agoncal-training-javaee6-advanced]$ ***SUCCESS*** Scaffold was generated successfully.
{code}
Nothing special in the logs. But because the {{scaffold-generate}} command takes time to
execute, it displays a time out message. The worse is that it displays {{***ERROR***}} and
then {{***SUCCESS***}}. At the end of the day, my JSF artifacts are created, but the
script ends and it doesn't execute the commands that follow.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)