[ 
https://issues.apache.org/jira/browse/HAMA-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward J. Yoon reassigned HAMA-494:
-----------------------------------

    Assignee: Edward J. Yoon
    
> Add WAR plugin and refactor HttpServer
> --------------------------------------
>
>                 Key: HAMA-494
>                 URL: https://issues.apache.org/jira/browse/HAMA-494
>             Project: Hama
>          Issue Type: Improvement
>          Components: build 
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>              Labels: newbie
>
> 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. 
> {code}
>   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";
>   }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to