You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jean-Baptiste BRIAUD <je...@solsoft.fr> on 2000/09/29 11:23:10 UTC

copyfile

Hello,

I new (very new) to ant.
I downloaded and installed successfully an rmp build of ant.
I can call ant script and it seem to be OK (it try to parse build.xml).
Then I made my first build.xml file.
Ant give me an error message :
BUILD FAILED
build.xml:39: Class class org.apache.tools.ant.taskdefs.Copyfile doesn't
support the "scr" attribute

Here is the line 39 :
<copyfile
scr="../client/pedro-new/com/solsoft/np/model/parser/npi/lexer/lexer.dat"
dest="../bin/client/com/solsoft/np/model/parser/npi/lexer/lexer.dat" />

(sorry it's a long line, but I thought it could be a CR problem)
I checked the doc and I really don't anderstand.
I also check a DTD found on the net and copyfile has two attributs
required src and dest.

Any idea ?

    Thanks !

-- 
_______________________________________________________
Jean-Baptiste BRIAUD                    Solsoft
  software engineer              http://www.solsoft.fr

Solsoft SA  130 rue Victor Hugo  92300 Levallois-Perret
    "Policy Management for eBusiness Security"