-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
27 lines (19 loc) · 706 Bytes
/
build.xml
File metadata and controls
27 lines (19 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<project name="ruby-from-java" default="all">
<property file="src/ruby-from-java.properties"/>
<path id="classpath">
<pathelement location="${jruby.home}/lib/jruby.jar"/>
<pathelement path="." />
<pathelement path="src/"/>
</path>
<target name="clean" description="cleanup all">
<delete file="Sample.class"/>
</target>
<target name="build" description="build">
<javac srcdir="src" destdir="."/>
</target>
<target name="run" description="executes sample">
<java classname="Sample" classpathref="classpath" />
</target>
<target name="all" depends="clean, build, run" description="build all"/>
</project>