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 38220] - CVS task breaks on project names containing spaces
Date Wed, 11 Jan 2006 12:02:42 GMT
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=38220>.
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=38220





------- Additional Comments From stevel@apache.org  2006-01-11 13:02 -------
Do I detect some sarcasm there?

It looks more like (in AbstractCVSTask.configureCommandline() that the package
is being split, perhaps into a series of packages.

        if (cvsPackage != null) {
            c.createArgument().setLine(cvsPackage);
        }

This may be by design, though if it is so, it should be documented with
examples. I note that the method does the same for CVSROOT:

        if (cvsRoot != null) {
            c.createArgument(true).setLine("-d" + cvsRoot);
        }

Again, some more people will need to look at this to decide if its a bug or if
we are being "clever".

Now, have you tried escaping your package with single or double quotes (whatever
you are not using for your package:

package="'spaces in directories'"

The parsing logic should pick that up and treat it as a single thing.
-Steve

-- 
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


Mime
View raw message