ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject AW: BUILD FAILED
Date Wed, 03 Dec 2003 13:22:47 GMT
Hi Dean,

can you check that you have a directory c:/learn/Ex1/src/Exercise1 with java
source files in it ?

if this is the case, the java sources should contain the declaration package
Exercise1;

Cheers,

Antoine

-----Urspr√ľngliche Nachricht-----
Von: Dean Melia [mailto:dmelia@netspace.net.au]
Gesendet: Mittwoch, 3. Dezember 2003 14:11
An: user@ant.apache.org
Betreff: BUILD FAILED


BUILD FAILED
file:C:/Ant/bin/build.xml:34: no source files and no packages have been
specified.

Build file contains;
 <property name="ProjectHome" value="c:/learn/Ex1" />
  <property name="src" value="${ProjectHome}/src" />
  <property name="build" value="${ProjectHome}/classes" />
  <property name="dist" value="${ProjectHome}/lib" />
  <property name="docs" value="${ProjectHome}/docs" />
- <target name="docs" depends="compile">
  <mkdir dir="${docs}" />
  <javadoc packagenames="Exercise1" sourcepath="${src}" destdir="${docs}" />
  </target>

Ant -version runs ok from c:/Ant/bin

Scratching my head why it cant find the source and packages?
Ant 1.5.4
JDK j2sdk1.4.1_06

thanks in anticipation.


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


Mime
View raw message