db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: rev 47613 - in incubator/derby/code/trunk: . tools/j2ee tools/j2ee/derby tools/j2ee/derby/WEB-INF
Date Thu, 30 Sep 2004 22:54:54 GMT
Author: kmarsden
Date: Thu Sep 30 15:54:53 2004
New Revision: 47613

Added:
   incubator/derby/code/trunk/tools/j2ee/
   incubator/derby/code/trunk/tools/j2ee/derby/
   incubator/derby/code/trunk/tools/j2ee/derby/WEB-INF/
   incubator/derby/code/trunk/tools/j2ee/derby/WEB-INF/web.xml
Modified:
   incubator/derby/code/trunk/build.xml
Log:
Add derby war file build



Modified: incubator/derby/code/trunk/build.xml
==============================================================================
--- incubator/derby/code/trunk/build.xml	(original)
+++ incubator/derby/code/trunk/build.xml	Thu Sep 30 15:54:53 2004
@@ -467,8 +467,8 @@
 <!--                               Jar targets                           -->
 <!-- =================================================================== -->
 
-  <target name="buildjarsclean" depends="cleanjars,initjars,derbyjar,derbytoolsjar,derbynetjar"/>
-  <target name="buildjars" depends="initjars,derbyjar,derbytoolsjar,derbynetjar"/>
+  <target name="buildjarsclean" depends="cleanjars,initjars,derbyjar,derbytoolsjar,derbynetjar,derbywar"/>
+  <target name="buildjars" depends="initjars,derbyjar,derbytoolsjar,derbynetjar,derbywar"/>
 
   <target name="initjars" depends="setsanityname,getsvnversion">
     <property name="derby.jar.dir" value="${basedir}/jars/${sanity.name}"/>
@@ -692,6 +692,14 @@
                          org/apache/derby/info/net.properties"/>
     </jar>
 
+  </target>
+
+<!-- - - - - - - - - - - - - - derby.war target - - - - - - - - - - - -->
+ <target name="derbywar" depends="initjars">
+
+    <echo message="Beginning derby.war  build"/>
+    <delete file="${derby.jar.dir}/derby.war"/>
+    <zip zipfile="${derby.jar.dir}/derby.war" compress="true" basedir="tools/j2ee/derby"/>
   </target>
 
 <!-- - - - - - - - - - - -  jar build helper targets  - - - - - - - - - -->

Added: incubator/derby/code/trunk/tools/j2ee/derby/WEB-INF/web.xml
==============================================================================
--- (empty file)
+++ incubator/derby/code/trunk/tools/j2ee/derby/WEB-INF/web.xml	Thu Sep 30 15:54:53 2004
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE web-app PUBLIC
+	"-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
+	"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
+
+<web-app id = "DERBYNET_ID">
+
+<display-name>Apache Derby Network Server</display-name>
+<description> Apache Network Server Administration </description>
+
+<servlet>
+	<servlet-name> derbynet </servlet-name>
+	<servlet-class> org.apache.derby.drda.NetServlet </servlet-class>
+	<init-param>
+	  <param-name>  startNetworkServerOnInit </param-name>
+	  <param-value> true </param-value>
+	  <description> Starts the Network Server at servlet 
+				initialization if 'true'. </description>
+	</init-param>
+	<init-param>
+	  <param-name>  portNumber </param-name>
+	  <param-value> 1527 </param-value>
+	  <description> Port number to use. The default is 1527. </description>
+	</init-param>
+	<init-param>
+	  <param-name>  tracingDirectory </param-name>
+	  <param-value></param-value>
+	  <description> Port number to use. The default is 1527. </description>
+	</init-param>
+</servlet>
+
+<servlet-mapping>
+	<servlet-name> derbynet </servlet-name>
+	<url-pattern> /derbynet </url-pattern>
+</servlet-mapping>
+
+<welcome-file-list>
+     <welcome-file>/derbynet</welcome-file>
+</welcome-file-list>
+
+</web-app>

Mime
View raw message