On 21/02/2013 15:11, Colm O hEigeartaigh wrote:
Hi Francesco,

Not correct: when you start

   "mvn -Pdev / mvn -Pjrebel" (under console/ in Syncope source tree)

the test web.xml is loaded that only differs from production web.xml for
the context-param mentioned above.
Not sure I understand - if I generate a new 1.1.0-SNAPSHOT project, then
console/src/main/webapp/WEB-INF/web.xml does not contain either a
development or deployment option by default. Whereas in a 1.0.5 project it
*does* contain this by default.

Exactly.

Just add

<context-param>
     <param-name>configuration</param-name>
     <param-value>development</param-value>
   </context-param>

to console/src/main/webapp/WEB-INF/web.xml if you want to start Wicket in development mode.

I was only pointing out that the development mode is still enabled by default when starting "mvn -Pdev / mvn -Pjrebel" under console/ in Syncope own source tree.

Regards.

On Thu, Feb 21, 2013 at 1:50 PM, Francesco Chicchiriccò <[email protected]
wrote:
On 21/02/2013 14:41, Colm O hEigeartaigh wrote:

Hi all,

In 1.0.x the Console web.xml had:

<context-param>
      <param-name>configuration</**param-name>
      <param-value>development</**param-value>
    </context-param>

This has been removed on trunk.

Not correct: when you start

   "mvn -Pdev / mvn -Pjrebel" (under console/ in Syncope source tree)

the test web.xml is loaded that only differs from production web.xml for
the context-param mentioned above.

If you want to enable the development mode for any generated project, just
do what the Wicket wiki suggests:


  How can I set the Wicket mode to
"deployment" on trunk? The Wicket FAQ has:

https://cwiki.apache.org/**WICKET/faqs.html<https://cwiki.apache.org/WICKET/faqs.html>

<init-param>
              <param-name>configuration</**param-name>
              <param-value>deployment</**param-value></init-param>

Regards.

--
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/

Reply via email to