IAmYourFaja
IAmYourFaja

Reputation: 56904

Overriding WAR classes directory

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!

Upvotes: 0

Views: 147

Answers (1)

Cratylus
Cratylus

Reputation: 54074

You shouldn't change the name of the classes to something else.

The directory structure of a WAR file is standard and defines a WEB-INF\classes for all the .class files of your application

Upvotes: 1

Related Questions