debian/0000755000000000000000000000000012257706726007204 5ustar debian/rules0000755000000000000000000000025112257706726010262 0ustar #!/usr/bin/make -f export JAVA_HOME=/usr/lib/jvm/default-java export ANT_OPTS=-Dnoget=true %: dh $@ override_dh_auto_build: DISPLAY="" dh_auto_build -- jar javadoc debian/libjxp-java.docs0000644000000000000000000000001612257706726012262 0ustar dist/docs/api debian/control0000644000000000000000000000346112257706726010613 0ustar Source: libjxp-java Section: java Priority: extra Maintainer: Debian Java Maintainers Uploaders: tony mancill , gregor herrmann Build-Depends: debhelper (>= 8), ant Build-Depends-Indep: default-jdk, ant-optional, junit, libcommons-fileupload-java, libonemind-commons-invoke-java, libonemind-commons-java-java, libservlet3.0-java Standards-Version: 3.9.5 Homepage: http://jxp.sourceforge.net/ Vcs-Git: git://anonscm.debian.org/pkg-java/libjxp-java.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/libjxp-java.git Package: libjxp-java Architecture: all Depends: ${misc:Depends} Description: Java template engine/script processor Jxp (Java scripted page) is a script-processor that process JSP-like files. It contains a parser to parse the script file into an abstract syntax tree and a tree processor (JxpProcessor) that will process the syntax tree to execute the code using reflection API to produce output. The main uses of Jxp are: . * as a script language engine to increase flexibility in the user application * as a template engine to produce dynamic text output . Some of the main features of Jxp include: . * Java as script/template language. Why learn another one? ;) * Run JSP-like code outside of servlet container * support common java language 1.4 constructs (partial 1.5 syntax support on jdk 1.4) * support common JSP constructs including import directive, declaration, EL etc (taglib not supported, yet) * practical template sources management framework * support caching of parsed syntax tree to eliminate reparse of template * a servlet implementation to enable web-scripting * extensible processing context for defining built-in function on the scripts debian/source/0000755000000000000000000000000012257706726010504 5ustar debian/source/format0000644000000000000000000000001412257706726011712 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000310012257706726011050 0ustar libjxp-java (1.6.1-4) unstable; urgency=medium * Add build dependency on libservlet3.0-java. Thanks to David Suárez for the bug report. (Closes: #733364) * Update Vcs-* fields in debian/control. * Update years of packaging copyright. * Declare compliance with Debian Policy 3.9.5. -- gregor herrmann Sun, 29 Dec 2013 03:49:41 +0100 libjxp-java (1.6.1-3) unstable; urgency=low * Update Maintainer field for Java team maintenance. * Add gregor to Uploaders. * Update Vcs-* headers. -- tony mancill Tue, 29 May 2012 07:28:26 -0700 libjxp-java (1.6.1-2) unstable; urgency=low * debian/control: change build dependency from default-jdk-builddep to default-jdk. Closes: #669216 * Update Vcs-* headers. * Use source format 3.0 (quilt). * Use debhelper 8 and tiny debian/rules. * Bump Standards-Version to 3.9.3 (no changes). * debian/control: remove duplicate build-dependency and unneeded JRE runtime dependency, add ${misc:Depends}. * debian/copyright: update to Copyright-Format 1.0. -- gregor herrmann Wed, 18 Apr 2012 17:06:56 +0200 libjxp-java (1.6.1-1) unstable; urgency=low [ gregor herrmann ] * Initial release (Closes: #519122) [ tony mancill ] * Include clarifying statement in debian/copyright regarding SPL licensed files now distributed under the BSD license. * debian/rules sets DISPLAY (needed for junit tests) [ gregor herrmann ] * Set Standards-Version to 3.8.3 (no changes). -- gregor herrmann Wed, 19 Aug 2009 17:37:16 +0200 debian/compat0000644000000000000000000000000212257706726010402 0ustar 8 debian/libjxp-java.install0000644000000000000000000000004412257706726013001 0ustar target/jxp-1.6.1.jar usr/share/java debian/libjxp-java.links0000644000000000000000000000006412257706726012455 0ustar usr/share/java/jxp-1.6.1.jar usr/share/java/jxp.jar debian/patches/0000755000000000000000000000000012257706726010633 5ustar debian/patches/fix-javadoc.patch0000644000000000000000000000122512257706726014047 0ustar Description: tell javadoc where the sources are actually Forwarded: no Author: gregor herrmann Origin: vendor Last-Update: 2012-04-18 --- a/build.xml +++ b/build.xml @@ -144,7 +144,7 @@ - + debian/patches/fix-test.patch0000644000000000000000000000070312257706726013417 0ustar Description: fix a failing test Forwarded: no Author: tony mancill Origin: vendor Last-Update: 2012-04-18 --- a/src/test/org/onemind/jxp/testJdk15.jxp +++ b/src/test/org/onemind/jxp/testJdk15.jxp @@ -6,7 +6,7 @@ var values[] = { "a", "b", "c" }; //test function from math -assert(abs(-1.3f)==1.3); +assert(abs(-1.3f).compareTo(Double.valueOf(1.3d)) == 0); //test methods from test class //staticPrivateMethod(); debian/patches/debian-libs.patch0000644000000000000000000000165512257706726014034 0ustar Description: use Debian libraries Forwarded: no Author: gregor herrmann origin: vendor Last-Update: 2012-04-18 --- a/build.xml +++ b/build.xml @@ -6,7 +6,7 @@ - + @@ -29,8 +29,10 @@ + @@ -173,4 +175,4 @@ - \ No newline at end of file + debian/patches/series0000644000000000000000000000006312257706726012047 0ustar debian-libs.patch fix-test.patch fix-javadoc.patch debian/copyright0000644000000000000000000000713112257706726011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: TiongHiang Lee Upstream-Name: Jxp Source: http://sourceforge.net/projects/jxp/ Files: * Copyright: 2004, TiongHiang Lee License: LGPL-2.1+ Files: src/java/org/onemind/jxp/parser/JxpParser.jjt src/java/org/onemind/jxp/parser/JxpParser.jj Copyright: 2006, Sun Microsystems, Inc. License: BSD-3-clause Comment: The files as distributed in the upstream tarball include the following notice: . * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is JavaCC. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 1996-2002 Sun * Microsystems, Inc. All Rights Reserved. */ /* * Altered by Tiong Lee (thlee@onemindsoft.org) extensive to be a JJTree grammar */ . We have contacted the upstream author TiongHiang Lee regarding the source from which these derived works were created. The original file is Java1.1.jj, part of the JavaCC software (https://javacc.dev.java.net/) . Java1.1.jj is also present in the Debian package javacc-doc (source package javacc: examples/JavaGrammars/Java1.1.jj). The file is no longer distributed under the SPL, but instead under a BSD-like license. Files: debian/* Copyright: 2009-2013, gregor herrmann 2009-2012, tony mancill License: LGPL-2.1+ License: BSD-3-clause /* Copyright (c) 2006, Sun Microsystems, Inc. * 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 Sun Microsystems, Inc. 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. */ License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . On Debian systems the GNU Lesser General Public License, version 2.1 can be found at /usr/share/common-licenses/LGPL-2.1. debian/watch0000644000000000000000000000006212257706726010233 0ustar version=3 http://sf.net/jxp/jxp-(.+)-src\.tar\.gz