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 3219] pvcs task does not create folders
Date Tue, 04 Sep 2001 05:53:14 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

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

*** shadow/3219	Mon Sep  3 04:54:31 2001
--- shadow/3219.tmp.18797	Mon Sep  3 22:53:14 2001
***************
*** 15,18 ****
  +============================================================================+
  |                              DESCRIPTION                                   |
  The pvcs does not create folders if they do not exist resulting in an error 
! from pvcs get command.
--- 15,47 ----
  +============================================================================+
  |                              DESCRIPTION                                   |
  The pvcs does not create folders if they do not exist resulting in an error 
! from pvcs get command.
! 
! ------- Additional Comments From david.corbett@suncorpmetway.com.au  2001-09-03 22:53 -------
! I believe this is the cause of the problem and the solution:
! 
! The createFolders(File) method in Pvcs.java needs to also recognise and process 
! lines (in Windows) that use a drive mapping rather than a UNC name.
! 
! e.g.
! 
! "V:\SML PVCS Projects D to G\archives\eGI\Implementation\Iteration2
! \Java\startup\BatchTestHarness\DummyBatchManager.java-arc
! (c:\Development_Build\Implementation\Java\startup\BatchTestHarness\DummyBatchMan
! ager.java)"
! 
! So the section of code that decides whether to continue processing the line 
! should look something like this:
! 
!             if(line.startsWith("\"\\") ||
!                line.startsWith("\"/") ||
!                (line.length() > 3 &&
!                 line.startsWith("\"") &&
!                 Character.isLetter(line.charAt(1)) &&
!                 String.valueOf(line.charAt(2)).equals(":") &&
!                 String.valueOf(line.charAt(3)).equals("\\")
!                 )) {
! 
! I compiled this code and put it into my copy of the jakarta-ant-1.4-
! optional.jar and all the required directories were created before the GETs were 
! performed.

Mime
View raw message