Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Hiroshi Nakamura
committed
Jun 7, 2011
1 parent
68f4f4c
commit 41f77ce
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project basedir="." default="build" name="forkjoin.rb"> | ||
<property file="build.properties"/> | ||
<property name="src.java" 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="version.target" value="1.7"/> | ||
|
||
<path id="build.classpath"> | ||
<pathelement location="${jruby.jar}"/> | ||
</path> | ||
|
||
<target name="init"> | ||
<mkdir dir="${target}"/> | ||
<mkdir dir="${target.classes}"/> | ||
</target> | ||
|
||
<target name="clean"> | ||
<delete dir="target"/> | ||
</target> | ||
|
||
<target depends="init" name="build" description="Compiles Java source files"> | ||
<javac debug="true" includeAntRuntime="false" destdir="${target.classes}" source="${version.source}" target="${version.target}"> | ||
<classpath refid="build.classpath"/> | ||
<src path="${src.java}"/> | ||
</javac> | ||
</target> | ||
|
||
<target depends="build" name="jar" description="Build a JAR file with the generated Java class files"> | ||
<jar destfile="${target}/forkjoin.jar" basedir="${target.classes}"> | ||
<manifest> | ||
<attribute name="Built-By" value="${user.name}"/> | ||
</manifest> | ||
</jar> | ||
</target> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
jruby.home=../jruby |