#11 loadtasks works, but doesn't see vssadd

closed
None
5
2004-12-19
2004-12-15
Dave Risler
No

Hi,
I'm see NAnt pickup my loadtasks, but it can't seem to
find the vssadd task. The error message is:

C:\0_drisler_test>nant /f:vss.build
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release;
12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/0_drisler_test/vss.build
[loadtasks] Loading tasks from assembly C:\nant-0.84
\nantcontrib-0.85-rc1\bin\NAnt.Contrib.Tasks.dll.

BUILD FAILED

C:\0_drisler_test\vss.build(34,3):
Invalid element <vssadd>. Unknown task or datatype.

Here are pieces of my build file:

<project name="vss" basedir=".">

<property name="nant.settings.currentframework"
value="net-1.1"/> <!-- adjust to current .NET
framework -->
<loadtasks assembly="C:\nant-0.84\nantcontrib-0.85-
rc1\bin\NAnt.Contrib.Tasks.dll"/> <!-- include
NAnt.contrib -->

<vssadd dbpath="\\icivss\DevSourceControl\srcsafe.ini"
user="drisler" password="" path="$/drisler_test">
<fileset
basedir="\\icivss\\DevSourceControl\">
<include name="*txt"/>
</fileset>
</vssadd>
</project>

I checked the NAnt.Contrib.Tasks.xml file and it has
vssadd so I'm wondering whether I need to adjust paths
for nantcontrib or what?

Thanks,
Dave

Discussion

  • Gert Driesen

    Gert Driesen - 2004-12-19

    Logged In: YES
    user_id=707851

    Please try using a more recent version of NAntContrib and
    NAnt.

    More recent versions of NAnt provide more information when
    <loadtasks> fails to scan an assembly for extensions (tasks,
    types, ...).

     
  • Gert Driesen

    Gert Driesen - 2004-12-19
    • assigned_to: nobody --> drieseng
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks