Re: Is there an option for auto-create output dirs when compiling with javac?
- From: Sabine Dinis Blochberger <no.spam@xxxxxxxxxxxx>
- Date: Tue, 29 Apr 2008 09:33:26 +0100
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
.
- Follow-Ups:
- Re: Is there an option for auto-create output dirs when compiling with javac?
- From: Sabine Dinis Blochberger
- Re: Is there an option for auto-create output dirs when compiling with javac?
- Prev by Date: Re: Is there really no wildcard adding for "jar -cvf my.jar classes\*.class" ?
- Next by Date: Re: Is there an option for auto-create output dirs when compiling with javac?
- Previous by thread: Re: Is there really no wildcard adding for "jar -cvf my.jar classes\*.class" ?
- Next by thread: Re: Is there an option for auto-create output dirs when compiling with javac?
- Index(es):