ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9672] New: - Optional PVCS Get w/ mapped windoze drive fails when no dir exists
Date Thu, 06 Jun 2002 18:50:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9672>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9672

Optional PVCS Get w/ mapped windoze drive fails when no dir exists

           Summary: Optional PVCS Get w/ mapped windoze drive fails when no
                    dir exists
           Product: Ant
           Version: 1.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: drollo@ets.org


Reporting this defect as per request from Steve Newton:

The PVCS Optional task in Ant 1.5 beta 
2 fails if the directory tree into
which you are doing a get doesn't already exist when you are 
launching PVCS
PCLI via a mapped network drive. The resulting errors are[ get: error,
"<some 
dir>" is not a directory.] A bug report number: 4346 shows changes to
the createFolders() 
method that appear to handle this problem (I haven't
fully testing it yet...). Unfortunately, 
it seems this fix has not been
applied to the latest beta code. I noticed a "linestart" property 
that might
allow a workaround, but I have not had any success using a variety of
"linestart" 
characters (e.g. linestart="&quot;R:" - ['R' is the mapped drive
letter] in the build.xml PVCS 
target).

Can the above mentioned fix be added to the code?
Is there some other workaround 
for using this task with mapped windoze
drives?

Thanks,
Dan

NOTE: The "src" 
directory exists on the local machine, the "src/env" directory does not exist on the local

machine.

Ant target:

    <property name="pvcs.executable.path" 
value="r:/pvcs_vm/application/VM/Win32/Bin"/>
    <property name="pvcs.repository" 
value="r:/pvcs_vm/buildtest"/>

    <target name="getLatestPVCS" depends="init"
            
description="Gets the latest version of source code from PVCS VM.">

        <pvcs 
pvcsbin="${pvcs.executable.path}"
                repository="${pvcs.repository}"
                
pvcsproject="/src/env"                
        />
        <!--
                userid="myid:mypwd"
                filenameFormat="{0}-
arc({1})"
                linestart="&quot;R:"
                updateonly="true"
        -->

    </target>

Ant -verbose 
output from target follows:

getLatestPVCS:
     [pvcs] Executing 
'r:\pvcs_vm\application\VM\Win32\Bin\pcli' with arguments:
     [pvcs] 'lvf'
     [pvcs] '-z'
     
[pvcs] '-aw'
     [pvcs] '-prr:/pvcs_vm/buildtest'
     [pvcs] '/src/env'
     [pvcs] The ' characters 
around the executable and arguments are
     [pvcs] not part of the command.
     [pvcs] PVCS Version 
Manager (PCLI) v6.8.00 (Build 128.03) for Windows NT/80x86
     [pvcs] Copyright 1985-2001 
MERANT.  All rights reserved.
     [pvcs] Creating folders
     [pvcs] Considering 
""R:\pvcs_vm\buildtest\archives\src\env\env.cpp-
arc(d:\buildtest\devarea\src\env\env.cpp)""
     [pvcs] Skipped 
""R:\pvcs_vm\buildtest\archives\src\env\env.cpp-
arc(d:\buildtest\devarea\src\env\env.cpp)""
     [pvcs] Considering 
""R:\pvcs_vm\buildtest\archives\src\env\env.dsp-
arc(d:\buildtest\devarea\src\env\env.dsp)""
     [pvcs] Skipped 
""R:\pvcs_vm\buildtest\archives\src\env\env.dsp-
arc(d:\buildtest\devarea\src\env\env.dsp)""
     [pvcs] Considering 
""R:\pvcs_vm\buildtest\archives\src\env\env.dsw-
arc(d:\buildtest\devarea\src\env\env.dsw)""
     [pvcs] Skipped 
""R:\pvcs_vm\buildtest\archives\src\env\env.dsw-
arc(d:\buildtest\devarea\src\env\env.dsw)""
     [pvcs] Considering 
""R:\pvcs_vm\buildtest\archives\src\env\env.exe-
arc(d:\buildtest\devarea\src\env\env.exe)""
     [pvcs] Skipped 
""R:\pvcs_vm\buildtest\archives\src\env\env.exe-
arc(d:\buildtest\devarea\src\env\env.exe)""
     [pvcs] Considering 
""R:\pvcs_vm\buildtest\archives\src\env\env.ncb-
arc(d:\buildtest\devarea\src\env\env.ncb)""
     [pvcs] Skipped 
""R:\pvcs_vm\buildtest\archives\src\env\env.ncb-
arc(d:\buildtest\devarea\src\env\env.ncb)""
     [pvcs] Considering 
""R:\pvcs_vm\buildtest\archives\src\env\env.opt-
arc(d:\buildtest\devarea\src\env\env.opt)""
     [pvcs] Skipped 
""R:\pvcs_vm\buildtest\archives\src\env\env.opt-
arc(d:\buildtest\devarea\src\env\env.opt)""
     [pvcs] Considering 
""R:\pvcs_vm\buildtest\archives\src\env\env.plg-
arc(d:\buildtest\devarea\src\env\env.plg)""
     [pvcs] Skipped 
""R:\pvcs_vm\buildtest\archives\src\env\env.plg-
arc(d:\buildtest\devarea\src\env\env.plg)""
     [pvcs] Considering 
""R:\pvcs_vm\buildtest\archives\src\env\mssccprj.scc-
arc(d:\buildtest\devarea\src\env\mssccprj.scc)""
     [pvcs] Skipped 
""R:\pvcs_vm\buildtest\archives\src\env\mssccprj.scc-
arc(d:\buildtest\devarea\src\env\mssccprj.scc)""
     [pvcs] Considering 
""R:\pvcs_vm\buildtest\archives\src\env\ReadMe.txt-
arc(d:\buildtest\devarea\src\env\ReadMe.txt)""
     [pvcs] Skipped 
""R:\pvcs_vm\buildtest\archives\src\env\ReadMe.txt-
arc(d:\buildtest\devarea\src\env\ReadMe.txt)""
     [pvcs] Considering 
""R:\pvcs_vm\buildtest\archives\src\env\StdAfx.cpp-
arc(d:\buildtest\devarea\src\env\StdAfx.cpp)""
     [pvcs] Skipped 
""R:\pvcs_vm\buildtest\archives\src\env\StdAfx.cpp-
arc(d:\buildtest\devarea\src\env\StdAfx.cpp)""
     [pvcs] Considering 
""R:\pvcs_vm\buildtest\archives\src\env\StdAfx.h-
arc(d:\buildtest\devarea\src\env\StdAfx.h)""
     [pvcs] Skipped 
""R:\pvcs_vm\buildtest\archives\src\env\StdAfx.h-
arc(d:\buildtest\devarea\src\env\StdAfx.h)""
     [pvcs] Considering 
""R:\pvcs_vm\buildtest\archives\src\env\vssver.scc-
arc(d:\buildtest\devarea\src\env\vssver.scc)""
     [pvcs] Skipped 
""R:\pvcs_vm\buildtest\archives\src\env\vssver.scc-
arc(d:\buildtest\devarea\src\env\vssver.scc)""
     [pvcs] Getting files
     [pvcs] 
Executing r:\pvcs_vm\application\VM\Win32\Bin\get -N 
@D:\buildtest\devarea\src\pvcs_ant_-8019924089517794510.log
     [pvcs] PVCS Version 
Manager (get) v6.8.00 (Build 128.03) for Windows NT/80x86
     [pvcs] Copyright 1985-2001 MERANT.  
All rights reserved.
     [pvcs] get: error, "d:/buildtest/devarea/src/env" is not a 
directory.
     [pvcs] get: error, "d:/buildtest/devarea/src/env" is not a directory.
     [pvcs] 
get: error, "d:/buildtest/devarea/src/env" is not a directory.
     [pvcs] get: error, 
"d:/buildtest/devarea/src/env" is not a directory.
     [pvcs] get: error, 
"d:/buildtest/devarea/src/env" is not a directory.
     [pvcs] get: error, 
"d:/buildtest/devarea/src/env" is not a directory.
     [pvcs] get: error, 
"d:/buildtest/devarea/src/env" is not a directory.
     [pvcs] get: error, 
"d:/buildtest/devarea/src/env" is not a directory.
     [pvcs] get: error, 
"d:/buildtest/devarea/src/env" is not a directory.
     [pvcs] get: error, 
"d:/buildtest/devarea/src/env" is not a directory.
     [pvcs] get: error, 
"d:/buildtest/devarea/src/env" is not a directory.
     [pvcs] get: error, 
"d:/buildtest/devarea/src/env" is not a directory.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message