Our approuch for that is to set the property to "deployment" in the
web.xml_always_
And add the property -Dwicket.configuration=development to tomcat launcher.
I never used the maven resource filtering plugin, but from my zero
experience i see that i must write my web.xml with the variable
Then, define the wicket mode.
<init-param>
<param-name>configuration</param-name>
<param-value>$WICKET_MODE</param-value>
</init-param>
This wont work in my dev enviroment, or am i getting everything wrong? =P
Thanks!
Juan
On Fri, Feb 29, 2008 at 12:06 AM, James Carman <[EMAIL PROTECTED]>
wrote:
> On 2/28/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > see maven resource filtering
>
> WOW! I was using the ant plugin to do this! This will save me
> sooooooo much headache.
>
> Thanks, Igor.
>
> >
> >
> > -igor
> >
> >
> >
> > On Thu, Feb 28, 2008 at 12:15 PM, Doug Leeper <[EMAIL PROTECTED]>
> wrote:
> > >
> > > This is slightly off topic but it has todo with our wicket app and
> utilizing
> > > maven to create the builds.
> > >
> > > Maven is new to us and slightly understand the profiling concept in
> maven
> > > but not sure how to the following...on our production build, we
> would like
> > > to have the web.xml "configuration" setting changed from development
> to
> > > production without checking out and manually modifying before
> building.
> > >
> > > Is there any easy way to do this in maven or do we have have set the
> java
> > > runtime parameter -Dwicket.configuration=production
> > >
> > > Any suggestion or best practice?
> > >
> > > TIA,
> > >
> > > - Doug
> > >
> > >
> > > --
> > > View this message in context:
> http://www.nabble.com/OT%3A-Wicket-web.xml-configuration-settings-and-maven-tp15744999p15744999.html
> > > Sent from the Wicket - User mailing list archive at Nabble.com.
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>