Hi,

I'm fairly new to NAnt and a newcomer to the mailing lists. This is the
issue:

I am trying to pvcsget a project by promotion group and it seems as it is
working fine but at the end I get the following error message:

  [pvcsget] An unknown problem has occurred.

BUILD FAILED - 1 non-fatal error(s), 2 warning(s)

C:\heroes\nant\Heroes.Get.xml(13,5):

External Program Failed: X:\vm\win32\bin\pcli.exe (return code was -13):
NAnt.Core.BuildException: C:\heroes\nant\Heroes.Get.xml(13,5):
External Program Failed: X:\vm\win32\bin\pcli.exe (return code was -13)
   at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() in
d:\Source\nant-20080602T171557Z\src\NAnt.Core\Tasks\ExternalProgramBase.cs:line
418
   at NAnt.Contrib.Tasks.PVCS.PVCSTask.ExecuteTask()
   at NAnt.Core.Task.Execute() in
d:\Source\nant-20080602T171557Z\src\NAnt.Core\Task.cs:line 186
   at NAnt.Core.TaskContainer.ExecuteChildTasks() in
d:\Source\nant-20080602T171557Z\src\NAnt.Core\TaskContainer.cs:line 120
   at NAnt.Core.TaskContainer.ExecuteTask() in
d:\Source\nant-20080602T171557Z\src\NAnt.Core\TaskContainer.cs:line 86
   at NAnt.Core.Tasks.IfTask.ExecuteTask() in
d:\Source\nant-20080602T171557Z\src\NAnt.Core\Tasks\IfTask.cs:line 363
   at NAnt.Core.Task.Execute() in
d:\Source\nant-20080602T171557Z\src\NAnt.Core\Task.cs:line 186
   at NAnt.Core.Target.Execute() in
d:\Source\nant-20080602T171557Z\src\NAnt.Core\Target.cs:line 247

   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in
d:\Source\nant-20080602T171557Z\src\NAnt.Core\Project.cs:line 917
   at NAnt.Core.Project.Execute() in
d:\Source\nant-20080602T171557Z\src\NAnt.Core\Project.cs:line 869
   at NAnt.Core.Project.Run() in
d:\Source\nant-20080602T171557Z\src\NAnt.Core\Project.cs:line 954

Total time: 13.3 seconds.

If I check the destination folders, the files are there though and if I run
the command manually, it doesn't give me any errors:

C:\heroes\nant>X:\vm\win32\bin\pcli.exe -nb get
-a"C:\heroes\BuildArea\Source" -p"Production" -z -pr "X:\AREAPROJ\Heroes" /

I am also having issues if I specify a version label ...

Now if I modify the code and don't use promotion groups, the script runs
just fine ...

Here is the code

<?xml version="1.0" encoding="utf-8" ?>
<project name="Heroes" default="get">
    <description>Build file for Heroes Application.</description>
    <loadtasks
assembly="C:\heroes\tools\nantcontrib-0.85\bin\NAnt.Contrib.Tasks.dll" />

    <target name="get" description="Grab the source code from PVCS
repository.">
        <property name="core.directory" value="C:\heroes\BuildArea" />
        <property name="core.source" value="${core.directory}\Source" />
        <property name="pvcs.dbpath" value="X:\AREAPROJ\Heroes" />
        <property name="pvcs.path" value="X:\vm\win32\bin\" />

        <if test="${property::exists('pvcs.promotion.group')}">
            <pvcsget
                    location="${core.source}"
                    projectdatabase="${pvcs.dbpath}"
                    includesubprojects="true"
                    promotiongroup="${pvcs.promotion.group}"
                    pvcsbin="${pvcs.path}"
                    verbose="true"
                    >
                    <entities>
                        <entity name="/" />
                    </entities>
            </pvcsget>
        </if>

    </target>
</project>

I am using:

nant: 0.86-beta1-nightly-2008-06-02
nancontrib: 0.85
serena version manager: 8.1.3 (Build 184)

Your help is greatly appreciate it!

- Fabio
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to