debian/0000755000000000000000000000000012217673746007205 5ustar debian/gant.10000644000000000000000000000311712217660523010207 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. .TH GANT "1" "February 2008" "Gant version 1.1.0" "User Commands" .SH NAME Gant \- Groovy build framework based on scripting Ant tasks .SH DESCRIPTION usage: gant [option]* [target]* .TP \fB\-c\fR,\-\-usecache Whether to cache the generated class and perform modified checks on the file before re\-compilation. .TP \fB\-n\fR,\-\-dry\-run Do not actually action any tasks. .TP \fB\-D\fR = Define to have value . Creates a variable named for use in the scripts and a property named for the Ant tasks. .TP \fB\-P\fR,\-\-classpath Adds a path to search for jars and classes. .TP \fB\-T\fR,\-\-targets Print out a list of the possible targets. .TP \fB\-V\fR,\-\-version Print the version number and exit. .TP \fB\-d\fR,\-\-cachedir The directory where to cache generated classes to. .TP \fB\-f\fR,\-\-gantfile Use the named build file instead of the default, build.gant. .TP \fB\-h\fR,\-\-help Print out this message. .TP \fB\-l\fR,\-\-gantlib A directory that contains classes to be used as extra Gant modules, .TP \fB\-p\fR,\-\-projecthelp Print out a list of the possible targets. .TP \fB\-q\fR,\-\-quiet Do not print out much when executing. .TP \fB\-s\fR,\-\-silent Print out nothing when executing. .TP \fB\-v\fR,\-\-verbose Print lots of extra information. .SH "SEE ALSO" .BR groovy (1) .BR groovyc (1) .SH AUTHOR This manual page was generated using help2man and edited by Varun Hiremath , for the Debian project (but may be used by others). debian/changelog0000644000000000000000000001232312217665703011052 0ustar gant (1.9.9-3) unstable; urgency=low * Fix FTBFS bug due to API changes in Ant 1.9. (Closes: #713745). * Use canonical URLs in Vcs-* fields. -- Miguel Landaeta Sun, 22 Sep 2013 18:37:35 -0300 gant (1.9.9-2) unstable; urgency=low * Team upload. * Upload to unstable. -- tony mancill Wed, 15 May 2013 12:42:25 -0700 gant (1.9.9-1) experimental; urgency=low * New upstream release. * Bump Standards-Version to 3.9.4. No changes were required. * Add optional Recommends on maven. * Remove obsolete DM-Upload-Allowed field. -- Miguel Landaeta Sun, 31 Mar 2013 14:19:05 -0300 gant (1.9.8-1) experimental; urgency=low * New upstream release. * Remove Michael Koch from Uploaders list. Thanks for your work on this package. (Closes: #654019). * Bump Standards-Version to 3.9.3. No changes were required. -- Miguel Landaeta Thu, 27 Jul 2012 19:24:34 -0430 gant (1.9.7-1) unstable; urgency=low * New upstream release. -- Miguel Landaeta Sun, 27 Nov 2011 21:17:39 -0430 gant (1.9.6-1) unstable; urgency=low [Miguel Landaeta] * New upstream release. * Bump Standards-Version to 3.9.2. No changes were required. * Add missing Build-Depends on libmaven-ant-tasks-java, maven2, libplexus-classworlds-java and libplexus-utils-java. * Add missing Depends on ant and Recommends on maven2 and libmaven-ant-tasks-java. [tony mancill] * Set the DMUA flag to allow DM uploads. -- Miguel Landaeta Tue, 09 Aug 2011 20:27:01 -0430 gant (1.9.3-2) unstable; urgency=low * Upload to unstable. * Update version of dependencies in debian/build.xml. -- Miguel Landaeta Mon, 21 Feb 2011 20:47:21 -0430 gant (1.9.3-1) experimental; urgency=low * New upstream release. * Add myself to Uploaders. * Bump Standards-Version to 3.9.1. No changes were required. -- Miguel Landaeta Fri, 13 Aug 2010 19:26:41 -0430 gant (1.9.1-1) unstable; urgency=low * New upstream release * Add upstream provided debian/build.xml to build gant using ant * Bump Standards-Version to 3.8.4 * Switch to default-java * Switch to source format 3.0 (quilt) -- Varun Hiremath Fri, 19 Feb 2010 18:58:01 -0500 gant (1.8.1-1) unstable; urgency=low * New upstream release. -- Michael Koch Sun, 25 Oct 2009 21:21:55 +0100 gant (1.8.0-1) unstable; urgency=low * New upstream release. * Build-Depends on debhelper (>= 7). * Removed useless Depends default-jdk and java2-runtime. * Moved to section 'devel'. * Updated Standards-Version to 3.8.3. -- Michael Koch Tue, 06 Oct 2009 10:10:48 +0200 gant (1.7.0-1) unstable; urgency=low * New upstream release * Add myself to Uploaders * Change Section to java * Remove patch and dependency on quilt as the patch is no longer useful. * Add dependencies on headless Java runtimes as gant runs on the command line. -- Ludovic Claude Sat, 08 Aug 2009 01:09:41 +0100 gant (1.6.1-2) unstable; urgency=low * Switch to openjdk which fixes FTBFS (Closes: #533952) * Bump Standards-Version to 3.8.2 (no changes) -- Varun Hiremath Thu, 25 Jun 2009 05:17:35 -0400 gant (1.6.1-1) unstable; urgency=low * New upstream release -- Torsten Werner Sun, 01 Mar 2009 09:31:40 +0100 gant (1.6.0-1) unstable; urgency=low * New unstable release -- Torsten Werner Wed, 11 Feb 2009 22:56:45 +0100 gant (1.5.1-1) unstable; urgency=low * New upstream release -- Torsten Werner Sun, 11 Jan 2009 17:42:19 +0100 gant (1.5.0-1) unstable; urgency=low * New upstream release * Refresh patch build.diff. * Minor build fixes -- Torsten Werner Sun, 14 Dec 2008 12:03:48 +0100 gant (1.4.0+dak1-1) unstable; urgency=low * Upload missing orig tarball. -- Torsten Werner Sat, 08 Nov 2008 19:44:35 +0100 gant (1.4.0-2) unstable; urgency=low * Move package to main. -- Torsten Werner Sat, 08 Nov 2008 18:23:11 +0100 gant (1.4.0-1) unstable; urgency=low * New upstream release * Disable target -test with patch build.diff. -- Torsten Werner Mon, 11 Aug 2008 03:59:06 +0200 gant (1.3.0-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.8.0 * Add debian/gant.sh script * debian/copyright: remove full text of Apache 2.0 license; refer to /usr/share/common-licenses/Apache-2.0 -- Varun Hiremath Sun, 22 Jun 2008 17:37:53 +0530 gant (1.2.0-1) unstable; urgency=low * New upstream release -- Varun Hiremath Thu, 01 May 2008 10:19:21 +0530 gant (1.1.1-1) unstable; urgency=low * New upstream release -- Varun Hiremath Fri, 07 Mar 2008 15:29:13 +0530 gant (1.1.0-2) unstable; urgency=low * Move package to contrib as groovy is in contrib -- Varun Hiremath Sat, 16 Feb 2008 01:20:56 +0530 gant (1.1.0-1) unstable; urgency=low * Initial release (Closes: #465615) -- Varun Hiremath Fri, 15 Feb 2008 19:53:06 +0530 debian/manpages0000644000000000000000000000001612217660523010705 0ustar debian/gant.1 debian/source/0000755000000000000000000000000012217660523010472 5ustar debian/source/format0000644000000000000000000000001412217660523011700 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012217664417010627 5ustar debian/patches/series0000644000000000000000000000004012217664344012035 0ustar 01_fix_ant_1.9_api_changes.diff debian/patches/01_fix_ant_1.9_api_changes.diff0000644000000000000000000000230712217664365016325 0ustar Description: Fix API change in org.apache.tools.ant.Project class Author: Miguel Landaeta Bug-Debian: http://bugs.debian.org/713745 Forwarded: no Last-Update: 2013-09-22 --- gant-1.9.9.orig/src/main/groovy/org/codehaus/gant/ant/Gant.java +++ gant-1.9.9/src/main/groovy/org/codehaus/gant/ant/Gant.java @@ -202,12 +202,12 @@ public class Gant extends Task { */ // Russel Winder rehacked the code provided by Eric Van Dewoestine. private void addAlmostAll(final Project newProject, final Project oldProject) { - @SuppressWarnings("unchecked") final Hashtable properties = oldProject.getProperties(); + @SuppressWarnings("unchecked") final Hashtable properties = oldProject.getProperties(); final Enumeration e = properties.keys(); while (e.hasMoreElements()) { final String key = e.nextElement(); if (!(MagicNames.PROJECT_BASEDIR.equals(key) || MagicNames.ANT_FILE.equals(key))) { - if (newProject.getProperty(key) == null) { newProject.setNewProperty(key, properties.get(key)); } + if (newProject.getProperty(key) == null) { newProject.setNewProperty(key, properties.get(key).toString()); } } } } debian/rules0000755000000000000000000000122212217660523010247 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_ANT_BUILDFILE := debian/build.xml DEB_ANT_BUILD_TARGET := package UPSTREAM_VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e's,+dak.*,,') install/gant:: dh_install target_gant/gant-$(UPSTREAM_VERSION).jar /usr/share/groovy/lib/ dh_link /usr/share/groovy/lib/gant-$(UPSTREAM_VERSION).jar /usr/share/java/gant.jar install -D -m755 debian/gant.sh $(DEB_DESTDIR)/usr/share/groovy/bin/gant dh_link /usr/share/groovy/bin/gant /usr/bin/gant get-orig-source: uscan --force-download --rename debian/orig-tar.sh0000755000000000000000000000053512217660523011260 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' DIR=gant-$2.orig # clean up the upstream tarball tar zxf $3 mv gant-$2 $DIR GZIP=--best tar -c -z -f $3 --exclude '*.jar' $DIR rm -rf $DIR # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $3 $origDir echo "moved $3 to $origDir" fi debian/control0000644000000000000000000000245212217672724010606 0ustar Source: gant Section: devel Priority: optional Maintainer: Debian Java Maintainers Uploaders: Varun Hiremath , Torsten Werner , Miguel Landaeta Build-Depends: cdbs, debhelper (>= 7) Build-Depends-Indep: ant, groovy, default-jdk, libmaven-ant-tasks-java, maven2, libplexus-classworlds-java, libplexus-utils-java Standards-Version: 3.9.4 Homepage: http://gant.codehaus.org/ Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/gant Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/gant Package: gant Architecture: all Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless, groovy, ant Recommends: maven2 | maven, libmaven-ant-tasks-java Description: Groovy build framework based on scripting Ant tasks Gant is a build tool for scripting Ant tasks using Groovy instead of XML to specify the build logic. A Gant build specification is a Groovy script and so can bring all the power of Groovy to bear directly, something not possible with Ant scripts. Whilst it might be seen as a competitor to Ant, Gant uses Ant tasks for many of the actions, so Gant is really an alternative way of doing builds using Ant, but using a programming language rather than XML to specify the build rules. debian/compat0000644000000000000000000000000212217660523010370 0ustar 7 debian/gant.sh0000755000000000000000000000046212217660523010464 0ustar #!/bin/sh # Gant -- A Groovy build framework based on scripting Ant tasks. # Copyright © 2006-7 Russel Winder # Gant initiation script for Linux and UNIX # Use -cp or -classpath just as in java to use a custom classpath DIRNAME=`dirname "$0"` . "$DIRNAME/startGroovy" startGroovy gant.Gant "$@" debian/ant.properties0000644000000000000000000000005312217660523012070 0ustar environment.GROOVY_HOME=/usr/share/groovy/ debian/copyright0000644000000000000000000000113312217660523011123 0ustar This package was debianized by Varun Hiremath on Wed, 12 Dec 2007 14:21:59 +0530 It was downloaded from http://gant.codehaus.org/ Upstream Authors: Russel Winder Copyright: © 2006-2008 Russel Winder License: Licensed under the Apache License, Version 2.0 On Debian systems, full text of the Apache 2.0 license can be found at `/usr/share/common-licenses/Apache-2.0'. The Debian packaging is © 2007, Varun Hiremath and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/build.xml0000644000000000000000000002477312217660523011030 0ustar This Ant script provides the build needed by Debian whilst the Gradle system is not packaged. debian/watch0000644000000000000000000000015012217660523010217 0ustar version=3 http://dist.codehaus.org/gant/distributions/gant_src-([\d\.]+)\.tgz debian debian/orig-tar.sh