Dre
unread,Sep 17, 2010, 6:12:48 PM9/17/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Q for Eclipse users list
Hi,
Not sure if this is by design, but I'm seeing my test resources be
deployed to Tomcat when I'm trying to test my web application. Is this
by design?
i.e.
- I have a pom.xml which is defined as 'packaging' war. Doesn't have
anything special other than dependencies.
- I have in src/main/resources/X.properties
- I have in src/test/resources/Y.properties
When I 'Run On Server' in Eclipse and deploy to Tomcat, if I go to the
tmp directory Eclipse creates for running my web app, I see
Y.properties. My web app doesn't run fully with Y.properties.
Is this somehow by design? My test resources are for my unit tests to
run, but when I package the web app I want it to run with the
resources from 'main'.
If this is by design, then I'll have to think how to work around it.
If it's not, then I can dig further to try to reproduce.
Thanks,
Dre