Title: [593] trunk/rails-integration/plugins/goldspike-snapshot/lib/create_war.rb: Added listener to web.xml, as its required by snapshot jar
Revision
593
Author
tantalon
Date
2007-05-18 20:49:39 -0400 (Fri, 18 May 2007)

Log Message

Added listener to web.xml, as its required by snapshot jar

Modified Paths


Diff

Modified: trunk/rails-integration/plugins/goldspike-snapshot/lib/create_war.rb (592 => 593)


--- trunk/rails-integration/plugins/goldspike-snapshot/lib/create_war.rb	2007-05-19 00:42:36 UTC (rev 592)
+++ trunk/rails-integration/plugins/goldspike-snapshot/lib/create_war.rb	2007-05-19 00:49:39 UTC (rev 593)
@@ -102,10 +102,13 @@
   <description>The files servlet should forward to the rails servlet if no file could be found</description>
 </context-param>
 
+<listener>
+  <listener-class>org.jruby.webapp.RailsContextListener</listener-class>
+</listener>
+
 <servlet>
   <servlet-name>rails</servlet-name>
   <servlet-class><%= config.servlet %></servlet-class>
-  <load-on-startup>1</load-on-startup>
 </servlet>
 <servlet>
   <servlet-name>files</servlet-name>
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to