On 11/27/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > We could add to the quickstart project's pom a filter that alters the
> > mode from development to deployment when a war is built.
> But why not make deployment the default. Really, that makes so much
> more sense to me.

Because then you have to restart everytime you have altered a HTML,
css, js, or properties file. Another thing is that you loose any
debugging tools you have installed. Deployment is only needed when you
package into a war. The quickstart is mainly used for development, and
therefore it is very reasonable to make the default development, until
you package your application.

Making this seamless in the building procedure is something that we
can do, but hampering development just because of plain stupidity is
not something I would like to enforce. If you enforce deployment as a
default people will go around it, ask questions on the list and look
at other frameworks because we don't have an easy development mode.

So the proposal is: set development mode in the web.xml for
quickstart. If *no* mode is set, then the default will be deployment.
When the application is packaged for war, using maven (or ant?) then
we will filter the property and make it deployment.

This way we cover the basics: development from the IDE is still
development, and building the package (WAR) will choose deployment as
a default.

Martijn

-- 
<a href="http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote</a>
for <a href="http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket</a>
at the <a href="http://www.thebeststuffintheworld.com/";>Best Stuff in
the World!</a>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to