Title: [511] trunk/rails-integration: We need to use a 2.3 web.xml for Tomcat 4 support
Revision
511
Author
tantalon
Date
2007-04-26 17:24:31 -0400 (Thu, 26 Apr 2007)

Log Message

We need to use a 2.3 web.xml for Tomcat 4 support
The samples should use unstable plugin by default

Modified Paths

Property Changed

Diff

Modified: trunk/rails-integration/plugins/war-snapshot/lib/create_war.rb (510 => 511)


--- trunk/rails-integration/plugins/war-snapshot/lib/create_war.rb	2007-04-26 21:13:36 UTC (rev 510)
+++ trunk/rails-integration/plugins/war-snapshot/lib/create_war.rb	2007-04-26 21:24:31 UTC (rev 511)
@@ -78,11 +78,9 @@
     def create_webxml
       require 'erb'
       template = <<END_OF_WEB_INF
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
-  version="2.4">
+<!DOCTYPE web-app PUBLIC
+  "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+  "http://java.sun.com/dtd/web-app_2_3.dtd">
 
 <context-param>
   <param-name>jruby.standalone</param-name>

Property changes: trunk/rails-integration/samples/helloworld-1.2.3/vendor/plugins


Name: svn:externals
   - war svn://rubyforge.org/var/svn/jruby-extras/trunk/rails-integration/plugins/war
   + war-snapshot svn://rubyforge.org/var/svn/jruby-extras/trunk/rails-integration/plugins/war-snapshot
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to