ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dean Melia" <dme...@netspace.net.au>
Subject Re: BUILD FAILED
Date Fri, 05 Dec 2003 03:40:47 GMT
Thanks for the tip. I was missing the package statement.

----- Original Message -----
From: "Antoine Lévy-Lambert" <antoine@antbuild.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Thursday, December 04, 2003 12:22 AM
Subject: AW: BUILD FAILED


> 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
>


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


Mime
View raw message