Hi Jay,
El mié, 18-07-2007 a las 09:18 -0400, Jay Sachs escribió:
> On 7/17/07 5:00 PM, "Nigel Magnay" <nigel.magnay@gmail.com> wrote:
>
> >
> >>>> It is?! This isn't target/classes BTW, this is
> >>>> src/main/webapp/WEB-INF/classes. I now can't remember if all the files
> >>>> were under classes or not - is there a way of *un*-ignoring it (and
> >>>> wouldn't it always ignore files, rather than marking each successive
> >>>> directory as new) ? We tend to store rather a lot of spring
> >>>> configuration under there,..
> >>
> >> Storing source in an output folder is not recommended. Personally I use
> >> a Maven-like hierarchy and store the source code under src/main/java and
> >> those files under src/main/resources, just as Mark suggested.
> >
> > It isn't. It's in a source directory (specifically src/main/webapp).
>
> No need for the spring configuration sources to live there. If they're in
> src/main/resources, they'll end up in the right place in the generated WAR
> file when you run 'mvn package'. They should also be on the classpath
> properly when running Tomcat from inside Eclipse (at least with Sysdeo, I'd
> be very surprised if WTP doesn't work).
Thanks for kicking in. As a matter of fact, WTP does work: that's what I
use with the setup I described above.
Cheers,
--
Javier Kohen <jkohen@users.sourceforge.net>
ICQ: blashyrkh #2361802
Jabber: jkohen@jabber.org
Received on Wed Jul 18 15:32:16 2007