[med-svn] [phyloviz-core] 06/14: Create build.xml (thanks for the patch to Olivier)

Andreas Tille tille at debian.org
Mon Dec 18 18:57:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository phyloviz-core.

commit f07b194ff645847b29d435896f7041615bcf4d59
Author: Andreas Tille <tille at debian.org>
Date:   Wed Nov 21 21:11:44 2012 +0000

    Create build.xml (thanks for the patch to Olivier)
---
 debian/control                 |  2 +-
 debian/patches/build_xml.patch | 60 ++++++++++++++++++++++++++++++++++++++++++
 debian/patches/series          |  1 +
 3 files changed, 62 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 8eb914a..489cb82 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: science
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>
-Build-Depends: debhelper (>= 9), javahelper (>=0.25), default-jdk, ant
+Build-Depends: debhelper (>= 9), javahelper (>=0.25), default-jdk, ant, libnb-platform13-java
 Standards-Version: 3.9.4
 Homepage: http://www.phyloviz.net
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/phyloviz/phyloviz-core/trunk/
diff --git a/debian/patches/build_xml.patch b/debian/patches/build_xml.patch
new file mode 100644
index 0000000..0659f9c
--- /dev/null
+++ b/debian/patches/build_xml.patch
@@ -0,0 +1,60 @@
+Author: Olivier Sallou <olivier.sallou at irisa.fr>
+Date: Wed, 21 Nov 2012 18:37:47 +0100
+Description: build.xml without depending from netbeans magic
+
+--- net-phyloviz-core.orig/build.xml
++++ net-phyloviz-core/build.xml
+@@ -2,7 +2,51 @@
+ <!-- You may freely edit this file. See harness/README in the NetBeans platform -->
+ <!-- for some information on what you could do (e.g. targets to override). -->
+ <!-- If you delete this file and reopen the project it will be recreated. -->
+-<project name="net.phyloviz.core" default="netbeans" basedir=".">
++<project name="net.phyloviz.core" default="jar" basedir=".">
+     <description>Builds, tests, and runs the project net.phyloviz.core.</description>
+-    <import file="nbproject/build-impl.xml"/>
++
++    <property name="project.jarfile.name" value="phyloviz-core.jar"/>
++    <property name="build.dir" location="build"/>
++    <property name="class.dir" location="${build.dir}/classes"/>
++    <property name="src.dir" location="src"/>
++    <property name="dist.dir" location="dist"/>
++    <property name="class.path" value="/usr/share/netbeans/platform13/modules/org-openide-dialogs.jar /usr/share/netbeans/platform13/core/org-openide-filesystems.jar /usr/share/netbeans/platform13/modules/org-openide-awt.jar /usr/share/netbeans/platform13/lib/org-openide-util.jar /usr/share/netbeans/platform13/lib/org-openide-util-lookup.jar /usr/share/netbeans/platform13/modules/org-openide-nodes.jar /usr/share/netbeans/platform13/modules/org-openide-windows.jar /usr/share/netbeans/pla [...]
++
++	<path id="compile.classpath">
++	  <pathelement location="/usr/share/netbeans/platform13/modules/org-openide-dialogs.jar"/>
++	  <pathelement location="/usr/share/netbeans/platform13/core/org-openide-filesystems.jar"/>
++	  <pathelement location="/usr/share/netbeans/platform13/modules/org-openide-awt.jar"/>
++	  <pathelement location="/usr/share/netbeans/platform13/lib/org-openide-util.jar"/>
++	  <pathelement location="/usr/share/netbeans/platform13/lib/org-openide-util-lookup.jar"/>
++	  <pathelement location="/usr/share/netbeans/platform13/modules/org-openide-nodes.jar"/>
++	  <pathelement location="/usr/share/netbeans/platform13/modules/org-openide-explorer.jar"/>
++	  <pathelement location="/usr/share/netbeans/platform13/modules/org-openide-windows.jar"/>
++	  <pathelement location="/usr/share/netbeans/platform13/modules/org-openide-actions.jar"/>
++	  <pathelement location="/usr/share/netbeans/platform13/modules/org-netbeans-modules-settings.jar"/>
++	</path>
++
++	<target name="clean">
++		<echo>Cleaning build directories</echo>
++		<delete failonerror="false" verbose="true" includeEmptyDirs="true">
++			<fileset dir="${build.dir}" includes="**"/>
++			<fileset dir="${dist.dir}" includes="**"/>
++		</delete>
++	</target>
++
++        <target name="compile" depends="clean">
++		<mkdir dir="${class.dir}"/>
++		<mkdir dir="${dist.dir}"/>
++		<javac classpathref="compile.classpath" srcdir="${src.dir}" destdir="${class.dir}" source="1.5">
++		</javac>
++   	</target>
++
++	<target name="jar" depends="compile">
++		<jar destfile="${dist.dir}/${project.jarfile.name}"  basedir="${class.dir}" >
++		 <manifest>
++		    <attribute name="Built-By" value="${user.name}"/>
++		 	<attribute name="Class-Path" value="${class.path}"/>
++		  </manifest>
++		</jar>
++	</target>
++
+ </project>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..46a7f4e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+build_xml.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/phyloviz-core.git



More information about the debian-med-commit mailing list