Related to this.....  

I am using the Struts2 Modular archetype.   I get a struts.xml in
WEB-INF/classes which I edit to add my actions.  Along the way I wanted to
change an appfuse action (MainMenu) to use an action class I created rather
than the pass-through ActionSupport to the JSP page.  But the struts.xml in
the struts-web jar file seems to get read and override the file in /classes.

I am not too keen on deleting the war and appfuse struts file since I would
like to keep them black-boxed-up.  So I am guessing I need to create my own
"Main Menu" action/view combo and then update redirect on index.jsp?

Another thought.  What if I wanted to change the behavior of the global
results or exceptions or interceptors of the appfuse struts file?  I feel
like I should be able to chop that file up and I may be missing something.



mraible wrote:
> 
> You should be able to delete any duplicates - meaning if they exist in
> src/main/resources, you can delete them.  If they don't, they'll be
> needed because Jetty doesn't currently recognize the warpath plugin.
> 
> Matt
> 
> On 4/21/07, ptuzla <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> After I did a 'mvn war:inplace' in Appfuse 2.0.M4 I got all of the files
>> under src/main/resources duplicated under
>> src/main/webapp/WEB-INF/classes/
>>
>> These file are:
>>         applicationContext-resources.xml
>>         ApplicationResources.properties
>>         ...
>>         ehcache.xml
>>         hibernate.cfg.xml
>>         jdbc.properties
>>         log4j.xml
>>         mail.properties
>>         META-INF/
>>                 persistence.xml
>>
>> Could you tell me which ones  to keep, and which ones to delete?
>> And also it looks like some files like accountCreated.vm are looked for
>> under WEB-INF/classes by the container at runtime but are looked for
>> under
>> src/main/resources during tests.
>>
>> Thanks a lot.
>> --
>> View this message in context:
>> http://www.nabble.com/duplicate-resource-files-after-mvn-war%3Ainplace-tf3622458s2369.html#a10115412
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/duplicate-resource-files-after-mvn-war%3Ainplace-tf3622458s2369.html#a10119054
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to