Kaydet (Commit) 311babc0 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

gbuildify tomcat

Change-Id: Ibd7b71292450db8e3e98f9ede5a836182eb38770
üst d756f2a3
......@@ -157,6 +157,7 @@ swext\
tail_build\
test\
testtools\
tomcat\
toolkit\
tools\
touch\
......@@ -249,7 +250,6 @@ soltools\
stax\
stlport\
sysui\
tomcat\
xpdf\
zlib\
......
......@@ -592,6 +592,7 @@ export TELEPATHY_LIBS=@TELEPATHY_LIBS@
export THES_SYSTEM_DIR=@THES_SYSTEM_DIR@
@x_Cygwin@ export TMP=@TMP_DIRECTORY@
export TMPDIR=@TEMP_DIRECTORY@
export TOMCAT_TARBALL=@TOMCAT_TARBALL@
export TYPO_EXTENSION_PACK=@TYPO_EXTENSION_PACK@
export SYSTEM_UCPP=@SYSTEM_UCPP@
export UNIXWRAPPERNAME=@UNIXWRAPPERNAME@
......
......@@ -9702,6 +9702,7 @@ if test "$ENABLE_MEDIAWIKI" = "YES"; then
AC_MSG_RESULT([internal])
SYSTEM_SERVLETAPI=NO
BUILD_TYPE="$BUILD_TYPE TOMCAT"
TOMCAT_TARBALL="2a177023f9ea8ec8bd00837605c5df1b-jakarta-tomcat-5.0.30-src.tar.gz"
fi
fi
AC_SUBST(SYSTEM_SERVLETAPI)
......@@ -9972,6 +9973,7 @@ if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then
APACHE_COMMONS_HTTPCLIENT_TARBALL=2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz
APACHE_COMMONS_LANG_TARBALL=2ae988b339daec234019a7066f96733e-commons-lang-2.3-src.tar.gz
APACHE_COMMONS_LOGGING_TARBALL=3c219630e4302863a9a83d0efde889db-commons-logging-1.1.1-src.tar.gz
TOMCAT_TARBALL="2a177023f9ea8ec8bd00837605c5df1b-jakarta-tomcat-5.0.30-src.tar.gz"
BUILD_TYPE="$BUILD_TYPE APACHE_COMMONS TOMCAT"
fi
fi
......@@ -9984,6 +9986,7 @@ AC_SUBST(COMMONS_CODEC_JAR)
AC_SUBST(COMMONS_LANG_JAR)
AC_SUBST(COMMONS_HTTPCLIENT_JAR)
AC_SUBST(COMMONS_LOGGING_JAR)
AC_SUBST(TOMCAT_TARBALL)
# scripting provider for BeanShell extension?
AC_MSG_CHECKING([whether to build extension for support of scripts in BeanShell])
......
......@@ -10,7 +10,7 @@ c63f411b3ad147db2bcce1bf262a0e02-pixman-0.24.4.tar.bz2
24be19595acad0a2cae931af77a0148a-LICENSE_source-9.0.0.7-bj.html
26b3e95ddf3d9c077c480ea45874b3b8-lp_solve_5.5.tar.gz
284e768eeda0e2898b0d5bf7e26a016e-raptor-1.4.18.tar.gz
2a177023f9ea8ec8bd00837605c5df1b-jakarta-tomcat-5.0.30-src.tar.gz
@TOMCAT_TARBALL@
@APACHE_COMMONS_HTTPCLIENT_TARBALL@
@APACHE_COMMONS_LANG_TARBALL@
@FONT_LINLIBERTINEG_TARBALL@
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# for RSCREVISION
include $(SOLARENV)/inc/minor.mk
$(eval $(call gb_ExternalProject_ExternalProject,tomcat))
$(eval $(call gb_ExternalProject_use_unpacked,tomcat,tomcat))
$(eval $(call gb_ExternalProject_register_targets,tomcat,\
build \
))
$(call gb_ExternalProject_get_state_target,tomcat,build) :
cd "$(call gb_UnpackedTarball_get_dir,tomcat)/jakarta-servletapi-5" && \
"$(ANT)" \
-q \
-f build.xml \
-Dbuild.label="build-$(RSCREVISION)" \
$(if $(filter yes,$(JAVACISGCJ))\
,-Dbuild.compiler=gcj \
,-Dant.build.javac.source=$(JAVA_SOURCE_VER) \
-Dant.build.javac.target=$(JAVA_TARGET_VER) \
) \
$(if $(debug),-Dbuild.debug="on") \
&& \
touch $@
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
include $(module_directory)/../solenv/gbuild/partial_build.mk
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Module_Module,tomcat))
ifneq ($(SOLAR_JAVA),)
ifneq ($(filter TOMCAT,$(BUILD_TYPE)),)
$(eval $(call gb_Module_add_targets,tomcat,\
ExternalProject_tomcat \
Package_tomcat \
UnpackedTarball_tomcat \
))
endif
endif
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Package_Package,tomcat_inc,$(call gb_UnpackedTarball_get_dir,tomcat)))
$(eval $(call gb_Package_use_external_project,tomcat_inc,tomcat))
$(eval $(call gb_Package_add_file,tomcat_inc,bin/servlet-api.jar,jakarta-servletapi-5/jsr154/dist/lib/servlet-api.jar))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_UnpackedTarball_UnpackedTarball,tomcat))
$(eval $(call gb_UnpackedTarball_set_tarball,tomcat,$(TOMCAT_TARBALL)))
$(eval $(call gb_UnpackedTarball_add_file,tomcat,jakarta-servletapi-5/build.xml,tomcat/build.xml))
# vim: set noet sw=4 ts=4:
<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>
to tomcat : solenv NULL
to tomcat nmake - all to_mkout NULL
to tomcat/prj nmake - all to_prj NULL
..\%__SRC%\misc\build\jakarta-tomcat-5.0.30-src\jakarta-servletapi-5\jsr154\dist\lib\servlet-api.jar %_DEST%\bin\servlet-api.jar
--- 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>
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