You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our java application, the java process is contructing command for linux TFS command line client, for a collection URL having space, by escaping double quotes around TFS collection URL as,
An argument error occurred: Option 'collection' requires a full URL as its value: no protocol: "http://appserver:8080/tfs/default
Team Explorer Everywhere Command Line Client (version 14.134.0.201804261732)
Note: The same command issued to windows TFS command line client works.
So, it is observed that " (backSlash double quotes) sequence is not escaping the double quotes, instead it is treating as a literal.
Please let me know, is there any solution for this.
Thank you.
The text was updated successfully, but these errors were encountered:
On Windows, where the corresponding APIs are string-based (i.e. are taking a single strings instead of a list of strings), there's a standard command-line parsing convention, which will do the same transformation for you (e.g. your -collection:"http://appserver:8080/tfs/default collection" will became "-collection:http://appserver:8080/tfs/default collection" according to it). That's why it works for you on Windows, but not on Linux.
Hi,
In our java application, the java process is contructing command for linux TFS command line client, for a collection URL having space, by escaping double quotes around TFS collection URL as,
tf dir -login:username,Password! -collection:"http://appserver:8080/tfs/default collection" -recursive $/"test spaceNew"
The following is the error occured:
An argument error occurred: Option 'collection' requires a full URL as its value: no protocol: "http://appserver:8080/tfs/default
Team Explorer Everywhere Command Line Client (version 14.134.0.201804261732)
Note: The same command issued to windows TFS command line client works.
So, it is observed that " (backSlash double quotes) sequence is not escaping the double quotes, instead it is treating as a literal.
Please let me know, is there any solution for this.
Thank you.
The text was updated successfully, but these errors were encountered: