Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1627 Executing Forge scripts
  3. FORGE-1784

When having a scaffold-generate command in a script, it times out

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 2.6.0.Final
    • 2.5.0.Final
    • UI - Shell
    • None

    Description

      I have a long script with several commands and at the end, when I scaffold JSF pages, the script times out :

      [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.
      

      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.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ggastald George Gastaldi
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: