Skip to content

Instantly share code, notes, and snippets.

@yokolet
Created February 15, 2011 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yokolet/828420 to your computer and use it in GitHub Desktop.
Save yokolet/828420 to your computer and use it in GitHub Desktop.
<?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