|
Scala example source code file (build.xml)
The Scala build.xml source code
<?xml version="1.0" encoding="UTF-8"?>
<project name="swing" default="build">
<property name="scala.home" value="${user.home}/apps/scala-recent"/>
<property file="swing/swing.version.properties"/>
<property name="version" value="${version.major}.${version.minor}"/>
<taskdef
resource="scala/tools/ant/antlib.xml">
<classpath>
<pathelement location="${scala.home}/lib/scala-compiler.jar"/>
<pathelement location="${scala.home}/lib/scala-library.jar"/>
<pathelement location="${scala.home}/lib/junit.jar"/>
</classpath>
</taskdef>
<target name="build">
<mkdir dir="build/build.main"/>
<scalac srcdir="swing"
destdir="build/build.main">
<classpath>
<pathelement location="${scala.home}/lib/scala-library.jar"/>
<pathelement location="${scala.home}/lib/scala-compiler.jar"/>
</classpath>
<include name="**/*.scala"/>
</scalac>
<jar destfile="build/scala-swing.jar">
<fileset dir="build/build.main"/>
<fileset file="swing.version.properties"/>
</jar>
<jar destfile="build/scala-swing-src.jar"
basedir="swing"
includes="**/*.scala"
/>
</target>
<!--
Other Scala examples (source code examples)Here is a short list of links related to this Scala build.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.