diff options
Diffstat (limited to 'apache-commons')
-rw-r--r-- | apache-commons/java/codec/makefile.mk | 74 | ||||
-rw-r--r-- | apache-commons/java/httpclient/makefile.mk | 79 | ||||
-rw-r--r-- | apache-commons/java/lang/makefile.mk | 76 | ||||
-rw-r--r-- | apache-commons/java/logging/makefile.mk | 78 | ||||
-rw-r--r-- | apache-commons/patches/codec.patch | 17 | ||||
-rw-r--r-- | apache-commons/patches/logging.patch | 15 | ||||
-rw-r--r-- | apache-commons/prj/build.lst | 6 | ||||
-rw-r--r-- | apache-commons/prj/d.lst | 5 |
8 files changed, 350 insertions, 0 deletions
diff --git a/apache-commons/java/codec/makefile.mk b/apache-commons/java/codec/makefile.mk new file mode 100644 index 000000000000..6976731477de --- /dev/null +++ b/apache-commons/java/codec/makefile.mk @@ -0,0 +1,74 @@ +#************************************************************************* +# +# 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=apache-commons +TARGET=commons-codec + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +# override buildfile +ANT_BUILDFILE=build.xml + +.INCLUDE : antsettings.mk + +.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES" +# --- Files -------------------------------------------------------- + +TARFILE_NAME=commons-codec-1.3-src +TARFILE_MD5=af3c3acf618de6108d65fcdc92b492e1 + +TARFILE_ROOTDIR=commons-codec-1.3 + +PATCH_FILES=$(PRJ)$/patches$/codec.patch + +#CONVERTFILES=build.xml + +OUT2CLASS=dist$/commons-codec-1.3.jar + +.IF "$(JAVACISGCJ)"=="yes" +JAVA_HOME= +.EXPORT : JAVA_HOME +BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar +.ELSE +BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar +.ENDIF + +.ENDIF # $(SOLAR_JAVA)!= "" + +# --- Targets ------------------------------------------------------ + +.INCLUDE : set_ext.mk +.INCLUDE : target.mk + +.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES" +.INCLUDE : tg_ext.mk +.ENDIF + diff --git a/apache-commons/java/httpclient/makefile.mk b/apache-commons/java/httpclient/makefile.mk new file mode 100644 index 000000000000..6e05150c7c20 --- /dev/null +++ b/apache-commons/java/httpclient/makefile.mk @@ -0,0 +1,79 @@ +#************************************************************************* +# +# 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=apache-commons +TARGET=commons-httpclient + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +# override buildfile +ANT_BUILDFILE=build.xml + +.INCLUDE : antsettings.mk + +TAR!:=$(GNUTAR) + +.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES" +# --- Files -------------------------------------------------------- + +TARFILE_NAME=commons-httpclient-3.1-src +TARFILE_MD5=2c9b0f83ed5890af02c0df1c1776f39b + +TARFILE_ROOTDIR=commons-httpclient-3.1 + +#PATCH_FILES=$(PRJ)$/patches$/httpclient.patch + +#CONVERTFILES=build.xml + +OUT2CLASS=dist$/commons-httpclient.jar + +COMMONS_LOGGING_JAR=..$/..$/..$/..$/$(INPATH)$/class$/commons-logging-1.1.1-SNAPSHOT.jar +COMMONS_CODEC_JAR=..$/..$/..$/..$/$/$(INPATH)$/class$/commons-codec-1.3.jar + +.IF "$(JAVACISGCJ)"=="yes" +JAVA_HOME= +.EXPORT : JAVA_HOME +BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -Dcommons-logging.jar=$(COMMONS_LOGGING_JAR) -Dcommons-codec.jar=$(COMMONS_CODEC_JAR) -f $(ANT_BUILDFILE) dist +.ELSE +BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dcommons-logging.jar=$(COMMONS_LOGGING_JAR) -Dcommons-codec.jar=$(COMMONS_CODEC_JAR) -f $(ANT_BUILDFILE) dist +.ENDIF + +.ENDIF # $(SOLAR_JAVA)!= "" + +# --- Targets ------------------------------------------------------ + +.INCLUDE : set_ext.mk +.INCLUDE : target.mk + +.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES" +.INCLUDE : tg_ext.mk +.ENDIF + diff --git a/apache-commons/java/lang/makefile.mk b/apache-commons/java/lang/makefile.mk new file mode 100644 index 000000000000..0bf15d0020ce --- /dev/null +++ b/apache-commons/java/lang/makefile.mk @@ -0,0 +1,76 @@ +#************************************************************************* +# +# 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=apache-commons +TARGET=commons-lang + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +# override buildfile +ANT_BUILDFILE=build.xml + +.INCLUDE : antsettings.mk + +TAR!:=$(GNUTAR) + +.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES" +# --- Files -------------------------------------------------------- + +TARFILE_NAME=commons-lang-2.3-src +TARFILE_MD5=2ae988b339daec234019a7066f96733e + +TARFILE_ROOTDIR=commons-lang-2.3-src + +#PATCH_FILES=$(PRJ)$/patches$/logging.patch + +#CONVERTFILES=build.xml + +OUT2CLASS=dist$/commons-lang-2.3.jar + +.IF "$(JAVACISGCJ)"=="yes" +JAVA_HOME= +.EXPORT : JAVA_HOME +BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar +.ELSE +BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar +.ENDIF + +.ENDIF # $(SOLAR_JAVA)!= "" + +# --- Targets ------------------------------------------------------ + +.INCLUDE : set_ext.mk +.INCLUDE : target.mk + +.IF "$(SOLAR_JAVA)" != "" && "$(ENABLE_MEDIAWIKI)" == "YES" +.INCLUDE : tg_ext.mk +.ENDIF + diff --git a/apache-commons/java/logging/makefile.mk b/apache-commons/java/logging/makefile.mk new file mode 100644 index 000000000000..5df8c34dde3a --- /dev/null +++ b/apache-commons/java/logging/makefile.mk @@ -0,0 +1,78 @@ +#************************************************************************* +# +# 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=apache-commons +TARGET=commons-logging + +# --- Settings ----------------------------------------------------- + +.INCLUDE : settings.mk + +# override buildfile +ANT_BUILDFILE=build.xml + +.INCLUDE : antsettings.mk + +.IF "$(SOLAR_JAVA)" != "" && ( "$(ENABLE_MEDIAWIKI)" == "YES" || "$(ENABLE_REPORTBUILDER)" == "YES" ) +# --- Files -------------------------------------------------------- + +TARFILE_NAME=commons-logging-1.1.1-src +TARFILE_MD5=3c219630e4302863a9a83d0efde889db + +TARFILE_ROOTDIR=commons-logging-1.1.1-src + +PATCH_FILES=$(PRJ)$/patches$/logging.patch + +CONVERTFILES=build.xml + +OUT2CLASS=target$/commons-logging-1.1.1-SNAPSHOT.jar + +.IF "$(SYSTEM_TOMCAT)" != "YES" +SERVLETAPI_JAR := $(SOLARVER)$/$(INPATH)$/bin$(UPDMINOREXT)$/servlet-api.jar +.ENDIF + +.IF "$(JAVACISGCJ)"=="yes" +JAVA_HOME= +.EXPORT : JAVA_HOME +BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -Dservletapi.jar=$(SERVLETAPI_JAR) -f $(ANT_BUILDFILE) compile build-jar +.ELSE +BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) -Dservletapi.jar=$(SERVLETAPI_JAR) compile build-jar +.ENDIF + +.ENDIF # $(SOLAR_JAVA)!= "" + +# --- Targets ------------------------------------------------------ + +.INCLUDE : set_ext.mk +.INCLUDE : target.mk + +.IF "$(SOLAR_JAVA)" != "" && ( "$(ENABLE_MEDIAWIKI)" == "YES" || "$(ENABLE_REPORTBUILDER)" == "YES" ) +.INCLUDE : tg_ext.mk +.ENDIF + diff --git a/apache-commons/patches/codec.patch b/apache-commons/patches/codec.patch new file mode 100644 index 000000000000..dea25ad263d2 --- /dev/null +++ b/apache-commons/patches/codec.patch @@ -0,0 +1,17 @@ +--- misc/build/commons-codec-1.3/build.xml-old 2008-01-31 15:28:58.000000000 +0100 ++++ misc/build/commons-codec-1.3/build.xml 2008-01-31 15:29:21.000000000 +0100 +@@ -90,14 +90,12 @@ + </target>
+ <target name="dist" depends="compile,javadoc" description="Create binary distribution">
+ <mkdir dir="${dist.home}"/>
+- <copy file="../LICENSE" todir="${dist.home}"/>
+ <copy file="${basedir}/RELEASE-NOTES.txt" todir="${dist.home}"/>
+ <antcall target="jar"/>
+ </target>
+ <target name="jar" depends="compile" description="Create jar">
+ <mkdir dir="${dist.home}"/>
+ <mkdir dir="${build.home}/classes/META-INF"/>
+- <copy file="../LICENSE" tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
+ <jar jarfile="${dist.home}/${final.name}.jar" basedir="${build.home}/classes" manifest="${build.home}/conf/MANIFEST.MF"/>
+ </target>
+ <target name="install-jar" depends="jar" description="--> Installs jar file in ${lib.repo}">
diff --git a/apache-commons/patches/logging.patch b/apache-commons/patches/logging.patch new file mode 100644 index 000000000000..63b93dcbd6f2 --- /dev/null +++ b/apache-commons/patches/logging.patch @@ -0,0 +1,15 @@ +--- misc/commons-logging-1.1.1-src/build.xml 2007-11-22 00:27:52.000000000 +0100 ++++ misc/build/commons-logging-1.1.1-src/build.xml 2008-06-24 14:23:56.316301736 +0200 +@@ -127,10 +127,10 @@ + <!-- ========== Compiler Defaults ========================================= --> + + <!-- Version of java class files to generate. --> +- <property name="target.version" value="1.1"/> ++ <property name="target.version" value="1.3"/> + + <!-- Version of java source to accept --> +- <property name="source.version" value="1.2"/> ++ <property name="source.version" value="1.3"/> + + <!-- Should Java compilations set the 'debug' compiler option? --> + <property name="compile.debug" value="true"/> diff --git a/apache-commons/prj/build.lst b/apache-commons/prj/build.lst new file mode 100644 index 000000000000..c509ce0336dd --- /dev/null +++ b/apache-commons/prj/build.lst @@ -0,0 +1,6 @@ +ac apache-commons : solenv TOMCAT:tomcat NULL +ac apache-commons usr1 - all ac_mkout NULL +ac apache-commons\java\codec nmake - all ac_codec NULL +ac apache-commons\java\lang nmake - all ac_lang NULL +ac apache-commons\java\logging nmake - all ac_logging NULL +ac apache-commons\java\httpclient nmake - all ac_httpclient ac_logging ac_codec NULL diff --git a/apache-commons/prj/d.lst b/apache-commons/prj/d.lst new file mode 100644 index 000000000000..21f6e01700ea --- /dev/null +++ b/apache-commons/prj/d.lst @@ -0,0 +1,5 @@ +..\%__SRC%\class\commons-logging-1.1.1-SNAPSHOT.jar %_DEST%\bin%_EXT%\commons-logging-1.1.1.jar +..\%__SRC%\class\commons-codec-1.3.jar %_DEST%\bin%_EXT%\commons-codec-1.3.jar +..\%__SRC%\class\commons-httpclient.jar %_DEST%\bin%_EXT%\commons-httpclient-3.1.jar +..\%__SRC%\class\commons-lang-2.3.jar %_DEST%\bin%_EXT%\commons-lang-2.3.jar + |