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 2005/02/18 17:50:06 UTC

DO NOT REPLY [Bug 33638] New: - CvsTagDiff does not support module-names containing spaces

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33638>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33638

           Summary: CvsTagDiff does not support module-names containing
                    spaces
           Product: Ant
           Version: 1.6.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: chboi@wmdata.com


There is no way I can supply module-names containing spaces to the package-
attribute. I recon this is due to the fact that 'space' is used as the module-
seperator, but this i quite unfortunate since cvsnt supports modulenames 
containing spaces.

I've identified the CvsTagDiff-task-class and it appears that it make use of 
the StringTokenizer for parsing the list of modules in the package-attribute. 
I suggest using another delimeter than the default, eg. semicolon. I have 
succesfully tried this modification of Ant 1.6.2.

Unfortunately this change would break with existing ant-scripts, and thus 
another solution could be to introduce a nested element, call it eg. "package" 
or "module", allowing a user to specify multiple cvs-modules to be included in 
the task. Hereby we both preserve backward compatibility and introduce support 
for exotic csv-module-names.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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