Beehive
  1. Beehive
  2. BEEHIVE-61

Page Flow Tutorial Needs to be Updated Regarding Deploying Netui Runtime

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: V1Alpha, v1m1
    • Fix Version/s: V1Alpha
    • Component/s: Documentation
    • Labels:
      None

      Description

      Page Flow Tutorial Needs to be Updated Regarding Deploying Netui Runtime

      Currently it is says the following,

      In this step you will assemble the runtime resources for your Page Flow application. Most of these files are included in the WEB-INF directory. It includes JAR files with the JSP tag handler classes, Struts config files, etc.

      Using the command shell opened in the previous step, at the command prompt, enter:

      ant -f %BEEHIVE_HOME%\ant\buildWebapp.xml deploy.beehive.webapp.runtime -Dwebapp.dir=%CATALINA_HOME%\webapps\pageflow_tutorial

      Issues observed:

      1. deploy.beehive.webapp.runtime does not does not deploy Structs config files at all. It only deploys the JARS, tag libs and resources in WEB-INF, WEB-INF/lib, and WEB-INF/resources.

      2. All the other necessary files templates needed reside in distribution/samples/netui-blank directory, such as netui-config.xml.

      Expected:

      1. In the previous topics, before creating the Controller.jpf and index.jsp there should be something telling the user to copy the contents in netui-blank into pageflow_tutorial directory.

      2. In “To Add Beehive Runtime JARs to Your Web Application”, it should not say “It includes JAR files with the JSP tag handler classes, Struts config files, etc.

        Activity

        Hide
        Steve Hanson added a comment -

        Thanks for this.
        For the fix, see: beehive\site\build\site\pageflow\tutorial_pageflow.html

        Show
        Steve Hanson added a comment - Thanks for this. For the fix, see: beehive\site\build\site\pageflow\tutorial_pageflow.html
        Hide
        Julie Zhuo added a comment -

        Before building the webapp, the deploy.beehive.webapp.runtime target still needed to deploy the netui run time resources that are not in the blank template.

        Show
        Julie Zhuo added a comment - Before building the webapp, the deploy.beehive.webapp.runtime target still needed to deploy the netui run time resources that are not in the blank template.
        Hide
        Steve Tocco added a comment -

        Steve, looks like we need an addition to the scenario as the "template" does not include the runtime libraries.

        See the target in Julie's comment.

        thx-Steve

        Show
        Steve Tocco added a comment - Steve, looks like we need an addition to the scenario as the "template" does not include the runtime libraries. See the target in Julie's comment. thx-Steve
        Show
        Steve Hanson added a comment - The fix is now live: See: http://incubator.apache.org/beehive/pageflow/tutorial_pageflow.html#To+Copy+the+Page+Flow+Application+Template
        Hide
        Steve Tocco added a comment -

        verified by Julie Zhuo, closing on her behalf as she does not have Jira rights.

        Show
        Steve Tocco added a comment - verified by Julie Zhuo, closing on her behalf as she does not have Jira rights.

          People

          • Assignee:
            Unassigned
            Reporter:
            Julie Zhuo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development