You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Peter Kesch <ke...@swt.ruhr-uni-bochum.de> on 2002/01/10 08:24:32 UTC

destination directories

Is there a way to let ant create the directories which are needed for java classes which are in packages ???

for example a file class.java is in the package crosswordpuzzle.util. now i want ant to compile the file and create the directories by himself, so i can say dest="${temp.dir}" and the classfile lays in ${temp.dir}/crosswordpuzzle/util/ after compiling.

Peter

Re: destination directories

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 10 Jan 2002, Peter Kesch <ke...@swt.ruhr-uni-bochum.de> wrote:

> for example a file class.java is in the package
> crosswordpuzzle.util. now i want ant to compile the file and create
> the directories by himself, so i can say dest="${temp.dir}" and the
> classfile lays in ${temp.dir}/crosswordpuzzle/util/ after compiling.

<javac> does so, no special magic involved (as long as ${temp.dir}
exists).

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>