Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • ["bin/myapp", "-D", "config.resource=prod.conf"] and ["bin/myapp", "-Dconfig.resource=prod.conf"] are strictly equivalent.
    – didil
    Commented Apr 20, 2017 at 9:54
  • @didil Have you tried it? First should result in bin/myapp -D config.resource=prod.conf, the second will result in bin/myapp -Dconfig.resource=prod.conf.
    – Salem
    Commented Apr 20, 2017 at 9:58
  • yes I already tried it but I knew it was equivalent. the space after an option is always optional.
    – didil
    Commented Apr 20, 2017 at 10:02
  • Just to make sure: if you run inside the container /opt/docker/bin/myapp -D config.resource=prod.conf and /opt/docker/bin/myapp -Dconfig.resource=prod.conf you get the same error?
    – Salem
    Commented Apr 20, 2017 at 10:06