struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Lightbody (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-1336) webapps should separate resource from java source directory for maven to generate the war file with resource correctly
Date Sat, 10 Jun 2006 01:05:16 GMT
    [ http://issues.apache.org/struts/browse/WW-1336?page=comments#action_37470 ] 

Patrick Lightbody commented on WW-1336:
---------------------------------------

Toby,
I agree - this is something that should be done no matter what. I think QuickStart is broken
for most of the apps except for showcase. We'll need a quickstart.xml file for all the other
apps anyway. In those files, we can simply add src/main/resources to the <classes> section.

> webapps should separate resource from java source directory for maven to generate the
war file with resource correctly
> ----------------------------------------------------------------------------------------------------------------------
>
>          Key: WW-1336
>          URL: http://issues.apache.org/struts/browse/WW-1336
>      Project: Struts Action 2
>         Type: Bug

>   Components: Examples
>     Reporter: tm_jee
>     Assignee: tm_jee
>      Fix For: 2.0

>
> webapps should separate resource from java source directory for maven to generate the
war file with resource correctly
> Showcase resource needs to be in a separate directory for maven to include them when
doing a war package.
> now. eg.
> apps/src/main/java/org/apache/struts/action2/showcase/validation/
> contains resources like
> - FieldValidatorsExampleAction.properties
> - FieldValidatorsExampleAction-conversion.properties
> - etc.
> that should be in
> apps/src/main/resources/org/apache/struts/action2/showcase/validation/
> Not sure if this would affect quickstart. Will need Pat to advice on this. I guess this
change should really be done anyway. If it breaks quickstart, i guess we'll have to find some
way to make it works again, as this is the standard way of having resource recongnized by
maven, if i understand maven correctly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message