/[svn]/jsampler/branches/jsampler_0_3a/build.xml
ViewVC logotype

Contents of /jsampler/branches/jsampler_0_3a/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC