[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Oddness with eclipse 3.3

From: Jay Sachs <jay.sachs_at_riskmetrics.com>
Date: 2007-07-18 15:18:55 CEST

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).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Jul 18 15:18:01 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.