Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 96029200BF2 for ; Mon, 2 Jan 2017 08:51:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 94242160B30; Mon, 2 Jan 2017 07:51:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DB245160B21 for ; Mon, 2 Jan 2017 08:51:04 +0100 (CET) Received: (qmail 2565 invoked by uid 500); 2 Jan 2017 07:50:59 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 2430 invoked by uid 99); 2 Jan 2017 07:50:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2017 07:50:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AF8772C2A68 for ; Mon, 2 Jan 2017 07:50:58 +0000 (UTC) Date: Mon, 2 Jan 2017 07:50:58 +0000 (UTC) From: "Hudson (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-3787) allow include other config files from classpath MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 02 Jan 2017 07:51:05 -0000 [ https://issues.apache.org/jira/browse/WW-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15792425#comment-15792425 ] Hudson commented on WW-3787: ---------------------------- SUCCESS: Integrated in Jenkins build Struts-JDK7-master #576 (See [https://builds.apache.org/job/Struts-JDK7-master/576/]) WW-3787 WW-3961 Allows include config files from JARs (lukaszlenart: rev 98979423a164e264d1291ac34dc9a16759173aea) * (edit) core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-include.xml * (edit) core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderWildCardIncludeTest.java * (edit) core/src/main/java/com/opensymphony/xwork2/util/ClassPathFinder.java > allow include other config files from classpath > ----------------------------------------------- > > Key: WW-3787 > URL: https://issues.apache.org/jira/browse/WW-3787 > Project: Struts 2 > Issue Type: New Feature > Components: XML Configuration > Affects Versions: 2.1.8, 2.3.1.2 > Reporter: Juan Alvarez G > Assignee: Lukasz Lenart > Fix For: 2.5.next > > > My struts.xml has something like this: > > which works fine when the war is exploded and the files are under WEB-INF\classes > but I build the application (war) with maven2 and I do package classes in a jar file. > When Tomcat starts (tried with Tomcat 5 and Tomcat 7) only the main struts.xml (which is inside the jar) is loaded but not the ones inside struts/*.xml > Am I doing something wrong? I looked for other options like but doesnt work > Documentation says you can split the file and put into other jars but only with the name struts.xml. I do need multple files in a jar. > Please advise. -- This message was sent by Atlassian JIRA (v6.3.4#6332)