File: suppress_build_web_interface.patch

package info (click to toggle)
alter-sequence-alignment 1.3.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,132 kB
  • sloc: java: 6,623; xml: 60; makefile: 5; sh: 2
file content (30 lines) | stat: -rw-r--r-- 1,136 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Author: Andreas Tille <tille@debian.org>
Last-Update: Sat, 05 Sep 2015 07:13:34 +0200
Description: Currently only the library is packaged while the web interface is ignored
 The rationale is that libalter-java is packaged as a dependency for
 other packages.  There was no explicite request to package the
 web interface which involves a lot of third party JARs and thus
 makes it complex to package.

--- a/build.xml
+++ b/build.xml
@@ -1,9 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project name="ALTER" default="buildall" basedir="."> 
+<project name="ALTER" default="buildlib" basedir="."> 
 
   <target name="buildlib">
     <ant antfile="build.xml" dir="./alter-lib" inheritAll="false"/>   
-    <copy file="./alter-lib/dist/ALTER.jar" tofile="./web/ALTER.jar"/>
   </target>
   
   <target name="buildall" depends="clean, buildlib">
@@ -11,8 +10,6 @@
   </target>
   <target name="clean">
     <ant antfile="build.xml" dir="./alter-lib" target="clean" inheritAll="false"/>   
-    <ant antfile="build.xml" dir="./web" target="clean" inheritAll="false"/> 
-    <delete file="./web/ALTER.jar"/>
   </target>
   
 </project>