you could also take a look at winstone: http://winstone.sourceforge.net/
2011/3/7 Mauro Ciancio maurocian...@gmail.com
Hello all,
I'd like to create a jar with a wicket application inside that can be
run from the command line as it were a desktop application. I'm using
maven and jetty and it
To create a runnable .war file with just a maven plugin I used this tool:
http://simplericity.com/2009/11.html
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Run-a-standalone-wicket-app-tp3339521p3342507.html
Sent from the Users forum mailing list archive at
Hello all!
Nice replies, I really appreciate them.
I liked the maven plugin, that was exactly what i was looking for.
Winstone also looked like a good alternative.
Thanks for the replies.
Regards!
On Tue, Mar 8, 2011 at 9:02 PM, Nitnatsnok bestan...@gmail.com wrote:
To create a runnable .war
That is a more a jetty question. Research the server jetty classes.
...
import org.mortbay.jetty.Connector;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.bio.SocketConnector;
import org.mortbay.jetty.webapp.WebAppContext;
Server server = new Server();
server.start();
Have a look at the Wicket quickstart project under
src/test/java/com/mycompany/Start.java.
There is a main() method there that does exactly what you describe.
On 07/03/2011 12:34 PM, Brown, Berlin [GCG-PFS] wrote:
That is a more a jetty question. Research the server jetty classes.
...
if you want to use maven look for
mvn jetty:run
wicket-quickstart and wicket-examples are set up to run that way.
if you are looking for something like:
java -jar YourAppsName.war
the export function 'Runnable Jar File Export' might be something of help
mf
Am 07.03.2011 um 18:26 schrieb