Changeset 1154
- Timestamp:
- 12/04/07 12:06:05 (1 year ago)
- Files:
-
- trunk/build.xml (modified) (20 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/build.xml
r942 r1154 16 16 <ivy-configure /> 17 17 </target> 18 18 19 19 <target name="prepare.version.tstamp"> 20 20 <tstamp /> … … 29 29 <property name="project.fullname" value="freecast-${project.version}" /> 30 30 </target> 31 31 32 32 <target name="prepare.libraries.check"> 33 33 <available property="prepare.library.retrieve.notRequired" file="lib/.touch"/> … … 40 40 <exclude name="META-INF/**"/> 41 41 </patternset> 42 42 43 43 <macrodef name="unjar-natives"> 44 44 <attribute name="platform"/> … … 51 51 </sequential> 52 52 </macrodef> 53 54 <unjar-natives platform="linux" arch="x86"/> 55 <unjar-natives platform="windows" arch="x86"/> 56 <unjar-natives platform="sunos" arch="x86"/> 57 <unjar-natives platform="sunos" arch="sparc"/> 58 53 54 <unjar-natives platform="linux" arch="x86"/> 55 <unjar-natives platform="windows" arch="x86"/> 56 <unjar-natives platform="sunos" arch="x86"/> 57 <unjar-natives platform="sunos" arch="sparc"/> 58 59 59 <copy todir="lib/runtime/linux/x86"> 60 60 <fileset dir="${track.tritonus.dir}"> … … 67 67 </fileset> 68 68 </copy> 69 69 70 70 <copy todir="lib/runtime"> 71 71 <fileset dir="lib/runtime"> … … 74 74 <mapper type="regexp" from="jdic-stub-([a-z]+).jar" to="\1/jdic-stub.jar"/> 75 75 </copy> 76 76 77 77 <touch file="lib/.touch"/> 78 78 </target> 79 79 80 80 <target name="prepare.libraries" depends="prepare.libraries.check, prepare.libraries.retrieve" > 81 81 <path id="path.build"> … … 167 167 </thumbnails> 168 168 </target> 169 169 170 170 <target name="build.start" depends="prepare.version"> 171 171 <property name="build.start.site" value="start.freecast.org"/> … … 181 181 182 182 <mkdir dir="build/start/broadcast"/> 183 183 184 184 <echo message="<empty></empty>" file="build/empty.xml"/> 185 <style 185 <style 186 186 style="source/org/kolaka/freecast/start/broadcast/jnlp.xsl" 187 in="build/empty.xml" 187 in="build/empty.xml" 188 188 out="build/start/broadcast/freecast-manager.jnlp"> 189 189 <param name="codebase" expression="http://${build.start.site}/broadcast"/> … … 206 206 </target> 207 207 208 <target name="test.gui" depends="build.test" description="Run the unit tests GUI"> 209 <java classname="junit.swingui.TestRunner" fork="yes"> 210 <classpath> 211 <pathelement path="build/core/classes" /> 212 <pathelement path="build/test/classes" /> 213 <path refid="path.test" /> 214 </classpath> 215 <sysproperty key="java.library.path" path="${track.tritonus.dir}" /> 216 </java> 217 </target> 218 219 208 220 <target name="dist.jws.check"> 209 221 <available file="${dist.jws.keystore}" property="dist.jws.possible" /> … … 213 225 <property name="dist.jws.libfreecast.dir" value="dist/jws" /> 214 226 <property name="dist.jws.codebase" value="http://jws.freecast.org/${project.version}/"/> 215 227 216 228 <mkdir dir="build/jws"/> 217 229 <ivy-artifactreport tofile="build/jws/ivy-report.xml" conf="core,runtime"/> … … 224 236 </filterchain> 225 237 </loadfile> 226 238 227 239 <copy tofile="${dist.jws.libfreecast.dir}/libfreecast.jnlp" file="source/org/kolaka/freecast/node/swing/libfreecast.jnlp"> 228 240 <filterset> … … 356 368 </copy> 357 369 </target> 358 370 359 371 <target name="dist.start" depends="build.start"> 360 372 <copy todir="dist/start"> … … 365 377 </copy> 366 378 </target> 367 379 368 380 <target name="dist.sources" depends="prepare.version"> 369 381 <copy todir="dist/sources/source"> … … 398 410 </copy> 399 411 </target> 400 412 401 413 <target name="dist.debian" depends="prepare.version, dist.sources, dist.docs"> 402 414 <property name="dist.debian.dir" value="dist/debian/${project.fullname}"/> … … 424 436 </fileset> 425 437 </copy> 426 </target> 427 438 </target> 439 428 440 <target name="export.tar.prepare" depends="prepare.version, build.changelog, dist, dist.docs"> 429 441 <mkdir dir="export" /> … … 450 462 </tar> 451 463 </target> 452 464 453 465 <target name="export.tar.sources" depends="export.tar.prepare, dist.sources"> 454 466 <tar tarfile="export/${project.fullname}-src.tar.bz" compression="bzip2"> … … 460 472 </tar> 461 473 </target> 462 474 463 475 <target name="export.tar" depends="export.tar.bin, export.tar.sources" description="Packages binaries and sources distributions"/> 464 476 … … 478 490 </exec> 479 491 </target> 480 492 481 493 <target name="export.debian.check"> 482 494 <uptodate property="export.debian.notRequired" targetfile="export/debian/.touch"> … … 484 496 </uptodate> 485 497 </target> 486 498 487 499 <target name="export.debian" depends="dist.debian, export.debian.check" unless="export.debian.notRequired"> 500 <property name="dpkg-buildpackage.options" value=""/> 488 501 <exec executable="dpkg-buildpackage" dir="${dist.debian.dir}" failonerror="true"> 489 <arg line="-rfakeroot -I.svn "/>502 <arg line="-rfakeroot -I.svn ${dpkg-buildpackage.options}"/> 490 503 </exec> 491 504 <copy todir="export/debian"> … … 567 580 </exec> 568 581 </target> 569 582 570 583 </project>
