|
|
|
@ -535,6 +535,10 @@ On your application classpath (for example, inside your jar) you can have an `ap
|
|
|
|
|
When running in a new environment, an `application.properties` file can be provided outside of your jar that overrides the `name`.
|
|
|
|
|
For one-off testing, you can launch with a specific command line switch (for example, `java -jar app.jar --name="Spring"`).
|
|
|
|
|
|
|
|
|
|
TIP: The `env` and `configprops` endpoints can be useful in determining why a property has a particular value.
|
|
|
|
|
You can use these two endpoints to diagnose unexpected property values.
|
|
|
|
|
See the "<<production-ready-features.adoc#production-ready-endpoints, Production ready features>>" section for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[boot-features-external-config-command-line-args]]
|
|
|
|
|