Commit 5f7e35c6cd50d08a7db0f110fe2ca8b2c06e9e40
1 parent
62ab671f
replace missing ivy:retrieve in srgjar ant script
Showing
1 changed file
with
6 additions
and
5 deletions
ant/build_srgjar.xml
... | ... | @@ -57,7 +57,7 @@ |
57 | 57 | |
58 | 58 | <target name="init" depends="clean"> |
59 | 59 | <echo message="Aggregating sources..." /> |
60 | - | |
60 | + | |
61 | 61 | <copy todir="${src.dir}" overwrite="true"> |
62 | 62 | <fileset dir="${minecraft.src.dir}"> |
63 | 63 | <exclude name="*.java" /> |
... | ... | @@ -69,6 +69,7 @@ |
69 | 69 | </copy> |
70 | 70 | |
71 | 71 | <echo message="Fetching dependencies..." /> |
72 | + <ivy:retrieve sync="true" /> | |
72 | 73 | </target> |
73 | 74 | |
74 | 75 | <target name="reobfSrg" depends="init"> |
... | ... | @@ -88,8 +89,8 @@ |
88 | 89 | </target> |
89 | 90 | |
90 | 91 | <target name="extractRanges" depends="reobfSrg"> |
91 | - <echo message="Extracting ranges from source..." /> | |
92 | - | |
92 | + <echo message="Extracting ranges from source..." /> | |
93 | + | |
93 | 94 | <java classname="net.minecraftforge.srg2source.ast.RangeExtractor" output="${temp.dir}/extractRanges.log"> |
94 | 95 | <classpath refid="class.path" /> |
95 | 96 | <arg value="${src.dir}" /> |
... | ... | @@ -100,7 +101,7 @@ |
100 | 101 | |
101 | 102 | <target name="flipsrg" depends="extractRanges"> |
102 | 103 | <echo message="Remapping SRG file..." /> |
103 | - | |
104 | + | |
104 | 105 | <copy file="${insrg.file}" tofile="${outsrg.file}" overwrite="true" /> |
105 | 106 | <replaceregexp file="${outsrg.file}" byline="true" match="(FD|CL): ([^\s]+) ([^\s]+)" replace="\1: \3 \2" /> |
106 | 107 | <replaceregexp file="${outsrg.file}" byline="true" match="MD: ([^\s]+) ([^\s]+) ([^\s]+) ([^\s]+)" replace="MD: \3 \4 \1 \2" /> |
... | ... | @@ -108,7 +109,7 @@ |
108 | 109 | |
109 | 110 | <target name="applyRanges" depends="flipsrg"> |
110 | 111 | <echo message="Remapping ranges in source..." /> |
111 | - | |
112 | + | |
112 | 113 | <java classname="net.minecraftforge.srg2source.rangeapplier.RangeApplier" output="${temp.dir}/applyRanges.log"> |
113 | 114 | <classpath refid="class.path" /> |
114 | 115 | <arg value="--srcRoot=${src.dir}" /> | ... | ... |