debian/0000755000000000000000000000000011370626656007202 5ustar debian/maven.rules0000644000000000000000000000011011331315710011333 0ustar antlr antlr jar s/2\..*/2.x/ org.antlr stringtemplate jar s/3\..*/3.x/ debian/copyright0000644000000000000000000000332410756641646011142 0ustar This is the Java StringTemplate package for Debian. It was initially packaged by Florian Weimer on 2007-04-22. The source code was downloaded from . In accordance with Debian's Java packaging best practices, all JARs were removed from the pristine sources. The full license text follows. [The "BSD licence"] Copyright (c) 2003-2006 Terence Parr 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 name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. debian/ant.properties0000644000000000000000000000007211331315710012060 0ustar language.dir=build/src/org/antlr/stringtemplate/language debian/libstringtemplate-java.poms0000644000000000000000000000001011331315710014520 0ustar pom.xml debian/patches/0000755000000000000000000000000011370626656010631 5ustar debian/patches/stringtemplate-manifest.patch0000644000000000000000000000071610760011400016475 0ustar diff -Nur stringtemplate-3.1/build.xml stringtemplate-3.1.new/build.xml --- stringtemplate-3.1/build.xml 2008-02-23 13:06:28.000000000 +0100 +++ stringtemplate-3.1.new/build.xml 2008-02-23 13:15:46.000000000 +0100 @@ -134,6 +134,9 @@ + + + debian/patches/pom-version.patch0000644000000000000000000000057511331315710014116 0ustar --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ will be deplyed to the ANTLR snapshot repository at antlr.org with the word SNAPSHOT replaced with the the data, time and unique number. --> - 3.3-SNAPSHOT + 3.2.1 3.2.1 ANTLR StringTemplate StringTemplate is a java template engine for generating source code, web pages, emails, or any other formatted text output. StringTemplate is particularly good at multi-targeted code generators, multiple site skins, and internationalization/localization. It evolved over years of effort developing jGuru.com. StringTemplate also generates the stringtemplate website: http://www.stringtemplate.org and powers the ANTLR v3 code generator. Its distinguishing characteristic is that unlike other engines, it strictly enforces model-view separation. Strict separation makes websites and code generators more flexible and maintainable; it also provides an excellent defense against malicious template authors. There are currently about 600 StringTemplate source downloads a month. http://www.stringtemplate.org Terence Parr USFCA http://www.cs.usfca.edu parrt@antlr.org Project Leader Developer - Java Target PST Jim Idle Temporal Wave LLC http://www.temporal-wave.com jimi@temporal-wave.com Developer - Maven stuff PST BSD licence http://antlr.org/license.html repo http://fisheye2.cenqua.com/browse/stringtemplate http://fisheye2.cenqua.com/browse/stringtemplate antlr-repo ANTLR Testing repository scpexe://antlr.org/home/mavensync/antlr-repo antlr-snapshot ANTLR Testing Snapshot Repository scpexe://antlr.org/home/mavensync/antlr-snapshot junit junit 4.5 test antlr antlr 2.7.7 compile install org.apache.maven.wagon wagon-ssh-external 1.0-beta-2 src test test org.codehaus.mojo antlr-maven-plugin src/org/antlr/stringtemplate/language template.g, angle.bracket.template.g, action.g, eval.g, group.g, interface.g generate maven-compiler-plugin 1.4 jsr14 src maven-surefire-plugin ${basedir}/src org.codehaus.mojo findbugs-maven-plugin true true true debian/rules0000755000000000000000000000154211370626536010261 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk PACKAGE := $(DEB_SOURCE_PACKAGE) VERSION := $(DEB_UPSTREAM_VERSION) JAVA_HOME := /usr/lib/jvm/default-java DEB_JARS := antlr ant-antlr junit DEB_ANT_BUILD_TARGET := jar DEB_ANT_CLEAN_TARGET := clean-all build: fmt README.txt > README binary-post-install/lib$(PACKAGE)-java:: mh_installpoms -plib$(PACKAGE)-java mh_installjar -plib$(PACKAGE)-java -l pom.xml build/$(PACKAGE).jar clean:: rm -rf build README get-orig-pom: wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/org/antlr/stringtemplate/$(DEB_UPSTREAM_VERSION)/stringtemplate-$(DEB_UPSTREAM_VERSION).pom get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename debian/orig-tar.sh0000755000000000000000000000052311370626364011261 0ustar #!/bin/sh -e VERSION=$2 TAR=../stringtemplate_$VERSION.orig.tar.gz DIR=stringtemplate-$VERSION tar -x -z -f $TAR GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $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 debian/changelog0000644000000000000000000000424611370626647011062 0ustar stringtemplate (3.2.1-1) unstable; urgency=low * Team upload [ Ludovic Claude ] * New upstream version * Add the Maven POM to the package * Add a patch to force the version of stringtemplate in the POM to be 3.2, instead of 3.3-SNAPSHOT (update or remove this patch on a new upstream release), add a dependency on quilt. * Add a Build-Depends-Indep dependency on maven-repo-helper * Use mh_installpom and mh_installjar to install the POM and the jar to the Maven repository [ Thierry Carrez ] * debian/control: Also depend on a JRE to follow policy [ Torsten Werner ] * Add debian/orig-tar.sh to clean up the orig tarball from *.class and *.jar files. * Switch to source format 3.0. * Update Standards-Version: 3.8.4. * Remove Florian Weimer from uploaders list. -- Torsten Werner Thu, 06 May 2010 22:58:57 +0200 stringtemplate (3.1-4) unstable; urgency=low * (Build-)Depends on libantlr-java instead of antlr (Closes: #547179). * Build-Depends on defualt-jdk and debhelper >= 7. * Added missing Depends: ${misc:Depends}. * Moved package to section 'java'. * Updated Standards-Version to 3.8.3. -- Michael Koch Fri, 02 Oct 2009 08:00:49 +0200 stringtemplate (3.1-3) unstable; urgency=low * Added junit to Build-Depends-Indep. Closes #467605. -- Michael Koch Tue, 26 Feb 2008 15:20:55 +0100 stringtemplate (3.1-2) unstable; urgency=low * Re-added patch to build.xml to set classpath to antlr.jar in manifest file. Closes: #466833. -- Michael Koch Sat, 23 Feb 2008 13:17:43 +0100 stringtemplate (3.1-1) unstable; urgency=low * New upstream version. * Made Debian Java Maintainers the maintainer and moved Florian to Uploaders and added myself. * Removed libstringtemplate-java.links file and rewrote debian/rules. * Added Homepage, Vcs-Svn and Vcs-Browser fields. * Updated Standards-Version to 3.7.3. * Added watch file. -- Michael Koch Tue, 19 Feb 2008 22:27:59 +0100 stringtemplate (3.0-1) unstable; urgency=low * Initial version -- Florian Weimer Sun, 22 Apr 2007 14:46:17 +0200 debian/watch0000644000000000000000000000023211370626364010224 0ustar version=3 http://www.stringtemplate.org/download.html \ http://www.stringtemplate.org/download/stringtemplate-(.*).tar.gz \ debian debian/orig-tar.sh debian/control0000644000000000000000000000217311370626647010610 0ustar Source: stringtemplate Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Michael Koch , Ludovic Claude Build-Depends: cdbs (>= 0.4.8), debhelper (>= 7), default-jdk, ant-optional, antlr (>= 2.7.7), maven-repo-helper Build-Depends-Indep: libantlr-java, junit Standards-Version: 3.8.4 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/stringtemplate Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/stringtemplate/ Homepage: http://www.stringtemplate.org/ Package: libstringtemplate-java Architecture: all Depends: default-jre-headless | java2-runtime-headless, libantlr-java, ${misc:Depends} Description: StringTemplate templating engine for Java StringTemplate is a java template engine for generating source code, web pages, emails, or any other formatted text output. StringTemplate is particularly good at multi-targeted code generators, multiple site skins, and internationalization/localization. . Its distinguishing characteristic is that it strictly enforces model-view separation unlike other engines. debian/source/0000755000000000000000000000000011370626656010502 5ustar debian/source/format0000644000000000000000000000001411370626536011705 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211261313531010360 0ustar 7