debian/0000755000000000000000000000000012202523257007166 5ustar debian/control0000644000000000000000000000253212202523114010563 0ustar Source: ognl Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Damien Raude-Morvan Build-Depends: debhelper (>= 7), cdbs, default-jdk, ant Build-Depends-Indep: libjavassist-java, junit4, docbook-xsl, docbook-xml, ant-optional, libxalan2-java, javacc, fop, maven-repo-helper, ant-contrib Standards-Version: 3.9.4 Homepage: http://commons.apache.org/proper/commons-ognl/ Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/ognl Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/ognl Package: libognl-java Architecture: all Depends: ${misc:Depends}, libjavassist-java Description: Java expression language OGNL stands for Object-Graph Navigation Language; it is an expression language for getting and setting properties of Java objects. You use the same expression for both getting and setting the value of a property. Package: libognl-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Description: Java expression language - Documentation OGNL stands for Object-Graph Navigation Language; it is an expression language for getting and setting properties of Java objects. You use the same expression for both getting and setting the value of a property. . This package contains Language, Developer Documentation and API of OGNL software. debian/rules0000755000000000000000000000122011637161016010243 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_JARS := javassist junit4 ant-trax xalan2 xml-apis serializer javacc ant-contrib DEB_ANT_ARGS := -Dversion=$(DEB_UPSTREAM_VERSION) DEB_ANT_CLEAN_TARGET := clean DEB_ANT_BUILD_TARGET := javacc-generate jar docs.impl javadocs DEB_COMPRESS_EXCLUDE := .pdf binary-post-install/libognl-java:: mh_installpoms -plibognl-java mh_installjar -plibognl-java -l pom.xml build/ognl-$(DEB_UPSTREAM_VERSION).jar clean:: -rm -rf debian/tmp get-orig-source: sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION) debian/orig-tar.exclude0000644000000000000000000000001011237560160012255 0ustar */lib/* debian/source/0000755000000000000000000000000012202523257010466 5ustar debian/source/format0000644000000000000000000000001411356456430011703 0ustar 3.0 (quilt) debian/libognl-java-doc.doc-base.lang0000644000000000000000000000055311356456430014627 0ustar Document: libognl-java-doc-lang Title: Language Guide for OGNL Author: OpenSymphony Abstract: This is the Language Guide provided by the OGNL library. Section: Programming Format: HTML Index: /usr/share/doc/libognl-java/LanguageGuide/index.html Files: /usr/share/doc/libognl-java/LanguageGuide/* Format: PDF Files: /usr/share/doc/libognl-java/LanguageGuide.pdf debian/libognl-java-doc.doc-base.api0000644000000000000000000000041711356456430014456 0ustar Document: libognl-java-doc-api Title: API Javadoc for OGNL Author: OpenSymphony Abstract: This is the API Javadoc provided by the OGNL library. Section: Programming Format: HTML Index: /usr/share/doc/libognl-java/api/index.html Files: /usr/share/doc/libognl-java/api/* debian/ant.properties0000644000000000000000000000022211216274267012072 0ustar docbook.xsl.path=/usr/share/xml/docbook/stylesheet/docbook-xsl/ docbook.xml.path=/usr/share/xml/docbook/schema/dtd/4.5/ fop.path=/usr/share/java/ debian/patches/0000755000000000000000000000000012202523257010615 5ustar debian/patches/series0000644000000000000000000000007111216274267012040 0ustar 02_docbook_xml_source_compliance.diff 01_build_xml.diff debian/patches/02_docbook_xml_source_compliance.diff0000644000000000000000000000672011256525711020034 0ustar Description: Fix some duplicated entities in upstream Docbook XML Origin: Damien Raude-Morvan --- a/docbook/DeveloperGuide.xml +++ b/docbook/DeveloperGuide.xml @@ -33,7 +33,7 @@ of some sort to data transfer objects that are operated on by a view. Another example is an XML configuration file wherein values are generated via expressions which are then bound to configured objects.
- Embedding OGNL + Embedding OGNL The ognl.Ognl class contains convenience methods for evaluating OGNL expressions. You can do this in two stages, parsing an expression into an internal form and then using that internal form to either set or get the value of a property; or you can do it in a single stage, and get or set a property using the String form of the expression directly. It is more efficient to pre-compile the expression to it's parsed form, @@ -79,7 +79,7 @@
- Extending OGNL + Extending OGNL OGNL expressions are not evaluated in a static environment, as Java programs are. Expressions are not compiled to bytecode at the expression level based on static class reachability. The same expression can have multiple paths through an object graph depending upon the root object specified and the dynamic results of the navigation. Objects that are delegated to handle all of the access to properties of objects, elements of collections, methods of objects, @@ -264,4 +264,4 @@ the Evaluation.
- \ No newline at end of file + --- a/docbook/LanguageGuide.xml +++ b/docbook/LanguageGuide.xml @@ -449,8 +449,8 @@
Calling Constructors - You can create new objects as in Java, with the new operator. One difference is that you must specify the fully qualified class name for classes other than those in the java.lang package.This is only true with the default ClassResolver in place. With a custom class resolver packages can be mapped in such a way that more Java-like references to classes can be made. Refer to the + You can create new objects as in Java, with the new operator. One difference is that you must specify the fully qualified class name for classes other than those in the java.lang package. + This is only true with the default ClassResolver in place. With a custom class resolver packages can be mapped in such a way that more Java-like references to classes can be made. Refer to the OGNL Developer's Guide for details on using ClassResolver class. (for example, new java.util.ArrayList(), rather than simply new ArrayList()). OGNL chooses the right constructor to call using the same procedure it uses for overloaded method calls. @@ -971,4 +971,4 @@
- \ No newline at end of file + debian/patches/01_build_xml.diff0000644000000000000000000001141411256525711013734 0ustar Description: - build.xml: Remove foreach usage as antcontrib is not in Debian - build.xml: Don't fork javacc-generate (use Ant Classpath) - docbook.xml: Use Xalan2 as XSLT processor - docbook.xml: Fix classpath inclusion of fop.jar Origin: Damien Raude-Morvan --- a/docbook.xml +++ b/docbook.xml @@ -183,16 +183,24 @@ force="true" in="${project.docbook}/${docbook.file}.xml" out="${output.docbook.html}/${docbook.file}/index.html"> + + + - + + + + + + @@ -252,29 +260,32 @@ force="true" in="${project.docbook}/${docbook.file}.xml" out="${output.docbook.fop}/${docbook.file}.fop"> + + + Converting FO to PDF ... - - - - - - + - + - + + + + + + --- a/osbuild.xml +++ b/osbuild.xml @@ -138,14 +138,11 @@ classpathref="cp" author="true" version="true" - overview="${src.java}/overview.html" windowTitle="${fullname} API - ${version}" doctitle="${fullname} API (${version})" footer="<a href="http://www.opensymphony.com/${name}/" target="_top">${fullname} Project Page</a>" use="true" verbose="false"> - - --- a/build.xml +++ b/build.xml @@ -59,12 +59,12 @@ - + - + debian/libognl-java-doc.doc-base.dev0000644000000000000000000000055711356456430014470 0ustar Document: libognl-java-doc-dev Title: Developer Guide for OGNL Author: OpenSymphony Abstract: This is the Developer Guide provided by the OGNL library. Section: Programming Format: HTML Index: /usr/share/doc/libognl-java/DeveloperGuide/index.html Files: /usr/share/doc/libognl-java/DeveloperGuide/* Format: PDF Files: /usr/share/doc/libognl-java/DeveloperGuide.pdf debian/libognl-java.poms0000644000000000000000000000001011303606456012426 0ustar pom.xml debian/changelog0000644000000000000000000000425612202523141011037 0ustar ognl (2.7.3-5) unstable; urgency=low * d/maven.rules: Fix Maven dependency for javassist. * d/control: Add - needed- Depends on libjavassist-java. * d/control: Bump Standards-Version to 3.9.4. * d/control: Update Vcs-* fields to canonical location. * d/control: Update Homefield to new Apache Commons. -- Damien Raude-Morvan Tue, 13 Aug 2013 22:47:05 +0200 ognl (2.7.3-4) unstable; urgency=low * Team upload [ Damien Raude-Morvan ] * d/control: Drop Depends on default-jre per Debian Java Policy as its a library package. [ Torsten Werner ] * Remove Trygve from Uploaders list. * Update Standards-Version: 3.9.2. * Add Build-Depends: ant-contrib. * Fix typo in Description. -- Torsten Werner Fri, 23 Sep 2011 21:31:23 +0200 ognl (2.7.3-3) unstable; urgency=low * libognl-java-doc: Install doc inside /usr/share/doc/libognl-java/ * Bump Standards-Version to 3.8.4: no changes needed * Switch to 3.0 (quilt) source format - debian/control: remove B-D on quilt - debian/rules: remove quilt.mk - debian/source/format: add format - debian/README.source: removed -- Damien Raude-Morvan Mon, 05 Apr 2010 23:56:52 +0200 ognl (2.7.3-2) unstable; urgency=low * Maven POMs: - debian/control: add a Build-Depends-Indep dependency on maven-repo-helper - debian/rules: use mh_installpoms and mh_installjar to install the POM and the jar to the Maven repository release. * Bump debhelper version to >= 7 -- Damien Raude-Morvan Sun, 17 Jan 2010 20:25:33 +0100 ognl (2.7.3-1) unstable; urgency=low [ Trygve Laugstøl ] * Initial Release (closes: #321476). [ Damien Raude-Morvan ] * Build-Depends on default-jdk * Build a -doc package containing API and documentations (HTML and PDF) * Add debian/watch * Use quilt to apply patches * Bump Standards-Version to 3.8.3: - Add a README.source - Add a get-orig-source target - Move to "java" Section of the archive - Add Homepage in debian/control - Add Vcs-* fields * Add myself as Uploaders -- Damien Raude-Morvan Thu, 24 Sep 2009 01:14:02 +0200 debian/copyright0000644000000000000000000001146711256525711011137 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59 Name: OpenSymphony OGNL Source: http://svn.opensymphony.com/svn/ognl/ Copyright: 2001-2004, The OpenSymphony Group License: other The OpenSymphony Software License, Version 1.1 (this license is derived and fully compatible with the Apache Software License - see http://www.apache.org/LICENSE.txt) Copyright (c) 2001-2004 The OpenSymphony Group. 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 OpenSymphony Group (http://www.opensymphony.com/)." Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear. 4. The names "OpenSymphony" and "The OpenSymphony Group" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact license@opensymphony.com . 5. Products derived from this software may not be called "OpenSymphony" or "OGNL", nor may "OpenSymphony" or "OGNL" appear in their name, without prior written permission of the OpenSymphony Group. 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. File: src/* Copyright: 1998-2004, Drew Davidson 1998-2004, Luke Blanshard Licence: BSD Copyright (c) 1998-2004, Drew Davidson and Luke Blanshard All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 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. Neither the name of the Drew Davidson nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS 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 COPYRIGHT OWNER OR 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. File: src/java/ognl/OgnlParserTreeConstants.java, src/java/ognl/JJTOgnlParserState.java, src/java/ognl/TokenMgrError.java, src/java/ognl/ParseException.java, src/java/ognl/Token.java, src/java/ognl/JavaCharStream.java Licence: other Thoses files are generated from src/java/ognl/ognl.jjt using javacc. Files: debian/* Copyright: 2005, Trygve Laugstøl 2009, Damien Raude-Morvan License: BSD Copying and distribution of this package, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. debian/orig-tar.sh0000644000000000000000000000063511237560160011253 0ustar #!/bin/sh -e # $1 version TAR=../ognl_$1.orig.tar.gz DIR=ognl-$1.orig TAG=$1 # clean up the upstream tarball mkdir $DIR svn export --force http://svn.opensymphony.com/svn/ognl/tags/$TAG $DIR GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR rm -rf $DIR # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi exit 0 debian/maven.rules0000644000000000000000000000022112202516540011340 0ustar junit junit jar s/3\..*/3.x/ * org.apache.maven.plugins maven-surefire-plugin maven-plugin s/.*/2.4.3/ s/jboss/javassist/ javassist s/.*/debian/ debian/watch0000644000000000000000000000010211216274267010220 0ustar version=3 http://svn.opensymphony.com/svn/ognl/tags/ (\d[\d\.]+)/ debian/libognl-java-doc.install0000644000000000000000000000043311356456430013675 0ustar dist/docs/html/LanguageGuide /usr/share/doc/libognl-java/ dist/docs/html/DeveloperGuide /usr/share/doc/libognl-java/ dist/docs/pdf/DeveloperGuide.pdf /usr/share/doc/libognl-java/ dist/docs/pdf/LanguageGuide.pdf /usr/share/doc/libognl-java/ dist/docs/api /usr/share/doc/libognl-java/ debian/compat0000644000000000000000000000000211303606456010370 0ustar 7