ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Zwartepoorte" <Jer...@xs4all.nl>
Subject copy task not working
Date Sat, 11 Nov 2000 20:38:38 GMT
Hi,

I'm a new ant user. I've got a build script which has a compile task which
does 2 things: compile all the .java files in a directory and copy a .gif
file to the output directory.

The second command doesn't get executed. Does anybody have any ideas what is
wrong?

Snippet from build.xml:

  <target name="compile" depends="prepare">
    <javac srcdir="${sourcePath}" destDir="${outputPath}"
classpathref="project.class.path" />
    <copy file="{$sourcePath}/nl/xs4all/jeroen/jbuilder/anttool/ant.gif"
tofile="{$outputPath}/nl/xs4all/jeroen/jbuilder/anttool/ant.gif" />
  </target>

Output from ant:

prepare:
    [mkdir] Created dir: F:\Project\java\anttool\classes

compile:
    [javac] Compiling 6 source files to F:\Project\java\anttool\classes

deploy:

Thanks,

Jeroen Zwartepoorte


Mime
View raw message