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

Contents of /jsampler/trunk/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1285 - (show annotations) (download) (as text)
Fri Aug 10 19:55:03 2007 UTC (13 years, 2 months ago) by iliev
File MIME type: text/xml
File size: 8498 byte(s)
* Updated to version 0.6a. The Fantasia distribution is now
  capable of controlling all features available in LinuxSampler

1 <project name="JSampler" default="build-jsclassic" basedir=".">
2 <description>This buildfile is used to build JSampler distributions</description>
3
4 <property name="jlscp.version" value="0.5a"/>
5 <property name="jlscp.srcdir" value="lib/required/jlscp/src"/>
6 <property name="juife.version" value="0.4a"/>
7 <property name="juife.srcdir" value="lib/required/juife/src"/>
8 <property name="JSampler.version" value="0.6a"/>
9
10 <target name="build-jsclassic" depends="clean-jsclassic,build-manifest">
11 <manifest file="dist/build/views.mf">
12 <attribute name="JS-Views" value="classic"/>
13 <attribute name="JS-Default-View" value="classic"/>
14
15 <section name="classic">
16 <attribute name="View-Name" value="JS Classic"/>
17 <attribute name="View-Config" value="org.jsampler.view.classic.ViewConfig"/>
18 <attribute name="Main-Frame" value="org.jsampler.view.classic.MainFrame"/>
19 <attribute name="Progress-Indicator" value="org.jsampler.view.classic.ProgressDlg"/>
20 </section>
21 </manifest>
22
23 <copy todir="./dist/build/org/jsampler/view">
24 <fileset file="./dist/build/views.mf"/>
25 </copy>
26
27 <unjar src="lib/required/jlscp.jar" dest="dist/build">
28 <patternset>
29 <include name="org/**"/>
30 </patternset>
31 </unjar>
32
33 <unjar src="lib/required/juife.jar" dest="dist/build">
34 <patternset>
35 <include name="net/**"/>
36 </patternset>
37 </unjar>
38
39 <javac debug="true" debuglevel="source,lines,vars" srcdir="src" destdir="dist/build" excludes="org/jsampler/view/fantasia/*"/>
40 <copy todir="./dist/build/org/jsampler/langprops">
41 <fileset dir="./src/org/jsampler/langprops"/>
42 </copy>
43 <copy todir="./dist/build/org/jsampler/view/std/langprops">
44 <fileset dir="./src/org/jsampler/view/std/langprops"/>
45 </copy>
46 <copy todir="./dist/build/org/jsampler/view/classic/langprops">
47 <fileset dir="./src/org/jsampler/view/classic/langprops"/>
48 </copy>
49 <copy todir="./dist/build/licenses">
50 <fileset dir="licenses"/>
51 </copy>
52 <copy todir="./dist/build/org/jsampler/view/classic/res">
53 <fileset dir="res/js-classic"/>
54 </copy>
55 <delete dir="./dist/build/org/jsampler/view/fantasia"/>
56 <jar basedir="./dist/build" excludes="Manifest" destfile="./dist/JS_Classic-0.6a.jar" manifest="./dist/build/Manifest"/>
57 <delete dir="./dist/build"/>
58 </target>
59
60 <target name="build-fantasia" depends="clean-fantasia,build-manifest">
61 <manifest file="dist/build/views.mf">
62 <attribute name="JS-Views" value="fantasia"/>
63 <attribute name="JS-Default-View" value="fantasia"/>
64
65 <section name="fantasia">
66 <attribute name="View-Name" value="Fantasia"/>
67 <attribute name="View-Config" value="org.jsampler.view.fantasia.ViewConfig"/>
68 <attribute name="Main-Frame" value="org.jsampler.view.fantasia.MainFrame"/>
69 <attribute name="Progress-Indicator" value="org.jsampler.view.fantasia.ProgressDlg"/>
70 </section>
71 </manifest>
72
73 <copy todir="./dist/build/org/jsampler/view">
74 <fileset file="./dist/build/views.mf"/>
75 </copy>
76
77 <unjar src="lib/required/jlscp.jar" dest="dist/build">
78 <patternset>
79 <include name="org/**"/>
80 </patternset>
81 </unjar>
82
83 <unjar src="lib/required/juife.jar" dest="dist/build">
84 <patternset>
85 <include name="net/**"/>
86 </patternset>
87 </unjar>
88
89 <unjar src="lib/required/substance-swingx.jar" dest="dist/build">
90 </unjar>
91
92 <unjar src="lib/required/substance.jar" dest="dist/build">
93 </unjar>
94
95 <unjar src="lib/required/swingx.jar" dest="dist/build">
96 </unjar>
97
98 <javac debug="true" debuglevel="source,lines,vars" srcdir="src" destdir="dist/build" excludes="org/jsampler/view/classic/*"/>
99
100 <copy todir="./dist/build/org/jsampler/langprops">
101 <fileset dir="./src/org/jsampler/langprops"/>
102 </copy>
103 <copy todir="./dist/build/org/jsampler/view/std/langprops">
104 <fileset dir="./src/org/jsampler/view/std/langprops"/>
105 </copy>
106 <copy todir="./dist/build/org/jsampler/view/fantasia/langprops">
107 <fileset dir="./src/org/jsampler/view/fantasia/langprops"/>
108 </copy>
109 <copy todir="./dist/build/licenses">
110 <fileset dir="licenses"/>
111 </copy>
112 <copy todir="./dist/build/org/jsampler/view/fantasia/res">
113 <fileset dir="res/fantasia"/>
114 </copy>
115 <delete dir="./dist/build/org/jsampler/view/classic"/>
116 <jar basedir="./dist/build" excludes="Manifest" destfile="./dist/Fantasia-0.6a.jar" manifest="./dist/build/Manifest"/>
117 <delete dir="./dist/build"/>
118 </target>
119
120 <target name="build-coredoc" depends="clean-coredoc">
121 <mkdir dir="doc/api"/>
122 <javadoc sourcepath="./src" destdir="./doc/api" windowtitle="JSampler ${JSampler.version} API specification" overview="./src/overview.html" Author="false" splitindex="true" use="true">
123 <fileset dir="${jlscp.srcdir}" defaultexcludes="yes"></fileset>
124 <fileset dir="${juife.srcdir}" defaultexcludes="yes"></fileset>
125 <package name="org.jsampler"/>
126 <package name="org.jsampler.event"/>
127 <package name="org.jsampler.task "/>
128 <package name="org.jsampler.view"/>
129 <doctitle>JSampler ${JSampler.version} API specification</doctitle>
130 <header><![CDATA[<b>JSampler</b><br><font size=-1>v${JSampler.version}</font>]]></header>
131 <bottom><![CDATA[<font size=-1>Copyright &copy; 2005 Grigor Iliev. All rights reserved.</font>]]></bottom>
132 </javadoc>
133 </target>
134
135 <target name="clean-jsclassic">
136 <delete file="dist/js-classic.jar"/>
137
138
139 </target>
140
141 <target name="clean-fantasia">
142 <delete file="dist/fantasia.jar"/>
143
144
145 </target>
146
147 <target name="clean-coredoc">
148 <delete dir="doc"/>
149 </target>
150
151 <target name="clean-all" depends="clean-coredoc">
152 <delete dir="dist"/>
153
154
155 </target>
156
157 <target name="build-manifest">
158 <mkdir dir="dist/build"/>
159 <manifest file="dist/build/Manifest">
160 <attribute name="Main-Class" value="org.jsampler.JSampler"/>
161
162 <section name="org/linuxsampler/lscp/">
163 <attribute name="Specification-Title" value="A java LinuxSampler control protocol API"/>
164 <attribute name="Specification-Version" value="1.2"/>
165 <attribute name="Specification-Vendor" value="Grigor Iliev"/>
166 <attribute name="Implementation-Title" value="org.linuxsampler.lscp"/>
167 <attribute name="Implementation-Version" value="${jlscp.version}"/>
168 <attribute name="Implementation-Vendor" value="Grigor Iliev"/>
169 </section>
170
171 <section name="net/sf/juife/">
172 <attribute name="Specification-Title" value="Java User Interface Framework Extensions"/>
173 <attribute name="Specification-Version" value="0.4"/>
174 <attribute name="Specification-Vendor" value="Grigor Iliev"/>
175 <attribute name="Implementation-Title" value="net.sf.juife"/>
176 <attribute name="Implementation-Version" value="${juife.version}"/>
177 <attribute name="Implementation-Vendor" value="Grigor Iliev"/>
178 </section>
179
180 <section name="org/jsampler/">
181 <attribute name="Specification-Title" value="A java front-end for LinuxSampler"/>
182 <attribute name="Specification-Version" value="0.6"/>
183 <attribute name="Specification-Vendor" value="Grigor Iliev"/>
184 <attribute name="Implementation-Title" value="org.jsampler"/>
185 <attribute name="Implementation-Version" value="${JSampler.version}"/>
186 <attribute name="Implementation-Vendor" value="Grigor Iliev"/>
187 </section>
188 </manifest>
189 </target>
190
191 </project>
192

  ViewVC Help
Powered by ViewVC