ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/owl/tags/owl-for-eppic-2.0.3/build.xml
Revision: 1693
Committed: Wed Nov 27 09:02:57 2013 UTC (5 years, 11 months ago) by jmduarteg
File size: 4384 byte(s)
Log Message:
Tagging for eppic release 2.0.3
- more PDB metadata parsing: biounit assembly and release date
- improved rmsd calculation: new OptimalSuperposition class introduced
- improvements in interface calculation: now going to 12th cell
- introduced chain clusters and interface clusters
- some more checks in cif file parsing: now won't crash on phenix files
Line File contents
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- ======================================================================
3 owl
4
5 An ant script to build the owl package.
6 Targets:
7
8 - default -> core-only
9
10 - core-only: builds only owl.core and packs necessary jars only.
11 The uniprot.jar is not included as it changes often with UniProt version
12
13 - all: builds everything except for owl.tests and packs all jars
14
15 The build is output to a build/jar
16 Final owl.jar contains owl code with all dependent jars packed in it
17
18 duarte_j
19 ====================================================================== -->
20 <project name="owl" default="default">
21 <description>
22 description
23 </description>
24 <property name= "javaversion" value="1.6"/>
25 <property name="src.dir" value="src"/>
26 <property name="lib.dir" value="jars"/>
27 <property name="build.dir" value="build"/>
28 <property name="bin.dir" value="${build.dir}/bin"/>
29 <property name="jar.dir" value="${build.dir}/jar"/>
30
31 <property name="version" value="1.2.0"/>
32 <property name="title" value="Common java libraries"/>
33 <property name="vendor" value="Otto Warburg Laboratory, MPI for Molecular Genetics, Berlin"/>
34
35 <path id="classpath">
36 <fileset dir="${lib.dir}"
37 includes="**/*.jar"
38 excludes="ws-commons-util-1.0.2.jar,xmlrpc-client-3.1.jar,xmlrpc-common-3.1.jar">
39 </fileset>
40 </path>
41
42 <path id="classpath-core-only">
43 <fileset dir="${lib.dir}"
44 includes="**/*.jar"
45 excludes="ws-commons-util-1.0.2.jar,xmlrpc-client-3.1.jar,xmlrpc-common-3.1.jar,batik/**">
46 </fileset>
47 </path>
48
49 <!--Target all, to compile everything and include all jars
50 owl.tests not included-->
51 <target name="all" depends="clean,jar"/>
52
53 <!--Target core-only, for core packages only-->
54 <target name="core-only" depends="clean,jar-core-only"/>
55
56 <!--Target default goes to core-only -->
57 <target name="default" depends="core-only"/>
58
59
60 <target name="clean">
61 <delete dir="${build.dir}"></delete>
62 </target>
63
64 <target name="compile">
65 <mkdir dir="${bin.dir}"/>
66 <javac srcdir="${src.dir}"
67 source="${javaversion}"
68 target="${javaversion}"
69 destdir="${bin.dir}"
70 classpathref="classpath"
71 excludes="**/owl/tests/**,testPyMol.java,**/owl/core/util/PymolServerOutputStream.java"/>
72
73 <!-- resources -->
74 <copy todir="${bin.dir}">
75 <fileset dir="${src.dir}" excludes="**/*.java,**/owl/tests/**"></fileset>
76 </copy>
77 </target>
78
79 <target name="compile-core-only">
80 <mkdir dir="${bin.dir}"/>
81 <javac srcdir="${src.dir}"
82 source="${javaversion}"
83 target="${javaversion}"
84 destdir="${bin.dir}"
85 classpathref="classpath"
86 includes="**/owl/core/**/*.java"
87 excludes="testPyMol.java,**/owl/core/util/PymolServerOutputStream.java"
88 />
89
90 <!-- resources -->
91 <copy todir="${bin.dir}">
92 <fileset dir="${src.dir}" includes="**/owl/core/**" excludes="**/*.java"></fileset>
93 </copy>
94 </target>
95
96 <target name="jar" depends="compile">
97 <mkdir dir="${jar.dir}"/>
98 <jar destfile="${jar.dir}/${ant.project.name}.jar" basedir="${bin.dir}">
99 <zipgroupfileset dir="${lib.dir}"
100 includes="**/*.jar"
101 excludes="ws-commons-util-1.0.2.jar,xmlrpc-client-3.1.jar,xmlrpc-common-3.1.jar">
102 </zipgroupfileset>
103
104 <manifest>
105 <section name="${ant.project.name}"></section>
106 <attribute name="Specification-Title" value="${title}"/>
107 <attribute name="Specification-Vendor" value="${vendor}"/>
108 <attribute name="Specification-Version" value="${version}"/>
109 </manifest>
110 </jar>
111 </target>
112
113 <target name="jar-core-only" depends="compile-core-only">
114 <mkdir dir="${jar.dir}"/>
115 <jar destfile="${jar.dir}/${ant.project.name}.jar" basedir="${bin.dir}">
116 <zipgroupfileset dir="${lib.dir}"
117 includes="**/*.jar"
118 excludes="ws-commons-util-1.0.2.jar,xmlrpc-client-3.1.jar,xmlrpc-common-3.1.jar,batik/**,uniprot/uniprotjapi.jar">
119 </zipgroupfileset>
120
121 <manifest>
122 <section name="${ant.project.name}"></section>
123 <attribute name="Specification-Title" value="${title}"/>
124 <attribute name="Specification-Vendor" value="${vendor}"/>
125 <attribute name="Specification-Version" value="${version}"/>
126 </manifest>
127 </jar>
128 </target>
129
130 </project>

Properties

Name Value
svn:mime-type text/plain