/[debian]/libjabref-plugin-oo-java/branches/upstream/current/build.xml
ViewVC logotype

Contents of /libjabref-plugin-oo-java/branches/upstream/current/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2085 - (show annotations)
Thu Feb 25 16:20:37 2010 UTC (10 years, 9 months ago) by gregoa
File MIME type: text/xml
File size: 2027 byte(s)
[svn-upgrade] Integrating new upstream version, libjabref-plugin-oo-java (0.7.2+ds)
1 <?xml version="1.0"?>
2 <!--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
4 Example Ant build file how to create a jar for distribution
5 for an export plugin.
6
7 Version: $Revision: 2186 $
8 $Date: 2007-07-19 03:35:35 +0200 (Thu, 19 Jul 2007) $
9 $Author: coezbek $
10
11 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
12 <project name="net.sf.jabref.oo.ooplugin" default="jar" basedir=".">
13
14 <!-- Properties -->
15 <property name="version" value="0.7.2" />
16 <property name="build.classes" value="classes" />
17 <property name="jabref.build.dir" value="lib" />
18 <property name="jar.dir" value="dist" />
19 <property name="jar" value="${jar.dir}/${ant.project.name}-${version}.jar" />
20
21 <path id="classpath">
22 <fileset dir="${jabref.build.dir}">
23 <include name="jurt.jar" />
24 <include name="juh.jar" />
25 <include name="unoil.jar" />
26 <include name="ridl.jar" />
27 <include name="JabRef-2.6b.jar" />
28 </fileset>
29 </path>
30
31 <!-- Compiles project excluding tests -->
32 <target name="compile">
33 <mkdir dir="${build.classes}" />
34 <javac debug="on" deprecation="on" destdir="${build.classes}" source="1.5" target="1.5">
35 <src path="." />
36 <classpath refid="classpath" />
37 </javac>
38 </target>
39
40 <!-- Jars up project -->
41 <target name="jar" depends="compile" >
42 <jar destfile="${jar}">
43 <fileset dir=".">
44 <exclude name="UNO*"/>
45 <exclude name="dist"/>
46 <exclude name="lib"/>
47 <include name="plugin.xml"/>
48 <include name="CHANGELOG"/>
49 <include name="OOPlugin.html"/>
50 <include name="images/**"/>
51 </fileset>
52 <fileset dir="classes">
53 <include name="**"/>
54 </fileset>
55 </jar>
56 </target>
57
58 <target name="clean" description="Clean project">
59 <delete dir="${build.classes}" />
60 <delete file="${jar}" />
61
62 </target>
63
64 </project>

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26