added copy-js-to-live-cb target for copying js-plugins directory in source tree to craftbukkit directory
This commit is contained in:
parent
422f3da9c4
commit
b340373ea7
2 changed files with 7 additions and 1 deletions
|
@ -7,4 +7,5 @@
|
||||||
# http://dl.bukkit.org/downloads/bukkit/
|
# http://dl.bukkit.org/downloads/bukkit/
|
||||||
#
|
#
|
||||||
bukkit-lib=/home/walter/bukkit/target/original-bukkit-1.4.6-R0.4-SNAPSHOT.jar
|
bukkit-lib=/home/walter/bukkit/target/original-bukkit-1.4.6-R0.4-SNAPSHOT.jar
|
||||||
|
craftbukkit=/home/walter/craftbukkit/
|
||||||
bukkit-version=1.4.6
|
bukkit-version=1.4.6
|
||||||
|
|
|
@ -27,9 +27,14 @@
|
||||||
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
|
||||||
<jar jarfile="${dist}/scriptcraft-${bukkit-version}-${DSTAMP}.jar" basedir="${build}"/>
|
<jar jarfile="${dist}/scriptcraft-${bukkit-version}-${DSTAMP}.jar" basedir="${build}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="clean" description="clean up" >
|
<target name="clean" description="clean up" >
|
||||||
<delete dir="${build}"/>
|
<delete dir="${build}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="copy-js-cb-live">
|
||||||
|
<copy todir="${craftbukkit}/js-plugins">
|
||||||
|
<fileset dir="js-plugins"/>
|
||||||
|
</copy>
|
||||||
|
</target>
|
||||||
</project>
|
</project>
|
||||||
|
|
Reference in a new issue