-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
1 changed file
with
51 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,51 @@ | ||
<project name="mudclient69-deob" default="run"> | ||
<property name="main.src.dir" value="client/src" /> | ||
<property name="main.build.dir" value="build" /> | ||
|
||
<property name="dist.dir" value="dist" /> | ||
<property name="bin.dir" value="bin" /> | ||
|
||
<property name="jar.main-class" value="mudclient" /> | ||
<property name="jar.name" value="${ant.project.name}.jar" /> | ||
<property name="jar.file" value="${dist.dir}/${jar.name}" /> | ||
|
||
<target name="compile"> | ||
<mkdir dir="${main.build.dir}" /> | ||
<javac srcdir="${main.src.dir}" destdir="${main.build.dir}" includeantruntime="false" encoding="UTF-8"> | ||
</javac> | ||
</target> | ||
|
||
<target name="dist" depends="compile"> | ||
<mkdir dir="${bin.dir}" /> | ||
<mkdir dir="${dist.dir}" /> | ||
|
||
<jar destfile="${jar.file}" basedir="${main.build.dir}"> | ||
<manifest> | ||
<attribute name="Main-Class" value="${jar.main-class}"/> | ||
</manifest> | ||
</jar> | ||
</target> | ||
|
||
<target name="distrun" depends="dist"> | ||
<java jar="${jar.file}" dir="${bin.dir}" fork="true" > | ||
<arg value="10.10.200.1" /> | ||
<arg value="43594" /> | ||
</java> | ||
</target> | ||
|
||
<target name="run" depends="compile"> | ||
<java classname="${jar.main-class}" fork="true"> | ||
<classpath> | ||
<pathelement location="${main.build.dir}"/> | ||
</classpath> | ||
<arg value="10.10.200.1" /> | ||
<arg value="43594" /> | ||
</java> | ||
</target> | ||
|
||
<target name="clean"> | ||
<delete dir="${main.build.dir}" /> | ||
<delete dir="${bin.dir}" /> | ||
</target> | ||
|
||
</project> |