summaryrefslogtreecommitdiff
path: root/tomcat
diff options
context:
space:
mode:
Diffstat (limited to 'tomcat')
-rwxr-xr-xtomcat/makefile.mk69
-rwxr-xr-xtomcat/prj/build.lst2
-rwxr-xr-xtomcat/prj/d.lst1
-rw-r--r--tomcat/tomcat.patch35
4 files changed, 107 insertions, 0 deletions
diff --git a/tomcat/makefile.mk b/tomcat/makefile.mk
new file mode 100755
index 000000000000..b440e8465feb
--- /dev/null
+++ b/tomcat/makefile.mk
@@ -0,0 +1,69 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+PRJ=.
+
+PRJNAME=tomacat
+TARGET=servlet
+
+.IF "$(SOLAR_JAVA)" != ""
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+.INCLUDE : antsettings.mk
+
+# --- Files --------------------------------------------------------
+
+TARFILE_NAME=jakarta-tomcat-5.0.30-src
+TARFILE_MD5=2a177023f9ea8ec8bd00837605c5df1b
+
+TARFILE_ROOTDIR=jakarta-tomcat-5.0.30-src
+
+ADDITIONAL_FILES = jakarta-servletapi-5/build.xml
+#CONVERTFILES=build$/build.xml
+
+PATCH_FILES=tomcat.patch
+
+BUILD_DIR=jakarta-servletapi-5
+
+.IF "$(JAVACISGCJ)"=="yes"
+BUILD_ACTION=$(ANT)
+.ELSE
+BUILD_ACTION=$(ANT) -Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER)
+.ENDIF
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : set_ext.mk
+.INCLUDE : target.mk
+
+.INCLUDE : tg_ext.mk
+
+.ELSE
+@all:
+ @echo java disabled
+.ENDIF
diff --git a/tomcat/prj/build.lst b/tomcat/prj/build.lst
new file mode 100755
index 000000000000..184f6dd19b3e
--- /dev/null
+++ b/tomcat/prj/build.lst
@@ -0,0 +1,2 @@
+to tomcat : solenv NULL
+to tomcat nmake - all to_mkout NULL
diff --git a/tomcat/prj/d.lst b/tomcat/prj/d.lst
new file mode 100755
index 000000000000..825601e3b2ad
--- /dev/null
+++ b/tomcat/prj/d.lst
@@ -0,0 +1 @@
+..\%__SRC%\misc\build\jakarta-tomcat-5.0.30-src\jakarta-servletapi-5\jsr154\dist\lib\servlet-api.jar %_DEST%\bin%_EXT%\servlet-api.jar
diff --git a/tomcat/tomcat.patch b/tomcat/tomcat.patch
new file mode 100644
index 000000000000..1815660b1b5b
--- /dev/null
+++ b/tomcat/tomcat.patch
@@ -0,0 +1,35 @@
+--- misc/jakarta-tomcat-5.0.30-src/jakarta-servletapi-5/build.xml Thu Jun 19 16:03:59 2008
++++ misc/build/jakarta-tomcat-5.0.30-src/jakarta-servletapi-5/build.xml Thu Jun 19 15:56:18 2008
+@@ -1,1 +1,31 @@
+-dummy
++<project name="jsr152 and jsr154 in Debian" default="debuild" basedir=".">
++
++ <target name="debuild"
++ description="Build jsr154 and jsr152 for Debian (Default)">
++ <echo message="Building Servlet 2.4 API"/>
++ <ant antfile="jsr154/build.xml"
++ target="dist"
++ inheritAll="false"
++ />
++ <echo message="Building JSP 2.0 API"/>
++ <ant antfile="jsr152/build.xml"
++ target="dist"
++ inheritAll="false"
++ />
++ </target>
++
++ <target name="clean" description="Clean">
++ <echo message="Cleaning JSP 2.0 API"/>
++ <ant antfile="jsr152/build.xml"
++ target="clean"
++ inheritAll="false"
++ />
++ <echo message="Cleaning Servlet 2.4 API"/>
++ <ant antfile="jsr154/build.xml"
++ target="clean"
++ inheritAll="false"
++ />
++ <delete dir="tmp"/>
++ </target>
++
++</project>