Create a gist now

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<project name="Sycamore" default="default" basedir=".">
<description>Builds, tests, and runs the project Sycamore.</description>
<import file="nbproject/build-impl.xml"/>
<property file="nbproject/private/private.properties"/>
<path id="scala.build.classpath">
<pathelement location="${basedir}/web/WEB-INF/lib/scala-library.jar" />
<pathelement location="${j2ee.server.home}/lib/servlet-api.jar" />
<pathelement location="${basedir}/web/WEB-INF/lib/RailsCrossing.jar" />
<pathelement location="${basedir}/web/WEB-INF/lib/jruby-complete.jar" />
</path>
<taskdef resource="scala/tools/ant/antlib.xml">
<classpath>
<pathelement location="${basedir}/web/WEB-INF/lib/scala-compiler.jar" />
<pathelement location="${basedir}/web/WEB-INF/lib/scala-library.jar" />
</classpath>
</taskdef>
<target name="-post-compile">
<scalac srcdir="${src.dir}" destdir="${build.classes.dir}" classpathref="scala.build.classpath">
<include name="**/*.scala" />
</scalac>
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment