There's a host of useful command lines for start.jar.

Try these ...

Show the list of OPTIONS available on your system.
$ java -jar start.jar --list-options

Show the start.config in use on your system.
$ java -jar start.jar --list-config

Show the classpath in use on your system (as defined in the start.ini and
start.config)
$ java -jar start.jar --version


--
Joakim Erdfelt <[email protected]>
www.webtide.com
Developer advice, services and support
from the Jetty & CometD experts.



On Mon, Sep 17, 2012 at 3:05 PM, Gerrit Hübbers
<[email protected]>wrote:

> In reply to janb's "Re: [jetty-users] Jetty Maven Plugin: Which OPTION
> jars are activated by default?"
>
> Thanks Jan!
>
> Jan, you said "If it helps your understanding, you can kind of think
> of [mvn jetty:run starting up with options] as
> OPTIONS=Server,jsp,jmx,resources,websocket,plus,annotations,jta,jdbc"
>
> I've just checked with Jetty's current version (
> jetty-distribution-8.1.7.v20120910 ). There is no option named "jdbc"
>
> $ java -jar start.jar OPTIONS=jdbc
> java.lang.IllegalArgumentException: No such OPTIONS: jdbc
>         at
> org.eclipse.jetty.start.Config.getCombinedClasspath(Config.java:410)
>         at
> org.eclipse.jetty.start.Config.getActiveClasspath(Config.java:387)
>         at org.eclipse.jetty.start.Main.start(Main.java:509)
>         at org.eclipse.jetty.start.Main.main(Main.java:92)
>
>
> (... sorry, can't respond directly to janb's message for proper
> threading. I didn't receive an e-mail from Mailman,  [... and
> Message-ID isn't findable within Eclipse's mailing lists either...])
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to