History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1598
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Michael Nicolai-Deutschmann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Using quotes on arguments without spacing

Created: 29/Mar/13 08:22 AM   Updated: 29/Mar/13 08:24 AM
Return to search
Component/s: None
Affects Version/s: 5.0.14
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: All


 Description  « Hide
Hi,

I'm currently having the following problem/question:

In a Shell/Batch command build step, I would like to execute this:

"C:\\Program Files (x86)\\VBP Updater\\VBPUpdater.exe" -c"C:\\SVN\\svn\\AutomatedBuild\\AutomatedBuild 2.0\\VBPUpdaterBinaryCompatibilitytrue.ini" "C:\\SVN\\svn\\AutomationSuite\\src\\License\\ObjectHandler\\CtHandler.vbp.template"

When I run the config, I get an error message:

Failed to run command: "C:\Program Files (x86)\VBP Updater\VBPUpdater.exe" "-cC:\SVN\svn\AutomatedBuild\AutomatedBuild 2.0\VBPUpdaterBinaryCompatibilitytrue.ini" C:\SVN\svn\AutomationSuite\src\License\ObjectHandler\CtHandler.vbp.template

The problem is, that the command line switch "-c" is INSIDE the double quotes: "-cC:\SVN\svn\..."

This is wrong. What I would like to achieve is:

"C:\Program Files (x86)\VBP Updater\VBPUpdater.exe" -c"C:\SVN\svn\AutomatedBuild\AutomatedBuild 2.0\VBPUpdaterBinaryCompatibilitytrue.ini" C:\SVN\svn\AutomationSuite\src\License\ObjectHandler\CtHandler.vbp.template

When I put a space between -c and "C:\...", I get

Failed to run command: "C:\Program Files (x86)\VBP Updater\VBPUpdater.exe" -c "C:\SVN\svn\AutomatedBuild\AutomatedBuild 2.0\VBPUpdaterBinaryCompatibilitytrue.ini" C:\SVN\svn\AutomationSuite\src\License\ObjectHandler\CtHandler.vbp.template

Now the quotes are AFTER the "-c" (which is somewhat correct, but the space char is unwanted).

How can I resolve this issue?

Greetings,
Michael

 All   Comments   Work Log   Change History      Sort Order:
No work has yet been logged on this issue.