Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 5a141c7

Browse files
author
Chris Mihaly
committed
Java Build File and git ignore defaults for Eclipse project files
1 parent 7edf3fb commit 5a141c7

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
classes
2+
.classpath
3+
*.jar
4+
.project
5+
.settings

build.xml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0"?>
2+
<project default="jar">
3+
<path id="java-api.classpath">
4+
<pathelement location="classes"/>
5+
<pathelement location="lib/ws-commons-util-1.0.2.jar"/>
6+
<pathelement location="lib/xmlrpc-client-3.1.3.jar"/>
7+
<pathelement location="lib/xmlrpc-common-3.1.3.jar"/>
8+
<pathelement location="lib/ws-commons-java5-1.0.1.jar"/>
9+
</path>
10+
<target name="clean">
11+
<delete dir="classes"/>
12+
</target>
13+
14+
<target depends="clean" name="compile">
15+
<mkdir dir="classes"/>
16+
<javac srcdir="src" destdir="classes">
17+
<classpath refid="java-api.classpath"/>
18+
</javac>
19+
</target>
20+
21+
<target depends="compile" name="jar">
22+
<jar destfile="shotgun_client.jar">
23+
<fileset dir="classes">
24+
<include name="com/shotgunsoftware/*.class"/>
25+
</fileset>
26+
<manifest>
27+
<attribute name="Built-By" value="${user.name}"/>
28+
</manifest>
29+
</jar>
30+
</target>
31+
</project>

0 commit comments

Comments
 (0)