Commit 05782899 authored by Derek DeMoro's avatar Derek DeMoro Committed by derek

Added DWR to Wildfire.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4110 b35dd754-fafc-0310-a699-88a17e54d16e
parent 4907c91f
...@@ -491,6 +491,10 @@ ...@@ -491,6 +491,10 @@
toFile="${webapp.dest.dir}/WEB-INF/sitemesh.xml" toFile="${webapp.dest.dir}/WEB-INF/sitemesh.xml"
overwrite="true"> overwrite="true">
</copy> </copy>
<copy file="${web.dir}/WEB-INF/dwr.xml"
toFile="${webapp.dest.dir}/WEB-INF/dwr.xml"
overwrite="true">
</copy>
<!-- Create a jar of compiled servlets --> <!-- Create a jar of compiled servlets -->
<jar jarfile="${jspc.dest.dir}/${jspc.jar.name}"> <jar jarfile="${jspc.dest.dir}/${jspc.jar.name}">
......
...@@ -23,7 +23,8 @@ ...@@ -23,7 +23,8 @@
<filter-class>org.jivesoftware.admin.AuthCheckFilter</filter-class> <filter-class>org.jivesoftware.admin.AuthCheckFilter</filter-class>
<init-param> <init-param>
<param-name>excludes</param-name> <param-name>excludes</param-name>
<param-value>login.jsp,index.jsp?logout=true,setup/index.jsp,setup/setup-,.gif,.png,error-serverdown.jsp</param-value> <param-value>
login.jsp,index.jsp?logout=true,setup/index.jsp,setup/setup-,.gif,.png,error-serverdown.jsp</param-value>
</init-param> </init-param>
</filter> </filter>
...@@ -98,6 +99,16 @@ ...@@ -98,6 +99,16 @@
<load-on-startup>1</load-on-startup> <load-on-startup>1</load-on-startup>
</servlet> </servlet>
<servlet>
<servlet-name>dwr-invoker</servlet-name>
<servlet-class>uk.ltd.getahead.dwr.DWRServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
<!--@@JSPC-SERVLETS@@--> <!--@@JSPC-SERVLETS@@-->
<servlet-mapping> <servlet-mapping>
...@@ -110,6 +121,12 @@ ...@@ -110,6 +121,12 @@
<url-pattern>/getFavicon</url-pattern> <url-pattern>/getFavicon</url-pattern>
</servlet-mapping> </servlet-mapping>
<servlet-mapping>
<servlet-name>dwr-invoker</servlet-name>
<url-pattern>/dwr/*</url-pattern>
</servlet-mapping>
<jsp-config> <jsp-config>
<taglib> <taglib>
<taglib-uri>admin</taglib-uri> <taglib-uri>admin</taglib-uri>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment