|
11 | 11 | <property name="src.bukkit" location="src/main/java/bukkit"/>
|
12 | 12 |
|
13 | 13 | <!-- compiles against these libraries -->
|
14 |
| - <property name="lib.canary" location="target/lib/canarymod.jar"/> |
15 |
| - <property name="lib.bukkit" location="lib/bukkit-1.7.10-R0.1-SNAPSHOT.jar"/> |
| 14 | + <property name="lib.canary" location="lib/canarymod-1.8.0.jar"/> |
| 15 | + <property name="lib.bukkit" location="lib/spigot-1.8.8.jar"/> |
16 | 16 |
|
17 | 17 | <property name="build" location="target/classes"/>
|
18 | 18 | <property name="dist" location="target/" />
|
|
56 | 56 | </target>
|
57 | 57 |
|
58 | 58 |
|
59 |
| - <target name="get-canary" depends="init" description="Downloads canarymod jar" unless="canary.present"> |
60 |
| - <mkdir dir="target/lib/"/> |
61 |
| - <get src="http://scriptcraftjs.org/download/latest/CanaryMod-1.8.0-1.2.1-SNAPSHOT-shaded.jar" |
62 |
| - maxtime="60" |
63 |
| - dest="target/lib/canarymod.jar" |
64 |
| - verbose="true"/> |
65 |
| - <!-- |
66 |
| - wph 20150801 - CanaryMod is no longer being developed. Get the latest version from scriptcraftjs.org instead. |
67 |
| - <get src="https://ci.visualillusionsent.net/job/CanaryMod/lastStableBuild/artifact/*zip*/archive.zip" |
68 |
| - maxtime="60" |
69 |
| - dest="target/canarymod.zip" |
70 |
| - verbose="true"/> |
71 |
| - <unzip src="target/canarymod.zip" |
72 |
| - dest="target/lib"> |
73 |
| - <mapper type="glob" from="*.jar" to="canarymod.jar"/> |
74 |
| - </unzip> |
75 |
| - --> |
76 |
| - </target> |
77 |
| - |
78 |
| - <target name="compile-plugins" depends="init,get-canary" description="compile canary plugin source"> |
| 59 | + <target name="compile-plugins" depends="init" description="compile canary plugin source"> |
79 | 60 | <javac includeantruntime="false"
|
80 | 61 | source="1.6"
|
81 | 62 | target="1.6"
|
|
90 | 71 | </javac>
|
91 | 72 | </target>
|
92 | 73 |
|
93 |
| - <target name="gendocs" depends="construct-ypgpm, construct-api-ref, get-canary" description="Generate API documentation"> |
| 74 | + <target name="gendocs" depends="construct-ypgpm, construct-api-ref" description="Generate API documentation"> |
94 | 75 | </target>
|
95 | 76 |
|
96 |
| - <target name="compile-docs" depends="init, get-canary"> |
| 77 | + <target name="compile-docs" depends="init"> |
97 | 78 | <javac includeantruntime="false" srcdir="src/docs/java" destdir="${build}">
|
98 | 79 | <classpath>
|
99 | 80 | <pathelement path="${lib.canary}"/>
|
100 | 81 | </classpath>
|
101 | 82 | </javac>
|
102 | 83 | </target>
|
103 | 84 |
|
104 |
| - <target name="generate-api-ref-entries" depends="copy-js,compile-docs,init,get-canary"> |
| 85 | + <target name="generate-api-ref-entries" depends="copy-js,compile-docs,init"> |
105 | 86 |
|
106 | 87 | <jscript src="src/docs/js/generateApiDocs.js"
|
107 | 88 | out="${dist}/apiref.md"
|
|
118 | 99 |
|
119 | 100 | </target>
|
120 | 101 |
|
121 |
| - <target name="gen-events-helper-canary" depends="compile-docs,init, get-canary"> |
| 102 | + <target name="gen-events-helper-canary" depends="compile-docs,init"> |
122 | 103 | <mkdir dir="${dist}/js/lib"/>
|
123 | 104 | <jscript src="src/docs/js/generateEventsHelper.js"
|
124 | 105 | out="${dist}/js/lib/events-helper-canary.js"
|
|
130 | 111 | </jscript>
|
131 | 112 | </target>
|
132 | 113 |
|
133 |
| - <target name="gen-events-helper-bukkit" depends="compile-docs,init,get-canary"> |
| 114 | + <target name="gen-events-helper-bukkit" depends="compile-docs,init"> |
134 | 115 | <mkdir dir="${dist}/js/lib"/>
|
135 | 116 | <jscript src="src/docs/js/generateEventsHelper.js"
|
136 | 117 | out="${dist}/js/lib/events-helper-bukkit.js"
|
@@ -165,15 +146,15 @@ Walter Higgins
|
165 | 146 | </concat>
|
166 | 147 | </target>
|
167 | 148 |
|
168 |
| - <target name="gen-toc-apiref" depends="compile-docs,generate-api-ref-entries, init, get-canary" description="Generate Table of Contents for API Reference"> |
| 149 | + <target name="gen-toc-apiref" depends="compile-docs,generate-api-ref-entries, init" description="Generate Table of Contents for API Reference"> |
169 | 150 | <jscript src="src/docs/js/generateTOC.js"
|
170 | 151 | out="${dist}/toc-apiref.md"
|
171 | 152 | err="${dist}/gen-toc-error.log">
|
172 | 153 | <arg value="${dist}/apiref-con.md"/>
|
173 | 154 | </jscript>
|
174 | 155 | </target>
|
175 | 156 |
|
176 |
| - <target name="gen-toc-ypgpm" depends="compile-docs,init, get-canary" description="Generate Table of Contents for Young Programmers Guide"> |
| 157 | + <target name="gen-toc-ypgpm" depends="compile-docs,init" description="Generate Table of Contents for Young Programmers Guide"> |
177 | 158 | <jscript src="src/docs/js/generateTOC.js"
|
178 | 159 | out="${dist}/toc-ypgpm.md"
|
179 | 160 | err="${dist}/gen-ypgpm-error.log">
|
|
0 commit comments