--- ant-1.7.1.orig/debian/ant.poms +++ ant-1.7.1/debian/ant.poms @@ -0,0 +1,4 @@ +src/etc/poms/pom.xml --no-parent +src/etc/poms/ant/pom.xml +src/etc/poms/ant-launcher/pom.xml + --- ant-1.7.1.orig/debian/ant.properties +++ ant-1.7.1/debian/ant.properties @@ -0,0 +1,5 @@ +base64.present=true +sunuue.present=true +offline=true +javac.target=1.3 +javac.source=1.3 --- ant-1.7.1.orig/debian/ant.links +++ ant-1.7.1/debian/ant.links @@ -0,0 +1,2 @@ +/usr/share/ant/bin/ant /usr/bin/ant +/usr/share/ant/etc/ant-bootstrap.jar /usr/share/java/ant-bootstrap.jar --- ant-1.7.1.orig/debian/rules +++ ant-1.7.1/debian/rules @@ -0,0 +1,116 @@ +#!/usr/bin/make -f +# debian/rules file for ant (uses cdbs) + +#export DH_VERBOSE=1 + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +include /usr/share/gcj/debian_defaults +ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs))) + with_gcj_native := yes +endif + +# needs to be exported for direct ant call +export JAVA_HOME := /usr/lib/jvm/default-java +# needed for bootstrap.sh +export JAVAC=$(JAVA_HOME)/bin/javac +# needed for bootstrap +export BOOTJAVAC_OPTS=-source 1.3 -target 1.3 -nowarn +# needed for building with bootstrap ant +export ANT_HOME := bootstrap + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + export ANT_OPTS=-Dcompile.debug=true -Dcompile.optimize=false +else + export ANT_OPTS=-Dcompile.debug=true -Dcompile.optimize=true +endif + +PACKAGE := $(DEB_SOURCE_PACKAGE) +VERSION := $(DEB_UPSTREAM_VERSION) +JAR_PATH := /usr/share/java +CLASSPATH := ${JAR_PATH}/activation.jar:${JAR_PATH}/antlr.jar:${JAR_PATH}/bcel.jar:${JAR_PATH}/bsf.jar:${JAR_PATH}/commons-logging.jar:${JAR_PATH}/gnumail.jar:${JAR_PATH}/inetlib.jar:${JAR_PATH}/jdepend.jar:${JAR_PATH}/junit.jar:${JAR_PATH}/log4j-1.2.jar:${JAR_PATH}/oro.jar:${JAR_PATH}/regexp.jar:${JAR_PATH}/xalan2.jar:${JAR_PATH}/xml-commons-resolver-1.1.jar:${JAR_PATH}/commons-net.jar:${JAR_PATH}/jsch.jar + +build-ant: stamp-build-ant +stamp-build-ant: + # doing bootstrapping + install -d bootstrap/lib + ln -sf /usr/share/java/xml-apis.jar $(DEB_BUILDDIR)/bootstrap/lib/xml-apis.jar + ln -sf /usr/share/java/xercesImpl.jar $(DEB_BUILDDIR)/bootstrap/lib/xercesImpl.jar + /bin/sh bootstrap.sh + # remove -SNAPSHOT from the versions in the Maven poms + perl -p -i -e 's/-SNAPSHOT//g' `find src/etc/poms/ -name pom.xml` + # the rest + /bin/sh bootstrap/bin/ant -Dant.build.javac.source=1.4 -Dant.build.javac.target=1.4 -lib ${CLASSPATH} -propertyfile debian/ant.properties jars javadocs + ln -sf /usr/share/java/xml-apis.jar $(DEB_BUILDDIR)/lib/xml-apis.jar + ln -sf /usr/share/java/xercesImpl.jar $(DEB_BUILDDIR)/lib/xercesImpl.jar + touch stamp-build-ant + +install/ant:: build-ant + dh_install -pant + mh_installpoms -pant --set-version=$(VERSION) + mh_installjar -pant -l src/etc/poms/ant/pom.xml build/lib/ant.jar /usr/share/ant/lib/ant.jar + mh_installjar -pant -l src/etc/poms/ant-launcher/pom.xml build/lib/ant-launcher.jar /usr/share/ant/lib/ant-launcher.jar + dh_install -pant build/lib/ant-bootstrap.jar /usr/share/ant/etc/ + # Installing these files does not work with dh_install because of + # the file permissions + mkdir -p debian/ant/usr/share/ant/bin + install -m 755 src/script/ant debian/ant/usr/share/ant/bin + install -m 755 src/script/antRun debian/ant/usr/share/ant/bin + install -m 755 src/script/*.pl debian/ant/usr/share/ant/bin + +install/ant-optional:: build-ant + dh_install -pant-optional src/etc/ant-update.xsl /usr/share/ant/etc/ + dh_install -pant-optional src/etc/checkstyle /usr/share/ant/etc/ + mh_installpoms -pant-optional --set-version=$(VERSION) + mh_installjar -pant-optional -l src/etc/poms/ant-antlr/pom.xml build/lib/ant-antlr.jar /usr/share/ant/lib/ant-antlr.jar + mh_installjar -pant-optional -l src/etc/poms/ant-apache-bcel/pom.xml build/lib/ant-apache-bcel.jar /usr/share/ant/lib/ant-apache-bcel.jar + mh_installjar -pant-optional -l src/etc/poms/ant-apache-bsf/pom.xml build/lib/ant-apache-bsf.jar /usr/share/ant/lib/ant-apache-bsf.jar + mh_installjar -pant-optional -l src/etc/poms/ant-apache-log4j/pom.xml build/lib/ant-apache-log4j.jar /usr/share/ant/lib/ant-apache-log4j.jar + mh_installjar -pant-optional -l src/etc/poms/ant-apache-oro/pom.xml build/lib/ant-apache-oro.jar /usr/share/ant/lib/ant-apache-oro.jar + mh_installjar -pant-optional -l src/etc/poms/ant-apache-regexp/pom.xml build/lib/ant-apache-regexp.jar /usr/share/ant/lib/ant-apache-regexp.jar + mh_installjar -pant-optional -l src/etc/poms/ant-apache-resolver/pom.xml build/lib/ant-apache-resolver.jar /usr/share/ant/lib/ant-apache-resolver.jar + mh_installjar -pant-optional -l src/etc/poms/ant-commons-logging/pom.xml build/lib/ant-commons-logging.jar /usr/share/ant/lib/ant-commons-logging.jar + mh_installjar -pant-optional -l src/etc/poms/ant-commons-net/pom.xml build/lib/ant-commons-net.jar /usr/share/ant/lib/ant-commons-net.jar + mh_installjar -pant-optional -l src/etc/poms/ant-javamail/pom.xml build/lib/ant-javamail.jar /usr/share/ant/lib/ant-javamail.jar + mh_installjar -pant-optional -l src/etc/poms/ant-jdepend/pom.xml build/lib/ant-jdepend.jar /usr/share/ant/lib/ant-jdepend.jar + mh_installjar -pant-optional -l src/etc/poms/ant-jmf/pom.xml build/lib/ant-jmf.jar /usr/share/ant/lib/ant-jmf.jar + mh_installjar -pant-optional -l src/etc/poms/ant-jsch/pom.xml build/lib/ant-jsch.jar /usr/share/ant/lib/ant-jsch.jar + mh_installjar -pant-optional -l src/etc/poms/ant-junit/pom.xml build/lib/ant-junit.jar /usr/share/ant/lib/ant-junit.jar + mh_installjar -pant-optional -l src/etc/poms/ant-nodeps/pom.xml build/lib/ant-nodeps.jar /usr/share/ant/lib/ant-nodeps.jar + mh_installjar -pant-optional -l src/etc/poms/ant-swing/pom.xml build/lib/ant-swing.jar /usr/share/ant/lib/ant-swing.jar + mh_installjar -pant-optional -l src/etc/poms/ant-trax/pom.xml build/lib/ant-trax.jar /usr/share/ant/lib/ant-trax.jar + #mh_installjar -pant-optional src/etc/poms/ant-testutil/pom.xml ant-testutil/build/ant-testutil-$(VERSION).jar + #mh_installjar -pant-optional src/etc/poms/ant-stylebook/pom.xml ant-stylebook/build/ant-stylebook-$(VERSION).jar + #mh_installjar -pant-optional src/etc/poms/ant-jai/pom.xml ant-jai/build/ant-jai-$(VERSION).jar + #mh_installjar -pant-optional src/etc/poms/ant-netrexx/pom.xml ant-netrexx/build/ant-netrexx-$(VERSION).jar + #mh_installjar -pant-optional src/etc/poms/ant-starteam/pom.xml ant-starteam/build/ant-starteam-$(VERSION).jar + #mh_installjar -pant-optional src/etc/poms/ant-weblogic/pom.xml ant-weblogic/build/ant-weblogic-$(VERSION).jar + +ifeq ($(with_gcj_native),yes) +install/ant-gcj:: install/ant + dh_install -pant + dh_nativejava -pant-gcj +endif + +ifeq ($(with_gcj_native),yes) +install/ant-optional-gcj:: install/ant-optional + dh_install -pant-optional + dh_nativejava -pant-optional-gcj +endif + +install/ant-doc:: + -rm -f docs/manual/LICENSE + # install linda override - the changelog is not a changelog but a task description + install -m 644 debian/ant-doc.linda.override debian/ant-doc/usr/share/linda/overrides/ant-doc + +clean:: + -rm -f gjdoc_rawcomment.cache + -rm -rf bin bootstrap build lib/*.jar + -rm -f stamp-build-ant + -rm -rf debian/tmp + +get-orig-source: + -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename --repack + + --- ant-1.7.1.orig/debian/ant-optional.dirs +++ ant-1.7.1/debian/ant-optional.dirs @@ -0,0 +1,3 @@ +usr/share/ant/lib +usr/share/ant/etc +usr/share/java --- ant-1.7.1.orig/debian/maven.publishedRules +++ ant-1.7.1/debian/maven.publishedRules @@ -0,0 +1,2 @@ +s/ant/org.apache.ant/ * * s/.*/debian/ + --- ant-1.7.1.orig/debian/ant-doc.linda.override +++ ant-1.7.1/debian/ant-doc.linda.override @@ -0,0 +1 @@ +Tag: html-only-changelog --- ant-1.7.1.orig/debian/ant.manpages +++ ant-1.7.1/debian/ant.manpages @@ -0,0 +1,2 @@ +debian/ant.1 +debian/build.xml.5 --- ant-1.7.1.orig/debian/copyright +++ ant-1.7.1/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Stefan Gybas on 19-May-2000. +The source code was downloaded from http://ant.apache.org/. + +Home page, download location: + + http://ant.apache.org/ + http://www.apache.org/dist/ant/source/ + + +Authors: + + The Apache Ant team, see http://ant.apache.org/contributors.html for details + + +Copyright: (C) 2000-2008 Apache Foundation + +License: + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +The full text of the Apache license can be found in +`/usr/share/common-licenses/Apache-2.0'. + --- ant-1.7.1.orig/debian/build.xml.5 +++ ant-1.7.1/debian/build.xml.5 @@ -0,0 +1,173 @@ +.TH build.xml 5 "June 2005" "Debian/GNU Linux" +.SH NAME +build.xml \- configuration file used by ant to build projects + +.SH DESCRIPTION + +The file +.B build.xml +is the default configuration file used by +.B ant +to determine target to build for a specific project. It can be +considered the ant equivalent of Makefile. + +The format of +.B ant +is XML and for each project a seperate file is constructed. +The buildfile consists of one or more tasks. An example is +given below. + + + + + + + + + +This example has one target and it is defaulted. The target itself +consists of one task +.B javac +which compiles the files in the \fIsrc\fR directory. + +.SH TARGETS + +Targets can depend on other targets. These dependencies are given by +the \fIdepends\fR attribute of the <\fItarget\fR> element. + +.SH TASKS + +A task is a piece of code that is executed. +.B Ant +recognizes built-in task, optional tasks, but one can also write new +tasks. + +.B Built-in tasks + +The built-in tasks are: \fIAnt\fR, \fIAntCall\fR, \fIAntStructure\fR, +\fIApply\fR, \fIAvailable\fR, \fIBasename\fR, \fIBuildNumber\fR, +\fIBUnzip2\fR, \fIBZip2\fR, \fIChecksum\fR, \fIChmod\fR, \fIConcat\fR, +\fICondition\fR, \fICopy\fR, \fICvs\fR, \fIDelete\fR, \fIDeltree\fR, +\fIDirname\fR, \fIEar\fR, \fIEcho\fR, \fIExec\fR, \fIFail\fR, \fIFilter\fR, +\fIFixCRLF\fR, \fIGenKey\fR, \fIGet\fR, \fIGUnzip\fR, \fIGZip\fR, +\fIImport\fR, \fIInput\fR, \fIJar\fR, \fIJava\fR, \fIJavac\fR, +\fIJavadoc\fR, \fILength\fR, \fILoadFile\fR, \fILoadProperties\fR, +\fIMail\fR, \fIMkdir\fR, \fIMove\fR, \fINice\fR, \fIParallel\fR, +\fIPatch\fR, \fIPathConvert\fR, \fIProperty\fR, \fIRecord\fR, +\fIReplace\fR, \fIRmic\fR, \fISequential\fR, \fISignJar\fR, \fISleep\fR, +\fISql\fR, \fIStyle\fR, \fISubant\fR, \fISync\fR, \fITar\fR, \fITaskdef\fR, +\fITempfile\fR, \fITouch\fR, \fITStamp\fR, \fITypedef\fR, \fIUnjar\fR, +\fIUntar\fR, \fIUnwar\fR, \fIUnzip\fR, \fIUptodate\fR, \fIWaitfor\fR, +\fIWar\fR, \fIWhichResource\fR, \fIXmlProperty\fR, \fIXslt\fR, \fIZip\fR + +.TP +\fBJava\fR +Executes a Java class within the running (Ant) VM or forks another VM if +specified. Below are some of the attibutes to the <\fIjava\fR> element: + +.B classname +(required) the Java class to execute + +.B fork +if enabled triggers the class execution in another VM (disabled by default) + +.B jvm +the command used to invoke the Java Virtual Machine, default is +\fIjava\fR. The command is resolved by java.lang.Runtime.exec(). +Ignored if fork is disabled. + +Other arguments are \fIclasspath\fR, \fIclasspathref\fR, \fImaxmemory\fR, +\fIfailonerror\fR, \fIdir\fR and \fIoutput\fR. + +.TP +\fBJavac\fR +Compiles a source tree within the running (Ant) VM. + +.B srcdir +(required) location of the java files + +.B destdir +location to store the class files + +.B debug +indicates whether source should be compiled +with debug information; defaults to off + +.B optimize +indicates whether source should be compiled +with optimization; defaults to off + +.B target +generate class files for specific VM version +(e.g., 1.1 or 1.2). + +.B includes +comma-separated list of patterns of files that +must be included; all files are included when omitted + +.B excludes +comma-separated list of patterns of files that +must be excluded; no files (except default +excludes) are excluded when omitted. + +.B defaultexcludes +indicates whether default excludes should be +used (yes | no); default excludes are used +when omitted. + +Other arguments are \fIincludesfile\fR, \fIexcludesfile\fR, +\fIclasspath\fR, \fIbootclasspath\fR, \fIclasspathref\fR, +\fIbootclasspathref\fR, \fIextdirs\fR, \fIencoding\fR, +\fIdeprecation\fR, \fIverbose\fR, \fIincludeAntRuntime\fR, +\fIincludeJavaRuntime\fR and \fIfailonerror\fR. + +.SH Properties + +A project can have a set of properties, which consist of a name value +combination. Within tasks they can be used by placing them between +"${" and "}", as in "${builddir}/classes". + +.B Built-in Properties + +Ant provides access to all system properties as if they had been defined +using a <\fIproperty\fR> task. For example, ${os.name} expands to the name of +the operating system. + +.TP +\fBbasedir\fR +the absolute path of the project's basedir (as set +with the basedir attribute of ). +.TP +\fBant.file\fR +the absolute path of the buildfile. +.TP +\fBant.version\fR +the version of Ant. +.TP +\fBant.project.name\fR +the name of the project that is currently executing; +it is set in the name attribute of . +.TP +\fBant.java.version\fR +the JVM version Ant detected; currently it can hold +the values "1.1", "1.2" and "1.3". + +.SH Classpath + +The classpath can be set by using the <\fIclasspath\fR> +element: + + + + + + + + + +.SH SEE ALSO +.BR ant (1) + +.SH AUTHOR +This manpage is made by Egon Willighagen +and based on the Ant Manual <\fIhttp://jakarta.apache.org/ant/manual/\fR>. --- ant-1.7.1.orig/debian/ant-doc.docs +++ ant-1.7.1/debian/ant-doc.docs @@ -0,0 +1,7 @@ +docs/manual +docs/images +docs/*.html +docs/*.css +NOTICE +README +WHATSNEW --- ant-1.7.1.orig/debian/watch +++ ant-1.7.1/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://www.apache.org/dist/ant/source/apache-ant-(.*)-src\.tar\.gz debian uupdate --- ant-1.7.1.orig/debian/ant-optional.poms +++ ant-1.7.1/debian/ant-optional.poms @@ -0,0 +1,18 @@ +src/etc/poms/ant-nodeps/pom.xml +src/etc/poms/ant-antlr/pom.xml +src/etc/poms/ant-apache-bcel/pom.xml +src/etc/poms/ant-apache-bsf/pom.xml +src/etc/poms/ant-apache-log4j/pom.xml +src/etc/poms/ant-apache-oro/pom.xml +src/etc/poms/ant-apache-regexp/pom.xml +src/etc/poms/ant-apache-resolver/pom.xml +src/etc/poms/ant-commons-logging/pom.xml +src/etc/poms/ant-commons-net/pom.xml +src/etc/poms/ant-javamail/pom.xml +src/etc/poms/ant-jdepend/pom.xml +src/etc/poms/ant-jmf/pom.xml +src/etc/poms/ant-jsch/pom.xml +src/etc/poms/ant-junit/pom.xml +src/etc/poms/ant-swing/pom.xml +src/etc/poms/ant-trax/pom.xml + --- ant-1.7.1.orig/debian/ant-doc.links +++ ant-1.7.1/debian/ant-doc.links @@ -0,0 +1 @@ +/usr/share/doc/ant/api /usr/share/doc/ant-doc/manual/api --- ant-1.7.1.orig/debian/ant-doc.dirs +++ ant-1.7.1/debian/ant-doc.dirs @@ -0,0 +1 @@ +usr/share/linda/overrides --- ant-1.7.1.orig/debian/maven.rules +++ ant-1.7.1/debian/maven.rules @@ -0,0 +1,9 @@ +junit junit jar s/3\..*/3.x/ +antlr antlr jar s/2\..*/2.x/ +s/bcel/org.apache.bcel/ bcel jar s/5\..*/5.x/ +commons-logging s/commons-logging-api/commons-logging/ * s/.*/debian/ +commons-net commons-net jar s/1\..+/1.x/ +commons-net commons-net jar s/2\..+/2.x/ +log4j log4j jar s/1\.2\..*/1.2.x/ +s/regexp/jakarta-regexp/ s/regexp/jakarta-regexp/ * s/.*/debian/ + --- ant-1.7.1.orig/debian/README.Debian +++ ant-1.7.1/debian/README.Debian @@ -0,0 +1,39 @@ +Ant 1.7 for Debian +================== + + All JAR archives in /usr/share/ant/lib/ are appended to the classpath + before Ant is run. You can add symlinks there to automatically extend + Ant's CLASSPATH. + + Additional directories to be searched may be added by using the -lib + option. The -lib option specifies a search path. Any jars or classes + in the directories of the path will be added to Ant's classloader. + + The order in which jars are added to the classpath is as follows: + + -lib jars in the order specified by the -lib elements on the command line + jars from ${user.home}/.ant/lib (unless -nouserlib is set) + jars from ANT_HOME/lib + + The need libraries for all optional tasks supported by the ant-optional + package are suggested during install. They are only suggested as there is + only a need to install a specific library if you use a specific optional + task. The library dependency for the optional tasks can be found in the + manual - which is provided by the ant-doc package. + + Not all JARs from the original upstream distribution are part of the Debian + package because the required libraries to build them have not been packaged + yet or are non-free packages. The missing archives are: + + ant-xalan1 -- you can use ant-xalan2 with libxalan2-java instead + ant-xslp + ant-stylebook + ant-icontract + ant-netrexx + ant-starteam + ant-vaj + ant-jai + ant-weblogic + + Differences to upstream binary distribution for the build libraries: + + ant-junit.jar - lacks Xalan1Executor (use Xalan2Executor) --- ant-1.7.1.orig/debian/compat +++ ant-1.7.1/debian/compat @@ -0,0 +1 @@ +6 --- ant-1.7.1.orig/debian/ant.dirs +++ ant-1.7.1/debian/ant.dirs @@ -0,0 +1,5 @@ +usr/bin +usr/share/ant/bin +usr/share/ant/etc +usr/share/ant/lib +usr/share/java --- ant-1.7.1.orig/debian/ant-doc.install +++ ant-1.7.1/debian/ant-doc.install @@ -0,0 +1,2 @@ +build/javadocs/* usr/share/doc/ant/api/ + --- ant-1.7.1.orig/debian/changelog +++ ant-1.7.1/debian/changelog @@ -0,0 +1,538 @@ +ant (1.7.1-4ubuntu0.1) karmic-proposed; urgency=low + + * Fix ant to correctly build JAX-WS. LP: #600272. + + -- Matthias Klose Wed, 30 Jun 2010 22:44:07 +0000 + +ant (1.7.1-4) unstable; urgency=low + + * Fix link to /usr/share/doc/ant-doc/manual/api. You may + have to uninstall ant-doc then install it again for this + change to take effect (Closes: #541416) + + -- Ludovic Claude Tue, 01 Sep 2009 18:16:28 +0100 + +ant (1.7.1-3) unstable; urgency=low + + * Upload to unstable. + + -- Torsten Werner Sun, 09 Aug 2009 10:07:55 +0200 + +ant (1.7.1-2) experimental; urgency=low + + * Bump up Standards-Version to 3.8.2 + * Move Ant Javadoc to /usr/share/doc/ant/api/ + * Deploy missing POM files for ant-optional package + * Fix version for antlr, bcel, commons-net, log4j dependencies in the + Maven POMs. + * Fix groupId and artifactId for commons-logging and regexp + dependencies in the Maven POMs. + * Fix Ant version in the Maven repository + + -- Ludovic Claude Wed, 22 Jul 2009 19:08:53 +0100 + +ant (1.7.1-1) experimental; urgency=low + + [Ludovic Claude] + * Change section to java, bump up Standards-Version to 3.8.1 + * Update debhelper and compat to 6 + * Add Matthias Klose to Uploaders + * Move ant-gcj from Recommends to Suggests for ant binary package + (closes: #506220) + * Add Build-Depends on libjaxp-1.3-java as xml-apis.jar has moved to this + package. Add a Suggests on the same package for ant-optional + * Add the Maven POMs to the package, + * 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 + * Remove the full text of the Apache 2.0 license + + [Colin Watson] + * Drop JDK recommendation to a Suggests to make it feasible to fit ant on + the server CD (thanks, Thierry Carrez; LP: #389470). + + [Richard A. Johnson] + * Added 11_ant_underscore_dash_fix.patch fixes - to _ conversion LP: #296409 + + [Matthias Klose] + * New upstream version (bug fix release). + - mainly a bugfix release. + - has extended support for Java6 features. + -