Return-Path: X-Original-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-jena-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 799B896B6 for ; Tue, 31 Jan 2012 18:10:40 +0000 (UTC) Received: (qmail 60939 invoked by uid 500); 31 Jan 2012 18:10:40 -0000 Delivered-To: apmail-incubator-jena-dev-archive@incubator.apache.org Received: (qmail 60887 invoked by uid 500); 31 Jan 2012 18:10:39 -0000 Mailing-List: contact jena-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jena-dev@incubator.apache.org Delivered-To: mailing list jena-dev@incubator.apache.org Received: (qmail 60862 invoked by uid 99); 31 Jan 2012 18:10:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 18:10:39 +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 18:10:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7D16318162E for ; Tue, 31 Jan 2012 18:10:16 +0000 (UTC) Date: Tue, 31 Jan 2012 18:10:16 +0000 (UTC) From: "Rob Vesse (Commented) (JIRA)" To: jena-dev@incubator.apache.org Message-ID: <154781306.12265.1328033416513.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1967957731.72855.1327431041609.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (JENA-201) Deliver Fuseki as a WAR file. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JENA-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197063#comment-13197063 ] Rob Vesse commented on JENA-201: -------------------------------- I think the generic dispatch pattern would be ideal but I don't really have the expertise in the relevant area of Java to implement that myself. I was hoping that repackaging as a WAR would be relatively simple but I keep running into stumbling blocks. The latest hiccup I've uncovered in my experimentation is that Fuseki includes servlet-api in its dependencies, if you try and run as a WAR within Tomcat it will complain because the spec says a WAR shouldn't include a copy of the servlet-api. One possible workaround here would be to have a separate project for the WAR packing and declare the servlet-api as an optional dependency (http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html) of the main Fuseki project so it doesn't get packaged by the WAR project, since optional dependencies of dependencies are not included. The downside to this is that those using Fuseki as a library for a standalone server may have to explicitly add servlet-api back as a dependency > Deliver Fuseki as a WAR file. > ----------------------------- > > Key: JENA-201 > URL: https://issues.apache.org/jira/browse/JENA-201 > Project: Jena > Issue Type: Improvement > Components: Fuseki > Reporter: Andy Seaborne > Priority: Minor > -- 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