struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Unit Test Struts2 Action - Custom type converters not being run?
Date Fri, 30 Sep 2011 15:23:13 GMT
On Fri, Sep 30, 2011 at 11:21 AM, Carl Ballantyne
<carlballantyne@gmail.com>wrote:

> I had a User-conversion.properties file in the same package as the
> User.java
> file. However when the project was being built with maven it was not
> copying
> over the .properties files from the src/main/java folder. I opted to put it
> in the src/main/resources folder using the same package name as the java
> class which resolved the issue.
>

That's where non-Java resources belong, so this makes sense.


> I would have normally picked up on this but when using the M2e WTP Plugin
> it
> *was* copying over the properties files.


It's more likely it was Eclipse doing that; Maven should only be taking Java
source files from the Java source directory.

Dave

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message