/[svn]/jlscp/trunk/build.xml
ViewVC logotype

Annotation of /jlscp/trunk/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1976 - (hide annotations) (download) (as text)
Mon Aug 3 15:20:35 2009 UTC (10 years, 6 months ago) by iliev
File MIME type: text/xml
File size: 2779 byte(s)
- preparations for release 0.8

1 iliev 672 <project name="jlscp" default="build-lib" basedir=".">
2     <description>This buildfile is used to build the jlscp library</description>
3    
4 iliev 1976 <property name="jlscp.version" value="0.8"/>
5 iliev 672
6     <target name="build-all" depends="build-lib,build-examples,build-doc"/>
7    
8     <target name="build-lib" depends="clean-lib,build-manifest">
9 iliev 1563 <javac debug="true" debuglevel="source,lines" srcdir="./src" destdir="./lib/build"/>
10 iliev 672 <copy todir="./lib/build/org/linuxsampler/lscp/langprops">
11     <fileset dir="./src/org/linuxsampler/lscp/langprops"/>
12     </copy>
13     <jar basedir="./lib/build" excludes="Manifest" destfile="./lib/jlscp.jar" manifest="./lib/build/Manifest"/>
14     <delete dir="./lib/build"/>
15     </target>
16    
17     <target name="build-doc" depends="clean-doc">
18     <mkdir dir="doc/api"/>
19     <javadoc sourcepath="./src" destdir="./doc/api" windowtitle="jlscp ${jlscp.version} API specification" overview="./src/overview.html" Author="false" splitindex="true" use="true">
20     <package name="org.linuxsampler.lscp"/>
21     <package name="org.linuxsampler.lscp.event"/>
22     <doctitle>jlscp ${jlscp.version} API specification</doctitle>
23     <header><![CDATA[<b>jlscp</b><br><font size=-1>v${jlscp.version}</font>]]></header>
24 iliev 1976 <bottom><![CDATA[<font size=-1>Copyright &copy; 2009 Grigor Iliev. All rights reserved.</font>]]></bottom>
25 iliev 672 </javadoc>
26     </target>
27    
28     <target name="build-examples" depends="clean-examples">
29     <mkdir dir="examples/build"/>
30     <javac debug="true" debuglevel="source,lines" srcdir="./examples" destdir="./examples/build" classpath="lib/jlscp.jar"/>
31     </target>
32    
33     <target name="build-manifest">
34     <mkdir dir="lib/build"/>
35     <manifest file="./lib/build/Manifest">
36     <section name="org/linuxsampler/lscp/">
37     <attribute name="Specification-Title" value="A java LinuxSampler control protocol API"/>
38 iliev 1976 <attribute name="Specification-Version" value="1.4"/>
39 iliev 672 <attribute name="Specification-Vendor" value="Grigor Iliev"/>
40     <attribute name="Implementation-Title" value="org.linuxsampler.lscp"/>
41     <attribute name="Implementation-Version" value="${jlscp.version}"/>
42     <attribute name="Implementation-Vendor" value="Grigor Iliev"/>
43     </section>
44     </manifest>
45     </target>
46    
47     <target name="clean-all" depends="clean-lib,clean-examples,clean-doc"/>
48    
49     <target name="clean-lib">
50     <delete dir="lib"/>
51     </target>
52    
53     <target name="clean-doc">
54     <delete dir="doc"/>
55     </target>
56    
57     <target name="clean-examples">
58     <delete dir="examples/build"/>
59     </target>
60     </project>
61    

  ViewVC Help
Powered by ViewVC