Re: Is there an option for auto-create output dirs when compiling with javac?



Catherina Svensson wrote:

When I perform a compiling operation like:

javac -d build\WEB-INF\classes my.java

and the directory build\WEB-INF\classes does NOT exist then the javac command fails.

Is there really no auto-create-dir-when-necessary option for javac ?

Cat


Is there a particular reason you don't want to use Ant[1]? It's like
Javas make and can do a multitude of tasks for you (compiling, creating
directories, packing into jars etc).

[1] <http://ant.apache.org/>
--
Sabine Dinis Blochberger

Op3racional
www.op3racional.eu
.