Commit 068b6528f7c7d394cc56dc08a581815b5b1de637
1 parent
4d605799
Remove legacy project items
Showing
12 changed files
with
0 additions
and
738 deletions
.classpath deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<classpath> | |
3 | - <classpathentry kind="src" path="debug"/> | |
4 | - <classpathentry kind="src" path="resources"/> | |
5 | - <classpathentry kind="src" path="java/common"/> | |
6 | - <classpathentry kind="src" path="java/client"/> | |
7 | - <classpathentry combineaccessrules="false" exported="true" kind="src" path="/Client"/> | |
8 | - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | |
9 | - <classpathentry exported="true" kind="lib" path="/Client/jars/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar"/> | |
10 | - <classpathentry exported="true" kind="lib" path="/Client/jars/libraries/com/google/guava/guava/17.0/guava-17.0.jar"/> | |
11 | - <classpathentry exported="true" kind="lib" path="/Client/jars/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar"/> | |
12 | - <classpathentry exported="true" kind="lib" path="lib/launchwrapper-1.11.jar" sourcepath="externals/launchwrapper/src"/> | |
13 | - <classpathentry exported="true" kind="lib" path="/Client/jars/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar"/> | |
14 | - <classpathentry kind="lib" path="/Client/jars/libraries/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar"/> | |
15 | - <classpathentry exported="true" kind="lib" path="/Client/jars/libraries/io/netty/netty-all/4.0.15.Final/netty-all-4.0.15.Final.jar"/> | |
16 | - <classpathentry exported="true" kind="lib" path="/Client/jars/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar"/> | |
17 | - <classpathentry exported="true" kind="lib" path="/Client/jars/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar"/> | |
18 | - <classpathentry exported="true" kind="lib" path="/Client/jars/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar"/> | |
19 | - <classpathentry exported="true" kind="lib" path="/Client/jars/libraries/com/mojang/authlib/1.5.17/authlib-1.5.17.jar"/> | |
20 | - <classpathentry exported="true" kind="lib" path="/Client/jars/libraries/org/lwjgl/lwjgl/lwjgl/2.9.1/lwjgl-2.9.1.jar"/> | |
21 | - <classpathentry exported="true" kind="lib" path="lib/asm-debug-all-5.0.3.jar"/> | |
22 | - <classpathentry exported="true" kind="lib" path="/Client/jars/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.1/lwjgl_util-2.9.1.jar"/> | |
23 | - <classpathentry exported="true" kind="lib" path="/Client/jars/libraries/com/mojang/realms/1.6.1/realms-1.6.1.jar"/> | |
24 | - <classpathentry kind="output" path="bin"/> | |
25 | -</classpath> |
.project deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<projectDescription> | |
3 | - <name>LiteLoader</name> | |
4 | - <comment></comment> | |
5 | - <projects> | |
6 | - </projects> | |
7 | - <buildSpec> | |
8 | - <buildCommand> | |
9 | - <name>org.eclipse.jdt.core.javabuilder</name> | |
10 | - <arguments> | |
11 | - </arguments> | |
12 | - </buildCommand> | |
13 | - </buildSpec> | |
14 | - <natures> | |
15 | - <nature>org.eclipse.jdt.core.javanature</nature> | |
16 | - </natures> | |
17 | - <variableList> | |
18 | - <variable> | |
19 | - <name>MCP_LOC</name> | |
20 | - <value>$%7BPARENT-2-PROJECT_LOC%7D</value> | |
21 | - </variable> | |
22 | - </variableList> | |
23 | -</projectDescription> |
LiteLoader.iml deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | -<module type="JAVA_MODULE" version="4"> | |
3 | - <component name="EclipseModuleManager"> | |
4 | - <libelement value="file:///Client/jars/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar" /> | |
5 | - <libelement value="file:///Client/jars/libraries/com/google/guava/guava/17.0/guava-17.0.jar" /> | |
6 | - <libelement value="file:///Client/jars/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar" /> | |
7 | - <libelement value="jar://$MODULE_DIR$/lib/launchwrapper-1.11.jar!/" /> | |
8 | - <libelement value="jar://$MODULE_DIR$/lib/asm-debug-all-5.0.3.jar!/" /> | |
9 | - <libelement value="file:///Client/jars/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar" /> | |
10 | - <libelement value="file:///Client/jars/libraries/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar" /> | |
11 | - <libelement value="file:///Client/jars/libraries/io/netty/netty-all/4.0.15.Final/netty-all-4.0.15.Final.jar" /> | |
12 | - <libelement value="file:///Client/jars/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar" /> | |
13 | - <libelement value="file:///Client/jars/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar" /> | |
14 | - <libelement value="file:///Client/jars/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar" /> | |
15 | - <libelement value="file:///Client/jars/libraries/com/mojang/authlib/1.5.17/authlib-1.5.17.jar" /> | |
16 | - <libelement value="file:///Client/jars/libraries/org/lwjgl/lwjgl/lwjgl/2.9.1/lwjgl-2.9.1.jar" /> | |
17 | - <src_description expected_position="0"> | |
18 | - <src_folder value="file://$MODULE_DIR$/debug" expected_position="0" /> | |
19 | - <src_folder value="file://$MODULE_DIR$/resources" expected_position="1" /> | |
20 | - <src_folder value="file://$MODULE_DIR$/java/common" expected_position="2" /> | |
21 | - <src_folder value="file://$MODULE_DIR$/java/client" expected_position="3" /> | |
22 | - </src_description> | |
23 | - </component> | |
24 | - <component name="NewModuleRootManager" inherit-compiler-output="false"> | |
25 | - <output url="file://$MODULE_DIR$/bin" /> | |
26 | - <exclude-output /> | |
27 | - <content url="file://$MODULE_DIR$"> | |
28 | - <sourceFolder url="file://$MODULE_DIR$/debug" isTestSource="false" /> | |
29 | - <sourceFolder url="file://$MODULE_DIR$/resources" isTestSource="false" /> | |
30 | - <sourceFolder url="file://$MODULE_DIR$/java/common" isTestSource="false" /> | |
31 | - <sourceFolder url="file://$MODULE_DIR$/java/client" isTestSource="false" /> | |
32 | - </content> | |
33 | - <orderEntry type="sourceFolder" forTests="false" /> | |
34 | - <orderEntry type="module" module-name="Client" exported="" /> | |
35 | - <orderEntry type="jdk" jdkName="JavaSE-1.6" jdkType="JavaSDK" /> | |
36 | - <orderEntry type="module-library" exported=""> | |
37 | - <library name="launchwrapper-1.11.jar"> | |
38 | - <CLASSES> | |
39 | - <root url="jar://$MODULE_DIR$/lib/launchwrapper-1.11.jar!/" /> | |
40 | - </CLASSES> | |
41 | - <JAVADOC /> | |
42 | - <SOURCES> | |
43 | - <root url="file://$MODULE_DIR$/externals/launchwrapper/src" /> | |
44 | - </SOURCES> | |
45 | - </library> | |
46 | - </orderEntry> | |
47 | - <orderEntry type="module-library" exported=""> | |
48 | - <library> | |
49 | - <CLASSES> | |
50 | - <root url="jar://$MODULE_DIR$/lib/asm-debug-all-5.0.3.jar!/" /> | |
51 | - </CLASSES> | |
52 | - <JAVADOC /> | |
53 | - <SOURCES /> | |
54 | - </library> | |
55 | - </orderEntry> | |
56 | - </component> | |
57 | -</module> | |
58 | - |
README.md deleted
100644 → 0
1 | -LiteLoader | |
2 | ----------- | |
3 | - | |
4 | -Important Setup Note | |
5 | --------------------- | |
6 | -MCP 9.10 does not include the latest MCPBot mappings, since developing mods without these updated | |
7 | -mappings is a massive nuisance LiteLoader is built using a recent snapshot of the MCP mappings. | |
8 | - | |
9 | -The latest MCPTEST mappings can always be retrieved from [http://mcpbot.bspk.rs/testcsv/](http://mcpbot.bspk.rs/testcsv/) | |
10 | - | |
11 | -Getting the updated mappings | |
12 | ----------------------------- | |
13 | - | |
14 | -To get the updated mappings, perform these steps **before** decompiling minecraft for the first | |
15 | -time. If you have already decompiled minecraft, run the MPC **cleanup** task first to remove the | |
16 | -invalid sources, or simply delete the *temp* and *src* directories from your MCP installation. | |
17 | - | |
18 | -- Using a text editor, open **/mcp910/conf/mcp.cfg** | |
19 | -- Locate the setting **UpdateUrl** and change the domain to *dl.liteloader.com* as shown | |
20 | - | |
21 | - UpdateUrl = http://dl.liteloader.com/files/mcprolling_{version}/ | |
22 | - | |
23 | -- Save the file and run the **updatemcp** script, it should prompt you to download 3 files. | |
24 | -- Type **yes** to accept the download. | |
25 | -- Run **decompile** as normal. | |
26 | 0 | \ No newline at end of file |
ant/build_liteloader.xml deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8" ?> | |
2 | -<project name="liteloader" basedir="." default="development"> | |
3 | - | |
4 | - <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="tasks/ant-contrib.jar" /> | |
5 | - | |
6 | - <!-- Versions !!IMPORTANT --> | |
7 | - <property name="version" value="1.8.0_00" /> | |
8 | - <property name="mcversion" value="1.8" /> | |
9 | - <property name="author" value="Mumfrey" /> | |
10 | - | |
11 | - <!-- Project definitions and dependencies --> | |
12 | - <property name="upstream" value="" /> | |
13 | - <property name="project" value="LiteLoader" /> | |
14 | - <property name="displayname" value="LiteLoader" /> | |
15 | - <property name="md5set" value="mcp" /> | |
16 | - <property name="outmd5set" value="liteloader" /> | |
17 | - <property name="tweakclass" value="com.mumfrey.liteloader.launch.LiteLoaderTweaker" /> | |
18 | - | |
19 | - <property name="mcp.dir" location="../../.." /> | |
20 | - <property name="build.dir" location="${mcp.dir}/build" /> | |
21 | - <property name="eclipse.dir" location="${mcp.dir}/eclipse" /> | |
22 | - <property name="temp.dir" location="${mcp.dir}/temp" /> | |
23 | - <property name="md5.dir" location="${mcp.dir}/md5" /> | |
24 | - <property name="libs.dir" location="${mcp.dir}/lib" /> | |
25 | - <property name="src.dir" location="${build.dir}/src"/> | |
26 | - <property name="mc.src.dir" location="${mcp.dir}/src/minecraft" /> | |
27 | - <property name="mc.bin.dir" location="${mcp.dir}/bin/minecraft" /> | |
28 | - <property name="reobf.dir" location="${mcp.dir}/reobf/minecraft" /> | |
29 | - <property name="mc.libs.dir" location="${mcp.dir}/jars/libraries" /> | |
30 | - | |
31 | - <property name="dist.dir" location="${build.dir}/dist" /> | |
32 | - <property name="filetype" value="jar" /> | |
33 | - | |
34 | - <property name="python_windows" location="${mcp.dir}/runtime/bin/python/python_mcp.exe" /> | |
35 | - <property name="python_linux" location="/usr/bin/python" /> | |
36 | - | |
37 | - <property environment="env" /> | |
38 | - | |
39 | - <target name="setup_client"> | |
40 | - <property name="clientjar" value="true" /> | |
41 | - <property name="suffix" value="" /> | |
42 | - <property name="javadocpath" value="docs" /> | |
43 | - </target> | |
44 | - | |
45 | - <target name="setup_core"> | |
46 | - <property name="suffix" value="-core" /> | |
47 | - <property name="javadocpath" value="coredocs" /> | |
48 | - </target> | |
49 | - | |
50 | - <target name="setup_development"> | |
51 | - <property name="skipremoval" value="DEV" /> | |
52 | - <property name="md5.outfile" value="${md5.dir}/client_${outmd5set}.md5" /> | |
53 | - <property name="artefact.name" value="${ant.project.name}${suffix}-${mcversion}" /> | |
54 | - <property name="stage.dir" location="${build.dir}/stage/${ant.project.name}/${version}" /> | |
55 | - <property name="meta.version" value="${version}" /> | |
56 | - </target> | |
57 | - | |
58 | - <target name="setup_production"> | |
59 | - <property name="skipremoval" value="" /> | |
60 | - <property name="md5.outfile" value="${md5.dir}/client_${outmd5set}_production.md5" /> | |
61 | - <property name="artefact.name" value="${ant.project.name}${suffix}-${mcversion}" /> | |
62 | - <property name="stage.dir" location="${build.dir}/stage/${ant.project.name}/${version}" /> | |
63 | - <property name="meta.version" value="${version}" /> | |
64 | - </target> | |
65 | - | |
66 | - <target name="setup_jenkins"> | |
67 | - <property name="skipremoval" value="" /> | |
68 | - <property name="md5.outfile" value="${md5.dir}/client_${outmd5set}_production.md5" /> | |
69 | - <property name="artefact.name" value="${ant.project.name}${suffix}-${mcversion}-SNAPSHOT" /> | |
70 | - <property name="stage.dir" location="${build.dir}/stage" /> | |
71 | - <property name="brand" value="${mcversion}-SNAPSHOT-r${env.SVN_REVISION}-b${env.BUILD_NUMBER}-${env.BUILD_ID}" /> | |
72 | - <property name="meta.version" value="${version} [${brand}]" /> | |
73 | - <property name="jenkins" value="" /> | |
74 | - </target> | |
75 | - | |
76 | - <!-- Main target --> | |
77 | - <target name="development" depends="setup_client, setup_development, build" description="Entry point for MCP and upstream builds" /> | |
78 | - | |
79 | - <target name="production" depends="setup_client, setup_production, build, javadoc, mcpjar" description="Entry point for production builds" /> | |
80 | - | |
81 | - <target name="jenkins" depends="setup_client, setup_jenkins, build, javadoc, mcpjar" description="Entry point for CI builds" /> | |
82 | - | |
83 | - <target name="core" depends="setup_core, setup_jenkins, build, javadoc, mcpjar" description="Entry point for CI builds" /> | |
84 | - | |
85 | - <target name="build" description="Perform all tasks for a client build" depends="init, recompile, reobfuscate, savemd5, stage, jar" > | |
86 | - </target> | |
87 | - | |
88 | - <target name="clean"> | |
89 | - <echo level="info" message="Cleaning output directories" /> | |
90 | - | |
91 | - <delete dir="${src.dir}" /> | |
92 | - <delete dir="${mcp.dir}/reobf" /> | |
93 | - </target> | |
94 | - | |
95 | - <target name="contributesource" description="Contribute an upstream project source code to the source path"> | |
96 | - <echo level="info" message="Contributing project ${lib}" /> | |
97 | - <copy todir="${src.dir}" verbose="false" overwrite="true" failonerror="false"> | |
98 | - <fileset dir="${eclipse.dir}/${lib}/java${sub}"> | |
99 | - <exclude name="**/debug" /> | |
100 | - <exclude name="**/debug/*.java" /> | |
101 | - </fileset> | |
102 | - <fileset dir="${eclipse.dir}/${lib}/src${sub}" /> | |
103 | - <filterchain> | |
104 | - <linecontains negate="true"> | |
105 | - <contains value="@MCPONLY${skipremoval}" /> | |
106 | - </linecontains> | |
107 | - </filterchain> | |
108 | - </copy> | |
109 | - </target> | |
110 | - | |
111 | - <target name="contributeclientsource" description="Contribute client source if building a client jar" if="clientjar"> | |
112 | - <antcall target="contributesource"> | |
113 | - <param name="lib" value="${project}" /> | |
114 | - <param name="sub" value="/client" /> | |
115 | - </antcall> | |
116 | - </target> | |
117 | - | |
118 | - <target name="contributeresources" description="Contribute resources to the staging path"> | |
119 | - <echo level="info" message="Contributing project resources for ${lib}" /> | |
120 | - <copy todir="${stage.dir}" verbose="false" failonerror="false"> | |
121 | - <fileset dir="${eclipse.dir}/${lib}/resources" excludes=".svn/**"> | |
122 | - <exclude name="**/Thumbs.db" /> | |
123 | - <exclude name="**/minecraft.key" /> | |
124 | - </fileset> | |
125 | - </copy> | |
126 | - </target> | |
127 | - | |
128 | - <target name="findmd5dir"> | |
129 | - <echo level="info" message="Searching for existing MD5 directory..." /> | |
130 | - <condition property="md5dir.exists"> | |
131 | - <available file="${md5.dir}" type="dir"/> | |
132 | - </condition> | |
133 | - </target> | |
134 | - | |
135 | - <target name="findmd5" depends="findmd5dir"> | |
136 | - <echo level="info" message="Searching for existing MD5 sets..." /> | |
137 | - <condition property="md5set.exists"> | |
138 | - <available file="${md5.dir}/client_${md5set}.md5" type="file"/> | |
139 | - </condition> | |
140 | - </target> | |
141 | - | |
142 | - <target name="seedmd5" depends="findmd5" unless="md5set.exists"> | |
143 | - <echo level="info" message="MD5 sets not found, seeding..." /> | |
144 | - <ant target="genmd5" antfile="seed_md5.xml" inheritall="true" /> | |
145 | - </target> | |
146 | - | |
147 | - <target name="notifymd5ok" depends="findmd5" if="md5set.exists"> | |
148 | - <echo level="info" message="MD5 sets already exist, skipping MD5 set seeding" /> | |
149 | - </target> | |
150 | - | |
151 | - <target name="preparemd5" description="Copy patched MD5 to the temp directory" depends="seedmd5, notifymd5ok, clean"> | |
152 | - <echo level="info" message="Prepare exclusion MD5s, using exclusion set "${md5set}"" /> | |
153 | - | |
154 | - <copy tofile="${temp.dir}/client.md5" file="${md5.dir}/client_${md5set}.md5" failonerror="true" verbose="true" overwrite="true" /> | |
155 | - </target> | |
156 | - | |
157 | - <target name="prepare" description="Prepare source for MCP" depends="preparemd5"> | |
158 | - <echo level="info" message="Prepare sources for compile" /> | |
159 | - | |
160 | - <echo level="info" message="Contributing libs" /> | |
161 | - <copy todir="${libs.dir}" verbose="true" overwrite="true"> | |
162 | - <fileset dir="${eclipse.dir}/${project}/lib"> | |
163 | - <exclude name="**/authlib*.jar" /> | |
164 | - <exclude name="**/log4j*.jar" /> | |
165 | - </fileset> | |
166 | - </copy> | |
167 | - | |
168 | - <echo level="info" message="Contributing MC source" /> | |
169 | - <copy todir="${src.dir}" verbose="false" overwrite="true"> | |
170 | - <fileset dir="${mc.src.dir}" /> | |
171 | - </copy> | |
172 | - | |
173 | - <echo level="info" message="Contributing upstream projects" /> | |
174 | - <foreach list="${upstream}" param="lib" target="contributesource" /> | |
175 | - | |
176 | - <antcall target="contributesource"> | |
177 | - <param name="lib" value="${project}" /> | |
178 | - <param name="sub" value="/common" /> | |
179 | - </antcall> | |
180 | - | |
181 | - <antcall target="contributeclientsource" /> | |
182 | - </target> | |
183 | - | |
184 | - <target name="init" description="Initialize build environment" depends="prepare"> | |
185 | - <echo append="false" file="${temp.dir}/build.cfg" message="[OUTPUT]
SrcClient = build/src" /> | |
186 | - | |
187 | - <echo level="info" message="Cleaning old stage and dist, MCP reobf directories" /> | |
188 | - | |
189 | - <delete dir="${stage.dir}" /> | |
190 | - | |
191 | - <echo level="info" message="Creating stage and dist dirs" /> | |
192 | - <mkdir dir="${stage.dir}" /> | |
193 | - <mkdir dir="${dist.dir}" /> | |
194 | - <mkdir dir="${md5.dir}" /> | |
195 | - </target> | |
196 | - | |
197 | - <target name="recompile" description="MCP recompile"> | |
198 | - <echo level="info" message="Compiling projects" /> | |
199 | - | |
200 | - <exec executable="${python_windows}" dir="${mcp.dir}" osfamily="windows"> | |
201 | - <arg value="runtime/recompile.py" /> | |
202 | - <arg value="--client" /> | |
203 | - <arg value="--config" /> | |
204 | - <arg value="${temp.dir}/build.cfg" /> | |
205 | - <arg value="%*" /> | |
206 | - </exec> | |
207 | - | |
208 | - <exec executable="${python_linux}" dir="${mcp.dir}" osfamily="unix"> | |
209 | - <arg value="runtime/recompile.py" /> | |
210 | - <arg value="--client" /> | |
211 | - <arg value="--config" /> | |
212 | - <arg value="${temp.dir}/build.cfg" /> | |
213 | - <arg value="%*" /> | |
214 | - </exec> | |
215 | - </target> | |
216 | - | |
217 | - <target name="reobfuscate" description="MCP reobfuscate"> | |
218 | - <echo level="info" message="Obfuscating classes" /> | |
219 | - | |
220 | - <exec executable="${python_windows}" dir="${mcp.dir}" osfamily="windows"> | |
221 | - <arg value="runtime/reobfuscate.py" /> | |
222 | - <arg value="--client" /> | |
223 | - <arg value="%*" /> | |
224 | - </exec> | |
225 | - | |
226 | - <exec executable="${python_linux}" dir="${mcp.dir}" osfamily="unix"> | |
227 | - <arg value="runtime/reobfuscate.py" /> | |
228 | - <arg value="--client" /> | |
229 | - <arg value="%*" /> | |
230 | - </exec> | |
231 | - </target> | |
232 | - | |
233 | - <target name="savemd5" description="Put post-obfuscation MD5 to stored md5 set" if="outmd5set"> | |
234 | - <echo level="info" message="Storing obfuscated MD5s" /> | |
235 | - | |
236 | - <copy file="${temp.dir}/client_reobf.md5" tofile="${md5.outfile}" overwrite="true" verbose="true" /> | |
237 | - </target> | |
238 | - | |
239 | - <target name="stage" description="Stage resources into staging directory"> | |
240 | - <echo level="info" message="Staging resources" /> | |
241 | - | |
242 | - <copy todir="${stage.dir}" overwrite="true"> | |
243 | - <fileset dir="${reobf.dir}" excludes=".svn/**, *.txt"> | |
244 | - <exclude name="?.class" /> | |
245 | - <exclude name="??.class" /> | |
246 | - <exclude name="???.class" /> | |
247 | - <exclude name="/net/minecraft/**" /> | |
248 | - </fileset> | |
249 | - </copy> | |
250 | - | |
251 | - <foreach list="${upstream}" param="lib" target="contributeresources" /> | |
252 | - | |
253 | - <antcall target="contributeresources"> | |
254 | - <param name="lib" value="${project}" /> | |
255 | - </antcall> | |
256 | - | |
257 | - <antcall target="stamp"> | |
258 | - </antcall> | |
259 | - </target> | |
260 | - | |
261 | - <target name="stamp" description="Stamp build information into staged resources" if="jenkins"> | |
262 | - <echo level="info" message="Writing branding information into artefact staging area" /> | |
263 | - <echo level="info" message="Brand: ${brand}" /> | |
264 | - | |
265 | - <replaceregexp file="${stage.dir}/liteloader.properties" byline="true" match="^brand=.*$" replace="brand=${brand}" /> | |
266 | - </target> | |
267 | - | |
268 | - <target name="jar" description="Build the client jar"> | |
269 | - <echo level="info" message="Building final output" /> | |
270 | - | |
271 | - <mkdir dir="${dist.dir}" /> | |
272 | - | |
273 | - <jar destfile="${dist.dir}/${artefact.name}.${filetype}" duplicate="preserve" index="true" manifestencoding="UTF-8"> | |
274 | - <manifest> | |
275 | - <attribute name="Built-By" value="MCP (http://mcp.ocean-labs.de)" /> | |
276 | - <attribute name="Implementation-Vendor" value="${author}" /> | |
277 | - <attribute name="Implementation-Title" value="${ant.project.name}" /> | |
278 | - <attribute name="Implementation-Version" value="${meta.version}" /> | |
279 | - <attribute name="TweakClass" value="${tweakclass}" /> | |
280 | - <attribute name="TweakName" value="${displayname}" /> | |
281 | - <attribute name="TweakVersion" value="${version}" /> | |
282 | - <attribute name="TweakAuthor" value="${author}" /> | |
283 | - </manifest> | |
284 | - <fileset dir="${stage.dir}" /> | |
285 | - </jar> | |
286 | - </target> | |
287 | - | |
288 | - <target name="compiledebug" description="Recompile with debug classes"> | |
289 | - <copy todir="${src.dir}" verbose="false" overwrite="true" failonerror="false"> | |
290 | - <fileset dir="${eclipse.dir}/${project}/debug" /> | |
291 | - </copy> | |
292 | - | |
293 | - <antcall target="recompile" /> | |
294 | - </target> | |
295 | - | |
296 | - <target name="mcpjar" description="Build the MCP-names jar" depends="compiledebug"> | |
297 | - <echo level="info" message="Building mcpnamesjars" /> | |
298 | - | |
299 | - <mkdir dir="${dist.dir}" /> | |
300 | - | |
301 | - <delete file="${dist.dir}/${artefact.name}-mcpnames.${filetype}" /> | |
302 | - <delete file="${dist.dir}/${artefact.name}-mcpnames-sources.${filetype}" /> | |
303 | - | |
304 | - <jar destfile="${dist.dir}/${artefact.name}-mcpnames.${filetype}" duplicate="preserve" index="true" manifestencoding="UTF-8"> | |
305 | - <manifest> | |
306 | - <attribute name="Built-By" value="MCP (http://mcp.ocean-labs.de)" /> | |
307 | - <attribute name="Implementation-Vendor" value="${author}" /> | |
308 | - <attribute name="Implementation-Title" value="${ant.project.name}" /> | |
309 | - <attribute name="Implementation-Version" value="${meta.version}" /> | |
310 | - <attribute name="TweakClass" value="${tweakclass}" /> | |
311 | - <attribute name="TweakName" value="${displayname}" /> | |
312 | - <attribute name="TweakVersion" value="${version}" /> | |
313 | - <attribute name="TweakAuthor" value="${author}" /> | |
314 | - </manifest> | |
315 | - <fileset dir="${mc.bin.dir}"> | |
316 | - <include name="com/mumfrey/**" /> | |
317 | - <include name="net/eq2online/**" /> | |
318 | - </fileset> | |
319 | - <fileset dir="${eclipse.dir}/${project}/resources" excludes=".svn/**" /> | |
320 | - <fileset dir="${eclipse.dir}/${project}/debug" excludes=".svn/**"> | |
321 | - <exclude name="**/*.java" /> | |
322 | - </fileset> | |
323 | - </jar> | |
324 | - <jar destfile="${dist.dir}/${artefact.name}-mcpnames-sources.${filetype}" duplicate="preserve" index="false" filesetmanifest="skip"> | |
325 | - <fileset dir="${eclipse.dir}/${project}/java/common" /> | |
326 | - <fileset dir="${eclipse.dir}/${project}/java/client" /> | |
327 | - <fileset dir="${eclipse.dir}/${project}/debug" /> | |
328 | - <fileset dir="${eclipse.dir}/${project}/resources" /> | |
329 | - </jar> | |
330 | - </target> | |
331 | - | |
332 | - <target name="javadoc" description="Create the javadoc jar"> | |
333 | - <echo level="info" message="Generating javadoc" /> | |
334 | - | |
335 | - <javadoc destdir="${stage.dir}/${javadocpath}" useexternalfile="true"> | |
336 | - <fileset dir="${eclipse.dir}/${project}/java"> | |
337 | - <exclude name="**/debug" /> | |
338 | - <exclude name="**/debug/*.java" /> | |
339 | - </fileset> | |
340 | - <classpath> | |
341 | - <fileset dir="${mc.libs.dir}"> | |
342 | - <include name="**/*.jar" /> | |
343 | - </fileset> | |
344 | - <fileset dir="${libs.dir}"> | |
345 | - <include name="*.jar" /> | |
346 | - </fileset> | |
347 | - <pathelement location="${mc.bin.dir}"/> | |
348 | - </classpath> | |
349 | - <arg value="-XDignore.symbol.file" /> | |
350 | - </javadoc> | |
351 | - <jar destfile="${dist.dir}/${artefact.name}-javadoc.${filetype}" duplicate="preserve" index="true" manifestencoding="UTF-8"> | |
352 | - <manifest> | |
353 | - <attribute name="Built-By" value="MCP (http://mcp.ocean-labs.de)" /> | |
354 | - <attribute name="Implementation-Vendor" value="${author}" /> | |
355 | - <attribute name="Implementation-Title" value="${ant.project.name}" /> | |
356 | - <attribute name="Implementation-Version" value="${version}" /> | |
357 | - </manifest> | |
358 | - <fileset dir="${stage.dir}/${javadocpath}" /> | |
359 | - </jar> | |
360 | - <copy file="${dist.dir}/${artefact.name}-javadoc.${filetype}" tofile="${dist.dir}/${artefact.name}-mcpnames-javadoc.${filetype}" /> | |
361 | - </target> | |
362 | - | |
363 | - <target name="deploy" depends="production" description="Deploy artifact to local minecraft installation in APPDATA"> | |
364 | - <mkdir dir="${env.APPDATA}/.minecraft/libraries/com/mumfrey/liteloader/${mcversion}"/> | |
365 | - <copy todir="${env.APPDATA}/.minecraft/libraries/com/mumfrey/liteloader/${mcversion}" file="${dist.dir}/${artefact.name}.${filetype}" failonerror="false" overwrite="true" /> | |
366 | - <copy todir="${eclipse.dir}/LiteLoaderInstaller/src/main/resources" file="${dist.dir}/${artefact.name}.${filetype}" failonerror="false" overwrite="true" /> | |
367 | - </target> | |
368 | -</project> | |
369 | 0 | \ No newline at end of file |
ant/build_srgjar.xml deleted
100644 → 0
1 | -<?xml version="1.0" encoding="ISO-8859-1"?> | |
2 | -<project name="liteloadertosrg" basedir="." default="build" xmlns:ivy="antlib:org.apache.ivy.ant"> | |
3 | - | |
4 | - <property name="project.name" value="liteloader" /> | |
5 | - <property name="version" value="1.8" /> | |
6 | - <property name="author" value="Mumfrey" /> | |
7 | - | |
8 | - <property name="mcp.dir" location="../../.." /> | |
9 | - <property name="mcp.temp.dir" location="${mcp.dir}/temp" /> | |
10 | - <property name="minecraft.src.dir" location="${mcp.dir}/src/minecraft" /> | |
11 | - <property name="lib.dir" location="./lib" /> | |
12 | - <property name="temp.dir" location="./temp" /> | |
13 | - <property name="out.dir" location="${temp.dir}/out" /> | |
14 | - <property name="dist.dir" location="${mcp.dir}/build/dist" /> | |
15 | - <property name="src.dir" location="${temp.dir}/src" /> | |
16 | - <property name="map.file" location="${temp.dir}/range.map" /> | |
17 | - <property name="insrg.file" location="${mcp.temp.dir}/client_ro_srg.srg" /> | |
18 | - <property name="outsrg.file" location="${temp.dir}/remap.srg" /> | |
19 | - <property name="liteloader.src.base" location="../java" /> | |
20 | - | |
21 | - <property name="python_windows" location="${mcp.dir}/runtime/bin/python/python_mcp.exe" /> | |
22 | - <property name="python_linux" location="/usr/bin/python" /> | |
23 | - | |
24 | - <path id="class.path"> | |
25 | - <fileset dir="${lib.dir}"> | |
26 | - <include name="**/*.jar" /> | |
27 | - </fileset> | |
28 | - </path> | |
29 | - | |
30 | - <target name="build"> | |
31 | - <property name="artefact" location="${dist.dir}/${project.name}-${version}-srgnames-sources.jar" /> | |
32 | - <ivy:configure file="ivysettings.xml" /> | |
33 | - <antcall target="jar" /> | |
34 | - </target> | |
35 | - | |
36 | - <target name="jenkins"> | |
37 | - <property name="artefact" location="${dist.dir}/${project.name}-${version}-SNAPSHOT-srgnames-sources.jar" /> | |
38 | - <ivy:configure file="ivysettings.xml" /> | |
39 | - <antcall target="jar" /> | |
40 | - </target> | |
41 | - | |
42 | - <path id="classpath"> | |
43 | - <fileset dir="${ivy.lib.dir}"> | |
44 | - <include name="**/*.jar"/> | |
45 | - </fileset> | |
46 | - </path> | |
47 | - | |
48 | - <target name="clean"> | |
49 | - <echo message="Cleaning working directories..." /> | |
50 | - | |
51 | - <delete dir="${temp.dir}" failonerror="false" /> | |
52 | - | |
53 | - <mkdir dir="${src.dir}"/> | |
54 | - <mkdir dir="${out.dir}"/> | |
55 | - <mkdir dir="${temp.dir}"/> | |
56 | - </target> | |
57 | - | |
58 | - <target name="init" depends="clean"> | |
59 | - <echo message="Aggregating sources..." /> | |
60 | - | |
61 | - <copy todir="${src.dir}" overwrite="true"> | |
62 | - <fileset dir="${minecraft.src.dir}"> | |
63 | - <exclude name="*.java" /> | |
64 | - </fileset> | |
65 | - <fileset dir="${liteloader.src.base}/common"> | |
66 | - <exclude name="**/Jump.java" /> | |
67 | - </fileset> | |
68 | - <fileset dir="${liteloader.src.base}/client" /> | |
69 | - </copy> | |
70 | - | |
71 | - <echo message="Fetching dependencies..." /> | |
72 | - <ivy:retrieve sync="true" /> | |
73 | - </target> | |
74 | - | |
75 | - <target name="reobfSrg" depends="init"> | |
76 | - <echo message="Running reobf to generate srgs..." /> | |
77 | - | |
78 | - <exec executable="${python_windows}" dir="${mcp.dir}" osfamily="windows"> | |
79 | - <arg value="runtime/reobfuscate.py" /> | |
80 | - <arg value="--srgnames" /> | |
81 | - <arg value="--client" /> | |
82 | - </exec> | |
83 | - | |
84 | - <exec executable="${python_linux}" dir="${mcp.dir}" osfamily="unix"> | |
85 | - <arg value="runtime/reobfuscate.py" /> | |
86 | - <arg value="--srgnames" /> | |
87 | - <arg value="--client" /> | |
88 | - </exec> | |
89 | - </target> | |
90 | - | |
91 | - <target name="extractRanges" depends="reobfSrg"> | |
92 | - <echo message="Extracting ranges from source..." /> | |
93 | - | |
94 | - <java classname="net.minecraftforge.srg2source.ast.RangeExtractor" output="${temp.dir}/extractRanges.log"> | |
95 | - <classpath refid="class.path" /> | |
96 | - <arg value="${src.dir}" /> | |
97 | - <arg value="${lib.dir}" /> | |
98 | - <arg value="${map.file}" /> | |
99 | - </java> | |
100 | - </target> | |
101 | - | |
102 | - <target name="flipsrg" depends="extractRanges"> | |
103 | - <echo message="Remapping SRG file..." /> | |
104 | - | |
105 | - <copy file="${insrg.file}" tofile="${outsrg.file}" overwrite="true" /> | |
106 | - <replaceregexp file="${outsrg.file}" byline="true" match="(FD|CL): ([^\s]+) ([^\s]+)" replace="\1: \3 \2" /> | |
107 | - <replaceregexp file="${outsrg.file}" byline="true" match="MD: ([^\s]+) ([^\s]+) ([^\s]+) ([^\s]+)" replace="MD: \3 \4 \1 \2" /> | |
108 | - </target> | |
109 | - | |
110 | - <target name="applyRanges" depends="flipsrg"> | |
111 | - <echo message="Remapping ranges in source..." /> | |
112 | - | |
113 | - <java classname="net.minecraftforge.srg2source.rangeapplier.RangeApplier" output="${temp.dir}/applyRanges.log"> | |
114 | - <classpath refid="class.path" /> | |
115 | - <arg value="--srcRoot=${src.dir}" /> | |
116 | - <arg value="--srcRangeMap=${map.file}" /> | |
117 | - <arg value="--srgFiles=${outsrg.file}" /> | |
118 | - <arg value="--outDir=${out.dir}" /> | |
119 | - </java> | |
120 | - </target> | |
121 | - | |
122 | - <target name="jar" depends="applyRanges"> | |
123 | - <echo message="Building src jar..." /> | |
124 | - | |
125 | - <jar destfile="${artefact}" duplicate="preserve" index="true" manifestencoding="UTF-8"> | |
126 | - <manifest> | |
127 | - <attribute name="Implementation-Vendor" value="${author}" /> | |
128 | - <attribute name="Implementation-Title" value="${ant.project.name}" /> | |
129 | - <attribute name="Implementation-Version" value="${version}" /> | |
130 | - </manifest> | |
131 | - <fileset dir="${out.dir}"> | |
132 | - <exclude name="net/minecraft/**" /> | |
133 | - </fileset> | |
134 | - </jar> | |
135 | - </target> | |
136 | -</project> | |
137 | 0 | \ No newline at end of file |
ant/ivy.xml deleted
100644 → 0
1 | -<?xml version="1.0" encoding="ISO-8859-1"?> | |
2 | -<ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"> | |
3 | - <info organisation="com.mumfrey" module="liteloader" status="integration"> | |
4 | - <ivyauthor name="Adam Mummery-Smith" /> | |
5 | - </info> | |
6 | - <dependencies> | |
7 | - <dependency org="org.ow2.asm" name="asm-debug-all" rev="4.1" /> | |
8 | - <dependency org="com.google.guava" name="guava" rev="15.0" /> | |
9 | - <dependency org="net.sf.opencsv" name="opencsv" rev="2.3" /> | |
10 | - <dependency org="net.sf.jopt-simple" name="jopt-simple" rev="4.6" /> | |
11 | - <dependency org="org.eclipse.jgit" name="org.eclipse.jgit" rev="3.2.0.201312181205-r" /> | |
12 | - <dependency org="org.eclipse.core" name="contenttype" rev="3.4.200-v20130326-1255" /> | |
13 | - <dependency org="org.eclipse.core" name="jobs" rev="3.5.300-v20130429-1813" /> | |
14 | - <dependency org="org.eclipse.core" name="runtime" rev="3.9.0-v20130326-1255" /> | |
15 | - <dependency org="org.eclipse" name="osgi" rev="3.9.1-v20130814-1242" /> | |
16 | - <dependency org="org.eclipse.text" name="org.eclipse.text" rev="3.5.101" /> | |
17 | - <dependency org="org.eclipse.equinox" name="common" rev="3.6.200-v20130402-1505" /> | |
18 | - <dependency org="org.eclipse.equinox" name="preferences" rev="3.5.100-v20130422-1538" /> | |
19 | - <dependency org="org.eclipse.jdt" name="org.eclipse.jdt.core" rev="3.10.0.v20131029-1755" /> | |
20 | - <dependency org="net.minecraftforge.srg2source" name="Srg2Source" rev="3.2-SNAPSHOT" /> | |
21 | - </dependencies> | |
22 | -</ivy-module> |
ant/ivysettings.xml deleted
100644 → 0
1 | -<?xml version="1.0" encoding="ISO-8859-1"?> | |
2 | -<ivysettings> | |
3 | - <settings defaultResolver="srg2source" /> | |
4 | - <resolvers> | |
5 | - <chain name="srg2source"> | |
6 | - <ibiblio name="m2" m2compatible="true" /> | |
7 | - <ibiblio name="forge" m2compatible="true" root="http://files.minecraftforge.net/maven/"/> | |
8 | - <ibiblio name="eclipse" m2compatible="true" root="https://repo.eclipse.org/content/groups/eclipse/"/> | |
9 | - </chain> | |
10 | - </resolvers> | |
11 | -</ivysettings> | |
12 | 0 | \ No newline at end of file |
ant/seed_md5.xml deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8" ?> | |
2 | -<project name="mcp" basedir="." default="genmd5"> | |
3 | - | |
4 | - <!-- ========================================================================== --> | |
5 | - <!-- DO NOT RUN THIS SCRIPT DIRECTLY --> | |
6 | - <!-- ========================================================================== --> | |
7 | - | |
8 | - <!-- This script is called by the LiteLoader build script if the initial MD5s --> | |
9 | - <!-- are missing. If you want to fire this script then delete the 'md5' folder --> | |
10 | - <!-- before running the LiteLoader build. --> | |
11 | - | |
12 | - <target name="genmd5" description="Seed the initial MCP md5 set"> | |
13 | - <echo level="info" message="MCP md5set was not found, making a clean compile" /> | |
14 | - <antcall target="recompile" /> | |
15 | - <antcall target="reobfuscate" /> | |
16 | - <antcall target="savemd5" /> | |
17 | - </target> | |
18 | - | |
19 | - <target name="clean"> | |
20 | - <echo level="info" message="Cleaning output directories" /> | |
21 | - | |
22 | - <delete dir="${mcp.dir}/reobf" /> | |
23 | - </target> | |
24 | - | |
25 | - <target name="init" depends="clean" description="Initialize environment"> | |
26 | - <echo level="info" message="Initialising environment" /> | |
27 | - | |
28 | - <mkdir dir="${md5.dir}" /> | |
29 | - </target> | |
30 | - | |
31 | - <target name="recompile" depends="init" description="MCP recompile"> | |
32 | - <echo level="info" message="Compiling MCP sources" /> | |
33 | - | |
34 | - <exec executable="${python_windows}" dir="${mcp.dir}" osfamily="windows"> | |
35 | - <arg value="runtime/recompile.py" /> | |
36 | - <arg value="--client" /> | |
37 | - <arg value="%*" /> | |
38 | - </exec> | |
39 | - | |
40 | - <exec executable="${python_linux}" dir="${mcp.dir}" osfamily="unix"> | |
41 | - <arg value="runtime/recompile.py" /> | |
42 | - <arg value="--client" /> | |
43 | - <arg value="%*" /> | |
44 | - </exec> | |
45 | - | |
46 | - </target> | |
47 | - | |
48 | - <target name="reobfuscate" description="MCP reobfuscate"> | |
49 | - <echo level="info" message="Obfuscating classes" /> | |
50 | - | |
51 | - <exec executable="${python_windows}" dir="${mcp.dir}" osfamily="windows"> | |
52 | - <arg value="runtime/reobfuscate.py" /> | |
53 | - <arg value="--client" /> | |
54 | - <arg value="%*" /> | |
55 | - </exec> | |
56 | - | |
57 | - <exec executable="${python_linux}" dir="${mcp.dir}" osfamily="unix"> | |
58 | - <arg value="runtime/reobfuscate.py" /> | |
59 | - <arg value="--client" /> | |
60 | - <arg value="%*" /> | |
61 | - </exec> | |
62 | - | |
63 | - </target> | |
64 | - | |
65 | - <target name="savemd5" description="Put post-obfuscation MD5 to stored md5 set" if="outmd5set"> | |
66 | - <echo level="info" message="Storing obfuscated MD5s" /> | |
67 | - | |
68 | - <copy file="${temp.dir}/client_reobf.md5" tofile="${md5.dir}/client_mcp.md5" overwrite="true" verbose="true" /> | |
69 | - </target> | |
70 | -</project> | |
71 | 0 | \ No newline at end of file |
ant/tasks/ant-contrib.jar deleted
100644 → 0
No preview for this file type
lib/asm-debug-all-5.0.3.jar deleted
100644 → 0
No preview for this file type
lib/launchwrapper-1.11.jar deleted
100644 → 0
No preview for this file type