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

Contents of /jsampler/trunk/android/build.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2302 - (show annotations) (download) (as text)
Thu Dec 15 23:13:30 2011 UTC (12 years, 4 months ago) by iliev
File MIME type: text/xml
File size: 1797 byte(s)
* Initial support for Android platforms (only sampler channel
  manipulation for now - see the screenshots on the website)

1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="JSampler" default="help">
3
4 <loadproperties srcFile="local.properties" />
5 <property file="ant.properties" />
6 <loadproperties srcFile="project.properties" />
7
8 <target name="-pre-build">
9 <delete file="./libs/jlscp.jar"/>
10 <copy todir="./libs">
11 <fileset file="../lib/required/jlscp.jar"/>
12 </copy>
13 <delete file="./libs/juife.jar"/>
14 <copy todir="./libs">
15 <fileset file="../lib/required/juife.jar"/>
16 </copy>
17 <delete dir="./src"/>
18 <copy todir="./src">
19 <fileset file="../src/**"/>
20 </copy>
21 <delete dir="./src/org/jsampler/view/std"/>
22 <delete dir="./src/org/jsampler/view/swing"/>
23 <delete dir="./src/org/jsampler/view/classic"/>
24 <delete dir="./src/org/jsampler/view/fantasia"/>
25
26 <manifest file="src/org/jsampler/view/views.mf">
27 <attribute name="JS-Views" value="android-classic"/>
28 <attribute name="JS-Default-View" value="android-classic"/>
29
30 <section name="android-classic">
31 <attribute name="View-Name" value="JS Classic"/>
32 <attribute name="View-Config" value="org.jsampler.android.view.classic.ViewConfig"/>
33 <attribute name="Main-Frame" value="org.jsampler.android.view.classic.MainFrame"/>
34 <attribute name="Progress-Indicator" value="org.jsampler.android.view.classic.ProgressDlg"/>
35 </section>
36 </manifest>
37 </target>
38
39 <!-- quick check on sdk.dir -->
40 <fail
41 message="sdk.dir is missing. Make sure to generate local.properties using 'android update project'"
42 unless="sdk.dir"
43 />
44
45 <!-- version-tag: custom -->
46 <import file="${sdk.dir}/tools/ant/build.xml" />
47
48 </project>

  ViewVC Help
Powered by ViewVC