Closed thomaska closed 9 years ago
@thomaska does it work if you just remove the escape characters? Like so:
java -jar diffy-server.jar \
-candidate="localhost:9992" \
-master.primary="localhost:9990" \
-master.secondary="localhost:9991" \
-service.protocol="http" \
-serviceName="My Service" \
-proxy.port=":31900" \
-admin.port=":31159" \
-http.port=":31149" \
-rootUrl="localhost:31149"
It should be fine to remove most of the quotes, but I'm surprised that it still works with -serviceName=My Service
.
The quotes are used for typical bash string concatenation, they shouldn't be passed to the program.
@thomaska Thanks for catching this bug. PR welcome. Care to do the honors and remove the unnecessary escapes?
I tried following the steps described in README.md to try out and test diffy,
but I would get MatchErrors when trying the command:
java -jar diffy-server.jar \ -candidate=\"localhost:9992\" \ -master.primary=\"localhost:9990\" \ -master.secondary=\"localhost:9991\" \ -service.protocol=\"http\" \ -serviceName=\"My Service\" \ -proxy.port=:31900 \ -admin.port=:31159 \ -http.port=:31149 \ -rootUrl='localhost:31149'
I had to remove the quotes along with the corresponding escape characters for it to work.I was using a terminal in OS X Yosemite, I don't know if that matters.