Browse files

Add build.xml

  • Loading branch information...
nahi committed Jun 7, 2011
1 parent 68f4f4c commit 41f77ce758249aaffa607929637c33f47a27a9e1
Showing with 39 additions and 0 deletions.
  1. +38 −0 build.xml
  2. +1 −0
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="build" name="forkjoin.rb">
<property file=""/>
<property name="" value="src"/>
<property name="target" value="target"/>
<property name="target.classes" value="${target}/classes"/>
<property name="jruby.jar" value="${jruby.home}/lib/jruby.jar"/>
<property name="version.source" value="1.7"/>
<property name="" value="1.7"/>
<path id="build.classpath">
<pathelement location="${jruby.jar}"/>
<target name="init">
<mkdir dir="${target}"/>
<mkdir dir="${target.classes}"/>
<target name="clean">
<delete dir="target"/>
<target depends="init" name="build" description="Compiles Java source files">
<javac debug="true" includeAntRuntime="false" destdir="${target.classes}" source="${version.source}" target="${}">
<classpath refid="build.classpath"/>
<src path="${}"/>
<target depends="build" name="jar" description="Build a JAR file with the generated Java class files">
<jar destfile="${target}/forkjoin.jar" basedir="${target.classes}">
<attribute name="Built-By" value="${}"/>
@@ -0,0 +1 @@

0 comments on commit 41f77ce

Please sign in to comment.