You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "tm_jee (JIRA)" <ji...@apache.org> on 2006/06/09 16:54:16 UTC
[jira] Updated: (WW-1336) webapps should separate resource from
java source directory for maven to generate the war file with resource
correctly
[ http://issues.apache.org/struts/browse/WW-1336?page=all ]
tm_jee updated WW-1336:
-----------------------
Component: Examples
Fix Version: 2.0
Description:
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.
was:
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.
Assign To: tm_jee
> 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