If you use the Ant to create your WAR via the war task, then (as explained here) it will automatically create a WEB_INF/classes/ directory in the WAR. I would like to change the name of this generated classes/ directory to, say, classpath/ and can’t figure out how.
If this is possible, would someone provide a code example as well as a reference to the documentation that shows how to do this (I’m curious!). Thanks!
You shouldn’t change the name of the
classesto something else.The directory structure of a
WARfile is standard and defines aWEB-INF\classesfor all the .class files of your application