[med-svn] r12439 - trunk/packages/pcalendar/trunk/debian/patches
Andreas Tille
tille at alioth.debian.org
Tue Oct 16 12:24:32 UTC 2012
Author: tille
Date: 2012-10-16 12:24:32 +0000 (Tue, 16 Oct 2012)
New Revision: 12439
Modified:
trunk/packages/pcalendar/trunk/debian/patches/build.patch
Log:
Fix build.xml
Modified: trunk/packages/pcalendar/trunk/debian/patches/build.patch
===================================================================
--- trunk/packages/pcalendar/trunk/debian/patches/build.patch 2012-10-16 12:24:05 UTC (rev 12438)
+++ trunk/packages/pcalendar/trunk/debian/patches/build.patch 2012-10-16 12:24:32 UTC (rev 12439)
@@ -1,6 +1,6 @@
--- /dev/null
+++ b/build.xml
-@@ -0,0 +1,90 @@
+@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project basedir="." default="all" name="PeriodicCalendar">
@@ -54,47 +54,21 @@
+ </copy>
+
+ <jar basedir="classes" compress="true"
-+ jarfile="pcalendar-3.2.0.jar" manifest="META-INF/MANIFEST.MF" />
++ jarfile="pcalendar.jar" />
+ </target>
+
-+ <target depends="init,jar,javadoc" description="Build everything." name="all">
++ <target depends="init,jar" description="Build everything." name="all">
+ <echo message="${ant.project.name} built"/>
+ </target>
+
-+ <target depends="init" description="Javadoc for ${ant.project.name}." name="javadoc">
-+ <condition property="javadoc.breakiterator" value="-breakiterator">
-+ <or>
-+ <equals arg1="${ant.java.version}" arg2="1.4" />
-+ <equals arg1="${ant.java.version}" arg2="1.5" />
-+ </or>
-+ </condition>
-+ <property name="javadoc.breakiterator" value="" />
-+ <mkdir dir="apidoc"/>
-+ <javadoc destdir="apidoc" packagenames="net.sf.linuxorg.pcal.*"
-+ additionalparam="${javadoc.breakiterator}"
-+ doctitle="PeriodicCalendar Docs" >
-+ <sourcepath>
-+ <pathelement location="src"/>
-+ </sourcepath>
-+ <classpath refid="class.path" />
-+ </javadoc>
-+ </target>
-+
+ <target depends="init" description="Clean all." name="clean">
+ <delete>
+ <fileset dir="classes">
+ <include name="**/*.class"/>
+ </fileset>
+ </delete>
-+ <delete file="pcalendar-3.2.0.jar"/>
++ <delete file="pcalendar.jar"/>
+ <delete dir="classes" />
+ </target>
+
+</project>
---- /dev/null
-+++ b/META-INF/MANIFEST.MF
-@@ -0,0 +1,4 @@
-+Manifest-Version: 1.0
-+Sealed: true
-+Main-Class: net.sf.linuxorg.pcal.PCalendar
-+Class-Path: /usr/share/java/xercesImpl.jar
More information about the debian-med-commit
mailing list