t5: text file and tomcat deployment
Hi,
I put a info.txt file under src/main/resources and when jetty:run I can see info.txt under target/classes, that's what I want. however when I deploy it in tomcat, the info.txt file is inside a jar file:
ROOT/WEB-INF/lib/myapp.jar, my purpose is, a text file that can be edited manually to configure some parameters, inside jar file make this impossible. any idea how to put a txt file outside of a jar and yet accessible by:this.getClass().getResourceAsStream("/info.txt")
Thanks,
Angelo