Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBB5C7FBF for ; Fri, 30 Sep 2011 15:23:47 +0000 (UTC) Received: (qmail 73749 invoked by uid 500); 30 Sep 2011 15:23:45 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 73715 invoked by uid 500); 30 Sep 2011 15:23:45 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 73707 invoked by uid 99); 30 Sep 2011 15:23:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2011 15:23:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davelnewton@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vx0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2011 15:23:39 +0000 Received: by vcbfl13 with SMTP id fl13so2114580vcb.35 for ; Fri, 30 Sep 2011 08:23:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=GdNi2MUgr+nC/J15eMJZNdvAUqWn66Kzaz8mpVsAhGs=; b=H1lm2nz/GFocFknck/sR4wC0P+LY0/8hz4+eh1kElKe9LX7LhbHDQJoxZxSV3uyLNg NwS0HnDAyJCIXFcbL3GgGS8Q4J7Vr/+l5LVJjPKX4noAVuIOZcDKBMMdvYdZGNYupy+P J7hwQkCgYq8YZf7CZNK/eCaZ0KIMWACPdSK38= MIME-Version: 1.0 Received: by 10.52.34.44 with SMTP id w12mr686220vdi.57.1317396193489; Fri, 30 Sep 2011 08:23:13 -0700 (PDT) Received: by 10.220.200.195 with HTTP; Fri, 30 Sep 2011 08:23:13 -0700 (PDT) In-Reply-To: References: Date: Fri, 30 Sep 2011 11:23:13 -0400 Message-ID: Subject: Re: Unit Test Struts2 Action - Custom type converters not being run? From: Dave Newton To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=20cf307813322433a004ae2a349d --20cf307813322433a004ae2a349d Content-Type: text/plain; charset=ISO-8859-1 On Fri, Sep 30, 2011 at 11:21 AM, Carl Ballantyne 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 --20cf307813322433a004ae2a349d--