Re: Interpolating variables inside web.xml

2013-04-20 Thread Dan Retzlaff
No, sorry. I'm familiar with Spring's PropertyPlaceholderConfigurer, but that only pulls properties into context definitions. The deployment descriptor lives outside of that, so that approach does not make sense to me. On Sat, Apr 20, 2013 at 5:30 AM, Leonardo D'Alimonte < leonardo.dalimo...@logi

Re: Interpolating variables inside web.xml

2013-04-20 Thread Leonardo D'Alimonte
Actually we have another WebApplication integrated with Spring where used successfully this interpolation mechanism, unfortunately I can't find the exact place where this behaviour is coded inside the webapp. Do you have any idea where i can look inside the xml's configuration? -- View this mes

Re: Interpolating variables inside web.xml

2013-04-19 Thread Dan Retzlaff
Oops, premature send. :) No, I don't think it can interpolate a deployment descriptor. I'd look into specifying a custom application factory that uses whatever strategy you want. See WicketFilter for details. I haven't used Spring for web stuff in years. With Guice it's easy to use a custom Wicket

Re: Interpolating variables inside web.xml

2013-04-19 Thread Dan Retzlaff
No, I don'It can't interpolate a deployment descriptor. On Fri, Apr 19, 2013 at 1:17 AM, Leonardo D'Alimonte < leonardo.dalimo...@loginet.it> wrote: > Hey Dan, > > Maven War plugin is working fine as you suggested, it interpolates the > ${wicket.configuration} variable correctly. > I would like

Re: Interpolating variables inside web.xml

2013-04-19 Thread Leonardo D'Alimonte
Hey Dan, Maven War plugin is working fine as you suggested, it interpolates the ${wicket.configuration} variable correctly. I would like to see the same magic also when I launch the mvn jetty:run command, so that using maven profiles i can change the configuration of Wicket (6.6.0) when I run my W

Re: Interpolating variables inside web.xml

2013-04-18 Thread Maxim Solodovnik
Hello, I'm using ant: https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/build.xml copy ant task with do the job On Thu, Apr 18, 2013 at 11:23 PM, Leonardo D'Alimonte < leonardo.dalimo...@loginet.it> wrote: > Hi everybody, > > I'm trying to set the "wicket.configuration" propert

Re: Interpolating variables inside web.xml

2013-04-18 Thread Dan Retzlaff
If you're using maven-war-plugin, you probably need to enable filtering of deployment descriptors. http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#filteringDeploymentDescriptors On Thu, Apr 18, 2013 at 9:23 AM, Leonardo D'Alimonte < leonardo.dalimo...@loginet.it> wrote: > Hi every

Interpolating variables inside web.xml

2013-04-18 Thread Leonardo D'Alimonte
Hi everybody, I'm trying to set the "wicket.configuration" property inside web.xml of my new WebApplication. The way I'm trying this is interpolating a ${wicket.configuration} variable with this snippet: .. configuration ${wi