You are ending your target prematurely.
<target name="copy" depends="jar"/>
should be:
<target name="copy" depends="jar">
HTH,
Pete
Chuck Amadi wrote:
> Hi there folks, I have taken the second plunge into my buildfile
> experience the first was fine nevertheless i have a question my second
> buildfile states an error ie Unexpected element "copy"
> \build.xml:37:
>
> <!-- ===================================================-->
> <!-- Copy the jar files to release directory -->
> <!-- ===================================================-->
> <target name="copy" depends="jar"/>
> <copy todir="${jardir}"> ///this is line
> 37
> <fileset dir="${basedir}" includes="*jar/>
> </copy>
> </target>
> </project>
>
> Any ideas Cheers Chuck
>
> --
> The views expressed by the sender of this message don't
> necessarily represent those of Brecon Beacons National Park
> Authority. This message is intended for the addressee(s) only
> and is sent in confidence; if you receive it in error, please can you
> let us know (at [EMAIL PROTECTED]) and then destroy all copies.
> Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
> adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
> Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
> yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
> mewn camgymeriad, a fyddech gystal � rhoi gwybod i
> ni (yn [EMAIL PROTECTED]) ac yna dil�wch bob copi.
>
begin:vcard
n:;
x-mozilla-html:FALSE
org:<BR><IMG SRC="http://www.irista.com/images/common/logo_top_right.gif">
adr:;;;;;;
version:2.1
end:vcard