struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tm_jee (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 05:12:16 GMT
    [ http://issues.apache.org/struts/browse/WW-1336?page=comments#action_37475 ] 

tm_jee commented on WW-1336:
----------------------------

Thx for the feedback Pat.

fixed in svn head. 

All resources in webapp/WEB-INF/classes/* are being moved to src/main/resources/*


> 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.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