On 8/23/06, Daniel Serodio <[EMAIL PROTECTED]> wrote:
Matt Raible wrote:
> I'm customizing my pom.xml so XML files are available on my classpath
> (at /WEB-INF/*.xml) when testing. My question is (hopefully) simple.
>
> Is it better to use:
<snip/>
I think using "Hard-coded directories" is more "Maven-like", while using
variables is more "Ant-like". I'd stick with the hard-coded directories,
or better yet, use Maven's "stardard directory layout"
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
I am using this layout, I just need to include src/main/webapp in my
classpath so I can use /WEB-INF/applicationContext.xml in my tests -
w/o having duplicate context files.
Thanks for your advice Daniel.
Matt
HTH,
Daniel Serodio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]