Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] How to pass property files not in start.d to start.jar ?

Hi,

According to the documentation [1], it should be possible to pass a
properties file located at an arbitrary path to start.jar, but this
does not seem to be the case :

 > java -jar start.jar app.properties
 Unrecognized argument: "app.properties" in <command-line>

It looks like command line args are not passed in totality from
StartArgs to XmlConfiguration.

Is there a way to source properties for use in <Property /> elements
from a properties file at an arbitrary path (not in start.d) ?

Thanks,
Tom

[1] http://www.eclipse.org/jetty/documentation/9.1.2.v20140210/jetty-xml-usage.html
(Setting Parameters in Configuration Files)


Back to the top