Return-Path: X-Original-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 19CB79563 for ; Tue, 31 Jan 2012 01:03:37 +0000 (UTC) Received: (qmail 42473 invoked by uid 500); 31 Jan 2012 01:03:35 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 41794 invoked by uid 500); 31 Jan 2012 01:03:34 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 41727 invoked by uid 99); 31 Jan 2012 01:03:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 01:03:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 01:03:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6080416E59C for ; Tue, 31 Jan 2012 01:03:10 +0000 (UTC) Date: Tue, 31 Jan 2012 01:03:10 +0000 (UTC) From: "Edward J. Yoon (Created) (JIRA)" To: hama-dev@incubator.apache.org Message-ID: <1164604067.10055.1327971790396.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HAMA-494) Add WAR plugin and refactor HttpServer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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 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