[ 
https://issues.apache.org/jira/browse/WW-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15789351#comment-15789351
 ] 

ASF subversion and git services commented on WW-3787:
-----------------------------------------------------

Commit 98979423a164e264d1291ac34dc9a16759173aea in struts's branch 
refs/heads/master from [~lukaszlenart]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=9897942 ]

WW-3787 WW-3961 Allows include config files from JARs


> 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:
> <include file="struts/*.xml" />
> 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 <include 
> file="classpath:..." /> 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)

Reply via email to