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 Fri, 02 Aug 2002 02:54:16 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=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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message