You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/08/02 04:54:16 UTC

DO NOT REPLY [Bug 3219] - pvcs task does not create folders

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=3219>.
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=3219

pvcs task does not create folders

david.corbett@suncorpmetway.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From david.corbett@suncorpmetway.com.au  2002-08-02 02:54 -------
The line.startsWith(getLineStart()) check that has been introduced to the 
createFolders(File) method does not work when the PVCS project has some 
archives defined with an uppercase drive letter mapping (e.g. "V:) and some 
archives that have been created with a lowercase drive mapping (e.g. "v:).

In this case if the linestart parameter for the Pvcs task is set
to "V: (linestart="&quot;V:") in the build file, then any archives that have 
been created using the lowercase drive mapping v: will return false for 
line.startsWith(getLineStart()) as startsWith is case sensitive. This of course
means that folders for these archives will not be created but folders for 
archives created using the uppercase V: drive mapping will be created.

I have this exact scenario occurring for the PVCS projects with which I work.

To fix this problem, either this checking should be made case insensitive or 
the code should be changed to something like my original posting on 2001-09-03 
whereby it only checks to see that the line has a drive letter at the start and 
does not matter if it is upper or lowercase and does not matter what drive 
letter is used (see comments by Jorg Friebel on 2002-07-11).

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>