----- Original Message -----
Sent: Monday, February 10, 1997 5:25 AM
Subject: sub-directory compilation

I would like to be able to compile code (using the javac task) starting from my current directory path and including any subdirectories, with my build.xml being in a different directory.
 
Is there a way to get current directory?
 
The current directory should be available as ${user.dir} inside your buildfile. So you will get a list of files in the current directory and all subdirectories using
 
    <fileset dir="${user.dir}">
      <include name="*"/>
    </fileset>
Nico
 

Reply via email to