Whenever you're using an Optional task, you need to <taskdef> it (you can
get it in there other ways as well -- but <taskdef> is the official way to
go.) See the index.html doc for <taskdef> particulars.
Diane
--- Dan MacKay <dan.mackay@kingston.hummingbird.com> wrote:
> Hi all,
>
> Once again the newbie poses a question. When I call the following
> target:
>
> <target name="getSource" depends="prepare">
> <MSVSSGET login="${SSUserName},${SSUserPassword}"
> vsspath="${SSDirectory}" recursive="true"/>
> </target>
>
> I get the following build failure:
>
> D:\src\dal>ant -buildfile d:\src\dal\DalBuild.xml getSource
> Buildfile: d:\src\dal\DalBuild.xml
>
> BUILD FAILED
>
> d:\src\dal\DalBuild.xml:47: Could not create task of type: MSVSSGET
> because
> I can't find it in the list of task class definitions
>
> Total time: 1 seconds
> D:\src\dal>
>
> Any suggestions from the gurus?
>
> Thanks,
> Dan
>
=====
(holtdl@yahoo.com)
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
|