debian/0000775000000000000000000000000011755440743007202 5ustar debian/rules0000775000000000000000000000160711701431147010253 0ustar #!/usr/bin/make -f # debian/rules file for libbsf-java (uses cdbs) include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java ANT_HOME := /usr/share/ant # disable jython support because it is broken for jython >= 2.5 #DEB_JARS := xalan2 jython js ${ANT_HOME}/lib/ant-junit.jar junit commons-logging DEB_JARS := xalan2 js ${ANT_HOME}/lib/ant-junit.jar junit commons-logging MAVEN_REPO := http://repo1.maven.org/maven2 DEB_ANT_BUILD_TARGET := jar javadocs #DEB_ANT_CHECK_TARGET := test clean:: $(RM) -r build lib mh_clean makebuilddir:: mkdir -p lib install/libbsf-java:: mh_installpoms -plibbsf-java mh_installjar -plibbsf-java -l -e$(DEB_UPSTREAM_VERSION) debian/bsf.pom lib/bsf.jar get-orig-pom: wget -U NoSuchBrowser/1.0 -O debian/bsf.pom \ $(MAVEN_REPO)/bsf/bsf/$(DEB_UPSTREAM_VERSION)/bsf-$(DEB_UPSTREAM_VERSION).pom debian/bsf.pom0000664000000000000000000000225510516222237010463 0ustar 4.0.0 org.apache apache 3 bsf bsf 2.4.0 Bean Scripting Framework http://jakarta.apache.org/bsf scm:svn:http://svn.apache.org/jakarta/bsf/tags/bsf-2.4.0 scm:svn:https://svn.apache.org/jakarta/bsf/tags/bsf-2.4.0 http://svn.apache.org/viewvc/jakarta/bsf/tags/bsf-2.4.0 commons-logging commons-logging 1.0.4 compile junit junit 3.8.2 test debian/control0000664000000000000000000000613011701431255010572 0ustar Source: libbsf-java Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Torsten Werner Build-Depends: cdbs, debhelper (>= 5) Build-Depends-Indep: ant, ant-optional, default-jdk, junit, libcommons-logging-java, libxalan2-java, maven-repo-helper Standards-Version: 3.9.2 Homepage: http://jakarta.apache.org/bsf/ Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libbsf-java Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libbsf-java/ Package: libbsf-java Architecture: all Depends: ${misc:Depends}, libapache-pom-java Suggests: bsh, libxalan2-java, rhino Description: Bean Scripting Framework to support scripting languages in Java Bean Scripting Framework (BSF) is a set of Java classes which provides scripting language support within Java applications, and access to Java objects and methods from scripting languages. BSF allows one to write JSPs in languages other than Java while providing access to the Java class library. In addition, BSF permits any Java application to be implemented in part (or dynamically extended) by a language that is embedded within it. This is achieved by providing an API that permits calling scripting language engines from within Java, as well as an object registry that exposes Java objects to these scripting language engines. . BSF supports these scripting languages: * Python (using Jython) * JavaScript (using rhino) * XSLT Stylesheets (as a component of Apache XML project's Xalan and Xerces) * BeanShell (using bsh) via its own bsf adapter . Support for Tcl, NetRexx is not available in this Debian package since Jacl, NetRexx (non-free) are not packaged. Package: libbsf-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: libbsf-java Breaks: libbsf-java (<< 1:2.4.0-5) Replaces: libbsf-java (<< 1:2.4.0-5) Description: Bean Scripting Framework to support scripting - documentation Bean Scripting Framework (BSF) is a set of Java classes which provides scripting language support within Java applications, and access to Java objects and methods from scripting languages. BSF allows one to write JSPs in languages other than Java while providing access to the Java class library. In addition, BSF permits any Java application to be implemented in part (or dynamically extended) by a language that is embedded within it. This is achieved by providing an API that permits calling scripting language engines from within Java, as well as an object registry that exposes Java objects to these scripting language engines. . BSF supports these scripting languages: * Python (using Jython) * JavaScript (using rhino) * XSLT Stylesheets (as a component of Apache XML project's Xalan and Xerces) * BeanShell (using bsh) via its own bsf adapter . Support for Tcl, NetRexx is not available in this Debian package since Jacl, NetRexx (non-free) are not packaged. . This package contains Javadoc HTML documentation for libbsf-java. debian/copyright0000664000000000000000000000625511701430336011131 0ustar This package was debianized by Ola Lundqvist on Sat, 6 Jan 2001 18:38:18 +0100. It is now maintained by Stefan Gybas . The source code was downloaded from http://jakarta.apache.org/bsf/. It was extracted, "ant clean" was called and repackaged. Upstream Authors: Sanjiva Weerawarana Matthew J. Duftler Sam Ruby Richard F. Boehme Olivier Gruber Jason Crawford John Ponzo Victor J. Orlikowski Charles Murcko Copyright (BSD-style license): The Apache Software License, Version 1.1 Copyright (c) 2002 The Apache Software Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The end-user documentation included with the redistribution, if any, must include the following acknowledgment: "This product includes software developed by the Apache Software Foundation (http://www.apache.org/)." Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear. 4. The names "BSF", "Apache", and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org. 5. Products derived from this software may not be called "Apache", nor may "Apache" appear in their name, without prior written permission of the Apache Software Foundation. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This software consists of voluntary contributions made by many individuals on behalf of the Apache Software Foundation and was originally created by Sanjiva Weerawarana and others at International Business Machines Corporation. For more information on the Apache Software Foundation, please see . debian/libbsf-java-doc.install0000664000000000000000000000004211701430336013475 0ustar docs/* /usr/share/doc/libbsf-java debian/watch0000664000000000000000000000013410674264352010230 0ustar version=3 http://www.apache.org/dist/jakarta/bsf/source/ bsf-src-(.*).tar.gz debian uupdate debian/libbsf-java-doc.doc-base0000664000000000000000000000053011701426640013511 0ustar Document: libbsf-java1 Title: Programmer API for libbsf-java Author: Apache BSF developer team Abstract: Javadocs programmer API of libbsf-java, the Bean Scripting Framework to support scripting languages in Java. Section: Programming Format: HTML Index: /usr/share/doc/libbsf-java/api/index.html Files: /usr/share/doc/libbsf-java/api/*.html debian/libbsf-java.poms0000664000000000000000000000315311701431425012250 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM and its artifact if any # --ignore-pom: don't install the POM. To use on POM files that are created # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] # --no-parent: remove the tag from the POM # --package=: an alternative package to use when installing this POM # and its artifact # --has-package-version: to indicate that the original version of the POM is the same as the upstream part # of the version for the package. # --keep-elements=: a list of XML elements to keep in the POM # during a clean operation with mh_cleanpom or mh_installpom # --artifact=: path to the build artifact associated with this POM, # it will be installed when using the command mh_install. [mh_install] # --java-lib: install the jar into /usr/share/java to comply with Debian # packaging guidelines # --usj-name=: name to use when installing the library in /usr/share/java # --usj-version=: version to use when installing the library in /usr/share/java # --no-usj-versionless: don't install the versionless link in /usr/share/java # --dest-jar=: the destination for the real jar. # It will be installed with mh_install. [mh_install] # --classifier=: Optional, the classifier for the jar. Empty by default. # --site-xml=: Optional, the location for site.xml if it needs to be installed. # Empty by default. [mh_install] # debian/bsf.pom debian/changelog0000664000000000000000000001607611755440742011065 0ustar libbsf-java (1:2.4.0-5build1) quantal; urgency=low * No-change rebuild with openjdk-7 as default-jdk. -- James Page Fri, 18 May 2012 13:34:42 +0100 libbsf-java (1:2.4.0-5) unstable; urgency=low * Team upload. [ tony mancill ] * Apply patch detecting optional languages at build time Thanks to Ximin Lao. (Closes: #601685) * Convert to source format 3.0 (quilt); drop build-depends on quilt. [ Damien Raude-Morvan ] * d/control: Remove Michael Koch from Uploaders. Thanks Michael! (Closes: #654047). * d/control: Update Standards-Version: 3.9.2. * d/rules: Drop patchsys-quilt.mk. * d/control: Drop dependencies on jython; its broken with jython >= 2.5 and generates additional main requirements in Ubuntu. Thanks to James Page for patch. (Closes: #646094). * d/control: Drop depends on Java runtime since its a library. * d/{control,copyright}: Wrap and sort. * Move Javadoc to a separate libbsf-java-doc package. (Closes: #506357). * Install maven metadata: - d/control: Build-Depends on maven-repo-helper and Depends on libapache-pom-java. - d/rules: Use mh_installpoms and mh_installjar. - d/rules: Provide get-orig-pom to download a POM. -- Damien Raude-Morvan Fri, 06 Jan 2012 00:34:08 +0100 libbsf-java (1:2.4.0-4) unstable; urgency=low * Disable jython support because it is broken for jython >= 2.5. (Closes: #591122) * Remove Stefan and Arnaud from Uploaders list. Thanks to your contributions! -- Torsten Werner Wed, 04 Aug 2010 04:31:45 +0200 libbsf-java (1:2.4.0-3) unstable; urgency=low [ Matthias Klose ] * (Build-)depend on default-jre/-jdk. [ Torsten Werner ] * Add myself to Uploaders. * Fix build errors. * Switch to quilt. * Switch to debhelper 5. * Update Standards-Version: 3.8.2. * Add Homepage and Vcs headers. * Change Section: java. * Add missing Depends: ${misc:Depends}. * Remove servlet dependency. -- Torsten Werner Thu, 30 Jul 2009 19:15:16 +0200 libbsf-java (1:2.4.0-2) unstable; urgency=low * Added Build-Depends-Indep on libcommons-logging-java. Closes: #460381. -- Michael Koch Sat, 12 Jan 2008 15:28:22 +0100 libbsf-java (1:2.4.0-1) unstable; urgency=low * New upstream version. -- Michael Koch Tue, 01 Jan 2008 20:39:26 +0100 libbsf-java (1:2.3.0+cvs20050308a-3) unstable; urgency=low [ Kumar Appaiah ] * Update watch file. [ Michael Koch ] * Updated Standards-Version to 3.7.3. -- Michael Koch Sat, 29 Dec 2007 21:34:42 +0100 libbsf-java (1:2.3.0+cvs20050308a-2) unstable; urgency=low * Removed Build-Dependency on rhino (Closes: #414685). * Removed Wolfgang and added myself to Uploaders. -- Michael Koch Wed, 14 Mar 2007 21:26:14 +0100 libbsf-java (1:2.3.0+cvs20050308a-1) unstable; urgency=low * Updated Standards-Version to 3.7.2: moved debhelper and cdbs to Build-Depends * Build with java-gcj-compat-dev * debian/rules: removed ant-launcher from the classpath (no more needed) * Updated dependency to libservlet2.4-java * Not a new upstream but reupload the sources to the main archive (closes: #352172, #376107). * debian/watch: added -- Arnaud Vandyck Mon, 17 Jul 2006 17:41:28 +0200 libbsf-java (1:2.3.0+cvs20050308-6) unstable; urgency=low * Removed explicit usage of jikes build compiler property for kaffe jikes -> ecj transition -- Wolfgang Baer Fri, 6 Jan 2006 19:31:20 +0100 libbsf-java (1:2.3.0+cvs20050308-5) unstable; urgency=low * libant1.6-java to ant transition * Register documentation and javadoc with doc-base * Standards-Version 3.6.2 (no changes) -- Wolfgang Baer Sat, 24 Sep 2005 09:55:34 +0200 libbsf-java (1:2.3.0+cvs20050308-4) unstable; urgency=low * uploaded to unstable -- Arnaud Vandyck Wed, 15 Jun 2005 11:05:35 +0200 libbsf-java (1:2.3.0+cvs20050308-3) experimental; urgency=low * Move to main (together with libxalan2-java) * Added BeanShell as supported scripting language to description (provides its own bsf adapter) and also to Suggests * Enabled junit tests and added junit to build-dependencies + Removed unsupported script engines from tests (03_RemoveUnsupportedTestcases.patch) * Included documentation html files * Unified build.xml patch (02_Build_xml.patch) + Incorporated former 02_Build_Javadoc.patch to exclude test classes + Fixed jar target to not include test classes + Added correct classpath for test target + Added target=1.3 as javac option to support JDK 1.3 -- Wolfgang Baer Wed, 11 May 2005 19:14:16 +0200 libbsf-java (1:2.3.0+cvs20050308-2) unstable; urgency=low * Fixed depends (as non-free vm's do not provide java1-runtime) to also include java2-runtime (closes: #299551) * Make jar file versioned and provide link for unversioned jar * Build apidocs -- Wolfgang Baer Tue, 15 Mar 2005 09:18:57 +0100 libbsf-java (1:2.3.0+cvs20050308-1) unstable; urgency=low * New upstream release from apache jakarta-bsf CVS * Build with kaffe * Arnaud Vandyck did sponsor this package. As a member of pkg-java Alioth's project, I added Wolfgang (and I) as uploaders -- Wolfgang Baer Fri, 25 Feb 2005 21:56:20 +0100 libbsf-java (1:2.3.0rc1-2) unstable; urgency=low * Set maintainer to Debian Java Maintainers and added myself to uploaders * Switch debian/rules to CDBS * Use libant1.6-java for building * Standards-Version: 3.6.1 (no changes required) * Updated README.Debian to list the missing classes compared to upstream -- Stefan Gybas Wed, 10 Mar 2004 17:46:49 +0100 libbsf-java (1:2.3.0rc1-1) unstable; urgency=low * New upstream release: 2.3.0 Release Candidate 1 * New maintainer (closes: #200458) * Updated debian/copyright: New download location and license: Apache Software License 1.1 instead of IBM Public License 1.0 * Build using Xalan 2 instead of Xalan 1 (closes: #144029), this makes the dependency on Xerces 1 go away (closes: #144015) * Enable support for Jython (closes: #112684) and JavaScript (closes: #124198) * Updated the package description from the home page * Standards-Version: 3.6.0 + Moved Build-Depends-Indep to Build-Depends since only Build-Depends must be satisfied during clean * Completely rewrote debian/rules, now uses debhelper 4 * Use dh-buildinfo to store information about the build system in the package -- Stefan Gybas Thu, 17 Jul 2003 17:32:37 +0200 libbsf-java (1:2.2-1) unstable; urgency=low * New upstream version, closes: #85301. * Added xalan to control (and available in compile). * Removed dh_suidregister from rules. * Removed dh_testversion from rules. -- Ola Lundqvist Mon, 09 Apr 2001 15:53:44 +0200 libbsf-java (20010106-1) unstable; urgency=low * Initial Release, closes: Bug#81401. -- Ola Lundqvist Sat, 6 Jan 2001 18:38:18 +0100 debian/ant.properties0000664000000000000000000000035511462454455012105 0ustar build.dest=build/classes build.dir=build/dist build.lib=lib build.javadocs=build/api build.tests=build/test project.name=bsf project.fullname=Bean Scripting Framework source.level=1.3 src.dir=src tests.dir=src os.jar.dir=/usr/share/java debian/compat0000664000000000000000000000000311234353244010370 0ustar 5 debian/source/0000775000000000000000000000000011701431571010470 5ustar debian/source/format0000664000000000000000000000001411462454455011710 0ustar 3.0 (quilt) debian/patches/0000775000000000000000000000000011701431571010617 5ustar debian/patches/04_external_libs.patch0000664000000000000000000000512611462454455015014 0ustar diff -ru libbsf-java-2.4.0.debian/build.xml libbsf-java-2.4.0.new/build.xml --- libbsf-java-2.4.0.orig/build.xml 2010-10-28 14:16:36.697889355 +0100 +++ libbsf-java-2.4.0/build.xml 2010-10-28 14:11:49.987052496 +0100 @@ -88,10 +88,23 @@ + + + + + + + + + + + + + @@ -120,15 +133,15 @@ - + - + - + - + - + @@ -212,11 +225,7 @@ - - - - - + debian/patches/03_build-properties.patch0000664000000000000000000000147311234352546015445 0ustar Index: libbsf-java-2.4.0/build.xml =================================================================== --- libbsf-java-2.4.0.orig/build.xml 2009-07-30 19:03:21.000000000 +0200 +++ libbsf-java-2.4.0/build.xml 2009-07-30 19:03:43.000000000 +0200 @@ -73,8 +73,6 @@ - - @@ -136,7 +134,6 @@ - debian/patches/02_Build_Javadoc.patch0000664000000000000000000000247211234352546014641 0ustar Index: libbsf-java-2.4.0/build.xml =================================================================== --- libbsf-java-2.4.0.orig/build.xml 2006-10-06 17:53:00.000000000 +0200 +++ libbsf-java-2.4.0/build.xml 2009-07-30 19:03:21.000000000 +0200 @@ -267,7 +267,7 @@ - + debian/patches/01_EvaluatorExceptionCompileFix.patch0000664000000000000000000000150211234352546017744 0ustar Index: libbsf-java-2.4.0/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java =================================================================== --- libbsf-java-2.4.0.orig/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java 2006-10-06 17:53:00.000000000 +0200 +++ libbsf-java-2.4.0/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java 2009-07-30 19:03:12.000000000 +0200 @@ -77,7 +77,7 @@ // Any way to make these arguments *sensible? if (fun == Scriptable.NOT_FOUND) throw new EvaluatorException("function " + method + - " not found.", "none", 0); + " not found.", "none", 0, null, 0); cx.setOptimizationLevel(-1); cx.setGeneratingDebug(false); debian/patches/series0000664000000000000000000000016111462454455012044 0ustar 01_EvaluatorExceptionCompileFix.patch 02_Build_Javadoc.patch 03_build-properties.patch 04_external_libs.patch