117 |
<delete dir="./dist/build"/> |
<delete dir="./dist/build"/> |
118 |
</target> |
</target> |
119 |
|
|
120 |
|
<target name="build-fantasia-osx" depends="build-fantasia"> |
121 |
|
<copy todir="./dist/Fantasia.app/Contents"> |
122 |
|
<fileset file="./res/fantasia/osx/Info.plist"/> |
123 |
|
</copy> |
124 |
|
<copy todir="./dist/Fantasia.app/Contents"> |
125 |
|
<fileset file="./res/fantasia/osx/PkgInfo"/> |
126 |
|
</copy> |
127 |
|
<copy todir="./dist/Fantasia.app/Contents/MacOS"> |
128 |
|
<fileset file="/System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub"/> |
129 |
|
</copy> |
130 |
|
<chmod file="./dist/Fantasia.app/Contents/MacOS/JavaApplicationStub" perm="755" /> |
131 |
|
<copy todir="./dist/Fantasia.app/Contents/Resources/Java"> |
132 |
|
<fileset file="./dist/Fantasia-${JSampler.version}.jar"/> |
133 |
|
</copy> |
134 |
|
<copy todir="./dist/Fantasia.app/Contents/Resources"> |
135 |
|
<fileset file="./res/fantasia/osx/Fantasia.icns"/> |
136 |
|
</copy> |
137 |
|
<copy todir="./dist/Fantasia.app/Contents/Resources"> |
138 |
|
<fileset file="./res/fantasia/osx/LSCPScript.icns"/> |
139 |
|
</copy> |
140 |
|
</target> |
141 |
|
|
142 |
<target name="build-coredoc" depends="clean-coredoc"> |
<target name="build-coredoc" depends="clean-coredoc"> |
143 |
<mkdir dir="doc/api"/> |
<mkdir dir="doc/api"/> |
144 |
<javadoc sourcepath="./src" destdir="./doc/api" windowtitle="JSampler ${JSampler.version} API specification" overview="./src/overview.html" Author="false" splitindex="true" use="true"> |
<javadoc sourcepath="./src" destdir="./doc/api" windowtitle="JSampler ${JSampler.version} API specification" overview="./src/overview.html" Author="false" splitindex="true" use="true"> |
155 |
</target> |
</target> |
156 |
|
|
157 |
<target name="clean-jsclassic"> |
<target name="clean-jsclassic"> |
158 |
<delete file="dist/js-classic.jar"/> |
<delete file="dist/JS_Classic-${JSampler.version}.jar"/> |
159 |
|
|
160 |
|
|
161 |
</target> |
</target> |
162 |
|
|
163 |
<target name="clean-fantasia"> |
<target name="clean-fantasia"> |
164 |
<delete file="dist/fantasia.jar"/> |
<delete file="dist/Fantasia-${JSampler.version}.jar"/> |
165 |
|
<delete dir="dist/Fantasia.app"/> |
166 |
|
|
167 |
</target> |
</target> |
168 |
|
|