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