Hama
  1. Hama
  2. HAMA-494

Add WAR plugin and refactor HttpServer

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.5.0
    • Component/s: build
    • Labels:

      Description

      Currently we don't package web resources and webapp path is hard-coded in HttpServer.

      This issue figure out more elegant way to code this. Maven WAR plugin can be used to archive web resources.

        protected String getWebAppsPath() throws IOException {
          // URL url = BSPMaster.class.getClassLoader().getResource("webapps");
          // if (url == null)
          // throw new IOException("webapps not found in CLASSPATH");
          // return url.toString();
          return "src/main/webapp";
        }
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Edward J. Yoon
            Reporter:
            Edward J. Yoon
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development