[
https://issues.apache.org/jira/browse/HAMA-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward J. Yoon updated HAMA-494:
--------------------------------
Affects Version/s: 0.4.0
Fix Version/s: 0.5.0
> 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
> Affects Versions: 0.4.0
> Reporter: Edward J. Yoon
> Assignee: Edward J. Yoon
> Labels: newbie
> 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.
> {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