You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by HHB <hu...@yahoo.ca> on 2009/02/08 14:49:13 UTC
Why Wicket application contains maven-jetty-plugin?
Hey,
Why POM of a Wicket skeleton application contains maven-jetty-plugin?
Thanks.
--
View this message in context: http://www.nabble.com/Why-Wicket-application-contains-maven-jetty-plugin--tp21899056p21899056.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Why Wicket application contains maven-jetty-plugin?
Posted by Timo Rantalaiho <Ti...@ri.fi>.
On Sun, 08 Feb 2009, HHB wrote:
> Does maven-jetty-plugin getting used when we run Wicket tests (WicketTester),
> you know, integration tests?
No, WicketTester is for testing the component code in a more
unit-test like fashion [1], without running it in a
container.
But if you do some whitebox / functional / in-container
style tests with e.g. WebDriver (or Selenium), you can use
the Jetty plugin to start the application for running the
tests again it.
[1] Strictly speaking WicketTester tests aren't unit tests
because the use the file system and parse XML and are a bit
slower than "real" unit tests
http://www.artima.com/weblogs/viewpost.jsp?thread=126923
but the difference doesn't usually matter until you have
hundreds or thousands of tests.
Best wishes,
Timo
--
Timo Rantalaiho
Reaktor Innovations Oy <URL: http://www.ri.fi/ >
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Why Wicket application contains maven-jetty-plugin?
Posted by HHB <hu...@yahoo.ca>.
Does maven-jetty-plugin getting used when we run Wicket tests (WicketTester),
you know, integration tests?
Timo Rantalaiho wrote:
>
> On Sun, 08 Feb 2009, HHB wrote:
>> Why POM of a Wicket skeleton application contains maven-jetty-plugin?
>
> To be able to run your application from the command line
> with
>
> mvn jetty:run
>
> in the cases when that makes more sense than running a
> Jetty.java or something such from the IDE.
>
> Best wishes,
> Timo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Why-Wicket-application-contains-maven-jetty-plugin--tp21899056p21899254.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Why Wicket application contains maven-jetty-plugin?
Posted by Timo Rantalaiho <Ti...@ri.fi>.
On Sun, 08 Feb 2009, HHB wrote:
> Why POM of a Wicket skeleton application contains maven-jetty-plugin?
To be able to run your application from the command line
with
mvn jetty:run
in the cases when that makes more sense than running a
Jetty.java or something such from the IDE.
Best wishes,
Timo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org