incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (Created) (JIRA)" <>
Subject [jira] [Created] (HAMA-494) Add WAR plugin and refactor HttpServer
Date Tue, 31 Jan 2012 01:03:10 GMT
Add WAR plugin and refactor HttpServer

                 Key: HAMA-494
             Project: Hama
          Issue Type: Improvement
          Components: build 
    Affects Versions: 0.4.0
            Reporter: Edward J. Yoon
             Fix For: 0.5.0

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";

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message