3.1.10 release - fixed bukkit javadoc link. Added canarymod-1.8.0 and spigot-1.8.8.jar

This commit is contained in:
walterhiggins 2015-08-16 13:18:05 +01:00
parent bef42e3148
commit c6d6dea3db
7 changed files with 246 additions and 188 deletions

View file

@ -1 +1 @@
scriptcraft-version=3.1.9 scriptcraft-version=3.1.10

View file

@ -11,8 +11,8 @@
<property name="src.bukkit" location="src/main/java/bukkit"/> <property name="src.bukkit" location="src/main/java/bukkit"/>
<!-- compiles against these libraries --> <!-- compiles against these libraries -->
<property name="lib.canary" location="target/lib/canarymod.jar"/> <property name="lib.canary" location="lib/canarymod-1.8.0.jar"/>
<property name="lib.bukkit" location="lib/bukkit-1.7.10-R0.1-SNAPSHOT.jar"/> <property name="lib.bukkit" location="lib/spigot-1.8.8.jar"/>
<property name="build" location="target/classes"/> <property name="build" location="target/classes"/>
<property name="dist" location="target/" /> <property name="dist" location="target/" />
@ -56,26 +56,7 @@
</target> </target>
<target name="get-canary" depends="init" description="Downloads canarymod jar" unless="canary.present"> <target name="compile-plugins" depends="init" description="compile canary plugin source">
<mkdir dir="target/lib/"/>
<get src="http://scriptcraftjs.org/download/latest/CanaryMod-1.8.0-1.2.1-SNAPSHOT-shaded.jar"
maxtime="60"
dest="target/lib/canarymod.jar"
verbose="true"/>
<!--
wph 20150801 - CanaryMod is no longer being developed. Get the latest version from scriptcraftjs.org instead.
<get src="https://ci.visualillusionsent.net/job/CanaryMod/lastStableBuild/artifact/*zip*/archive.zip"
maxtime="60"
dest="target/canarymod.zip"
verbose="true"/>
<unzip src="target/canarymod.zip"
dest="target/lib">
<mapper type="glob" from="*.jar" to="canarymod.jar"/>
</unzip>
-->
</target>
<target name="compile-plugins" depends="init,get-canary" description="compile canary plugin source">
<javac includeantruntime="false" <javac includeantruntime="false"
source="1.6" source="1.6"
target="1.6" target="1.6"
@ -90,10 +71,10 @@
</javac> </javac>
</target> </target>
<target name="gendocs" depends="construct-ypgpm, construct-api-ref, get-canary" description="Generate API documentation"> <target name="gendocs" depends="construct-ypgpm, construct-api-ref" description="Generate API documentation">
</target> </target>
<target name="compile-docs" depends="init, get-canary"> <target name="compile-docs" depends="init">
<javac includeantruntime="false" srcdir="src/docs/java" destdir="${build}"> <javac includeantruntime="false" srcdir="src/docs/java" destdir="${build}">
<classpath> <classpath>
<pathelement path="${lib.canary}"/> <pathelement path="${lib.canary}"/>
@ -101,7 +82,7 @@
</javac> </javac>
</target> </target>
<target name="generate-api-ref-entries" depends="copy-js,compile-docs,init,get-canary"> <target name="generate-api-ref-entries" depends="copy-js,compile-docs,init">
<jscript src="src/docs/js/generateApiDocs.js" <jscript src="src/docs/js/generateApiDocs.js"
out="${dist}/apiref.md" out="${dist}/apiref.md"
@ -118,7 +99,7 @@
</target> </target>
<target name="gen-events-helper-canary" depends="compile-docs,init, get-canary"> <target name="gen-events-helper-canary" depends="compile-docs,init">
<mkdir dir="${dist}/js/lib"/> <mkdir dir="${dist}/js/lib"/>
<jscript src="src/docs/js/generateEventsHelper.js" <jscript src="src/docs/js/generateEventsHelper.js"
out="${dist}/js/lib/events-helper-canary.js" out="${dist}/js/lib/events-helper-canary.js"
@ -130,7 +111,7 @@
</jscript> </jscript>
</target> </target>
<target name="gen-events-helper-bukkit" depends="compile-docs,init,get-canary"> <target name="gen-events-helper-bukkit" depends="compile-docs,init">
<mkdir dir="${dist}/js/lib"/> <mkdir dir="${dist}/js/lib"/>
<jscript src="src/docs/js/generateEventsHelper.js" <jscript src="src/docs/js/generateEventsHelper.js"
out="${dist}/js/lib/events-helper-bukkit.js" out="${dist}/js/lib/events-helper-bukkit.js"
@ -165,7 +146,7 @@ Walter Higgins
</concat> </concat>
</target> </target>
<target name="gen-toc-apiref" depends="compile-docs,generate-api-ref-entries, init, get-canary" description="Generate Table of Contents for API Reference"> <target name="gen-toc-apiref" depends="compile-docs,generate-api-ref-entries, init" description="Generate Table of Contents for API Reference">
<jscript src="src/docs/js/generateTOC.js" <jscript src="src/docs/js/generateTOC.js"
out="${dist}/toc-apiref.md" out="${dist}/toc-apiref.md"
err="${dist}/gen-toc-error.log"> err="${dist}/gen-toc-error.log">
@ -173,7 +154,7 @@ Walter Higgins
</jscript> </jscript>
</target> </target>
<target name="gen-toc-ypgpm" depends="compile-docs,init, get-canary" description="Generate Table of Contents for Young Programmers Guide"> <target name="gen-toc-ypgpm" depends="compile-docs,init" description="Generate Table of Contents for Young Programmers Guide">
<jscript src="src/docs/js/generateTOC.js" <jscript src="src/docs/js/generateTOC.js"
out="${dist}/toc-ypgpm.md" out="${dist}/toc-ypgpm.md"
err="${dist}/gen-ypgpm-error.log"> err="${dist}/gen-ypgpm-error.log">

File diff suppressed because it is too large Load diff

BIN
lib/canarymod-1.8.0.jar Normal file

Binary file not shown.

BIN
lib/spigot-1.8.8.jar Normal file

Binary file not shown.

View file

@ -1,5 +1,10 @@
RELEASE NOTES RELEASE NOTES
============= =============
3.1.10 Release (2015 08 16)
---------------------------
Bug fix: modules/bukkit/sounds.js now works (fixed for Bukkit/SpigotMC/Glowstone)
3.1.9 Release (2015 08 01) 3.1.9 Release (2015 08 01)
-------------------------- --------------------------
Bug fix: minigames/scoreboard.js module's updatePlayerScore() function did not work with latest version of CanaryMod. Bug fix: minigames/scoreboard.js module's updatePlayerScore() function did not work with latest version of CanaryMod.

View file

@ -71,7 +71,7 @@ while ( ( entry = zis.nextEntry) != null) {
if (canary){ if (canary){
fname = fname.replace(/Hook$/,''); fname = fname.replace(/Hook$/,'');
} }
var javaDoc = canary ? 'https://ci.visualillusionsent.net/job/CanaryLib/javadoc/net/canarymod/hook/' : 'http://jd.bukkit.org/rb/apidocs/org/bukkit/event/'; var javaDoc = canary ? 'https://ci.visualillusionsent.net/job/CanaryLib/javadoc/net/canarymod/hook/' : 'https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/';
var comment = [ var comment = [
'/*********************', '/*********************',
'### events.' + fname + '()', '### events.' + fname + '()',