Author: solomax
Date: Wed Sep 19 08:56:19 2012
New Revision: 1387496

URL: http://svn.apache.org/viewvc?rev=1387496&view=rev
Log:
Wicket "mode switcher" is added to the build

Modified:
    incubator/openmeetings/trunk/singlewebapp/WebContent/WEB-INF/web.xml
    incubator/openmeetings/trunk/singlewebapp/build.properties
    incubator/openmeetings/trunk/singlewebapp/build.xml

Modified: incubator/openmeetings/trunk/singlewebapp/WebContent/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/WEB-INF/web.xml?rev=1387496&r1=1387495&r2=1387496&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/WebContent/WEB-INF/web.xml 
(original)
+++ incubator/openmeetings/trunk/singlewebapp/WebContent/WEB-INF/web.xml Wed 
Sep 19 08:56:19 2012
@@ -74,6 +74,10 @@
                        <param-name>applicationClassName</param-name>
                        
<param-value>org.apache.openmeetings.web.app.Application</param-value>
                </init-param>
+               <init-param>
+                       <param-name>configuration</param-name>
+                       <param-value>@wicket.mode@</param-value>
+               </init-param>
        </filter>
        <filter-mapping>
                <filter-name>OpenmeetingsApplication</filter-name>

Modified: incubator/openmeetings/trunk/singlewebapp/build.properties
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/build.properties?rev=1387496&r1=1387495&r2=1387496&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/build.properties (original)
+++ incubator/openmeetings/trunk/singlewebapp/build.properties Wed Sep 19 
08:56:19 2012
@@ -4,4 +4,5 @@ ivy.install.version=2.3.0-rc1
 red5.server.revision=4414
 red5.client.revision=4414
 laszlo.proxied=solo
+wicket.mode=DEVELOPMENT
 db=derby

Modified: incubator/openmeetings/trunk/singlewebapp/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/build.xml?rev=1387496&r1=1387495&r2=1387496&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/build.xml (original)
+++ incubator/openmeetings/trunk/singlewebapp/build.xml Wed Sep 19 08:56:19 2012
@@ -209,7 +209,8 @@
                                <include name="*.html" />
                        </fileset>
                </copy>
-               <copy todir="${dist.webapps.dir}/WEB-INF">
+               <filter token="wicket.mode" value="${wicket.mode}" />
+               <copy todir="${dist.webapps.dir}/WEB-INF" filtering="true">
                        <fileset dir="${webcontent.src.dir}/WEB-INF">
                                <include name="*.xml" />
                                <include name="*.properties" />


Reply via email to