ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: copying files
Date Tue, 03 Jun 2003 13:09:35 GMT
I think <javac srcdir="src" destdir="build" /> should work.
If that doesn┬┤t help - can you post the snippet of your build file?

Jan


> -----Urspr├╝ngliche Nachricht-----
> Von: Bertjan Broeksema [mailto:b.broeksema@home.nl]
> Gesendet am: Dienstag, 3. Juni 2003 15:05
> An: user@ant.apache.org
> Betreff: copying files
> 
> Can any one help me with this:
> 
> I've in each source dir a file that contains a list of files 
> in that dir. When 
> i run my compile target all classes come in one dir. But i 
> want them in the 
> same dir structure as before. Therefore i want to use the 
> filelist in each 
> original dir to copy the compiled files to the right dir.
> 
> When i have compiled i've something like this:
> - src
>    |_ gui
>    |	|_ gui1.java
>    |	|_ fgui2.java
>    |	|_ filelist.txt
>    |
>    |_base
>    |	|_base1.java
>    |	|_base2.java
>    |	|_ filelist.txt
> - build
>    |_gui
>    |_base
>    |_tmp
>    |	|_ gui1.java
>    |	|_ fgui2.java
>    |	|_base1.java
>    |	|_base2.java
> 
> All files come in the tmp dir. But the question is thus how 
> to get them in the 
> right dir.
> 
> Grtz,
> 
> Bertjan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message