Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Including test resources in Tomcat deployment
Including test resources in Tomcat deployment [message #1420873] Wed, 10 September 2014 15:59
Mark Beierl is currently offline Mark BeierlFriend
Messages: 3
Registered: September 2014
Junior Member
I have a Maven war project that I can run in Eclipse by deploying it to a Tomcat server. This works fine for developing and debugging, but I also have a test.xml resource file that I would like to deploy to my webapp when I debug it. I do not want this test.xml file to end up in the final war though.

So:

1) If I put the test.xml file into src/main/webapp/WEB-INF, it is included in the war file and as a result is visible when debugging.
2) If I put the test.xml file into src/test/resources, or src/test/webapp/WEB-INF, it is not deployed to tomcat on debug, and therefore not visible.

Can this be done, or is there another way to go about this?
Previous Topic:WTP 3.4.1 xinclude support on mac osx?
Next Topic:How To Make A Customized Project Wizard By Extending ModifyFacetedProjectWizard
Goto Forum:
  


Current Time: Tue May 22 06:31:11 GMT 2018

Powered by FUDForum. Page generated in 0.01849 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top