I'd second that - I did propose something similar in the post "Runner
for wicket-examples?" a couple of weeks ago, but it looked as if there
were some re-organisations going on in CVS, so it slipped through the
cracks and I've not had time to get back to Wicket & follow up!
Gwyn
On Sat, 5 Mar 2005 17:51:44 +1000, Cameron Braid <[EMAIL PROTECTED]> wrote:
>
>
>
> To simplify of running the Example Application â to make it easier for
> wicket newbs (like me) to checkout from cvs, and run or debug the example
> app.
>
>
>
>
>
> Can the following method be added to
> wicket.examples.WicketExampleApplication
>
>
> This was based QuickStartApplication.main(String[])
>
>
>
>
>
> /** Logging */
>
> private static final Log log =
> LogFactory.getLog(WicketExampleApplication.class);
>
>
>
> /**
>
> * Main function, starts the jetty server.
>
> *
>
> * @param args
>
> */
>
> public static void main(String[] args)
>
> {
>
> Server jettyServer = null;
>
> try
>
> {
>
> URL jettyConfig = new
> URL("file:src/etc/jetty-config.xml");
>
> if (jettyConfig == null)
>
> {
>
> log.fatal("Unable to locate jetty-test-config.xml on
> the classpath");
>
> }
>
> jettyServer = new Server(jettyConfig);
>
> jettyServer.start();
>
> }
>
> catch (Exception e)
>
> {
>
> log.fatal("Could not start the Jetty server: " + e);
>
> if (jettyServer != null)
>
> {
>
> try
>
> {
>
> jettyServer.stop();
>
> }
>
> catch (InterruptedException e1)
>
> {
>
> log.fatal("Unable to stop the jetty server: "
> + e1);
>
> }
>
> }
>
> }
>
> }
>
>
>
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop