ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HANDSCHMANN Robert <HANDSCHM...@scigames.at>
Subject AW: destination directories
Date Thu, 10 Jan 2002 09:22:31 GMT
Ant does this by default.

The only thing you have to do is creating the base directory:
    <mkdir dir="${temp.dir}"/>

Your <javac> task may then look like:
    <javac srcdir="${source.dir}" destdir="${temp.dir}" 
      ... other options ...
    </javac>

Hope that helps,
Robert

> -----Urspr√ľngliche Nachricht-----
> Von: Peter Kesch [mailto:kesch@swt.ruhr-uni-bochum.de]
> Gesendet am: Donnerstag, 10. Jänner 2002 08:25
> An: ant-user@jakarta.apache.org
> Betreff: 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
> 

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message