that command line is invalid.
how about ...

> java -jar start.jar myapp.property=foo

if you want a list of properties managed in a file, create a
${jetty.base}/start.ini and put your properties in there. (skip the
start.d/*.ini use entirely)


--
Joakim Erdfelt <joa...@intalio.com>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Tue, May 6, 2014 at 4:27 PM, Tom Zeller <tzel...@dragonacea.biz> wrote:

> 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)
> _______________________________________________
> jetty-users mailing list
> jetty-users@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to