Advertisement
JackOUT

Untitled

Nov 26th, 2022
1,067
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.55 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2. <!DOCTYPE xml>
  3. <project name="LaserTurrets" default="Build">
  4.  
  5.     <!-- We use this file to compile your plugin to your plugins/ directory
  6.         automatically and use the hot swap (also known as live debug) feature.
  7.  
  8.         It does not support dependencies easily so the only dependency
  9.         we include here is Foundation. It cannot change Foundation's packages
  10.         so you can only debug one plugin at a time to avoid conflicts. -->
  11.  
  12.     <!-- Ninja: We read pom.xml file to find the Foundation version to use -->
  13.     <xmlproperty file="pom.xml" prefix="pom" keeproot="false"/>
  14.     <property name="foundation.version" value="${pom.properties.foundation.version}"/>
  15.  
  16.     <!-- Change the name="" key on the top to your plugin's name
  17.         and edit the path below to where your server is located.
  18.  
  19.         You can simply duplicate the <jar>...</jar> section
  20.         to compile your plugin to multiple servers. -->
  21.  
  22.     <target name="Build">
  23.         <jar jarfile="/Users/jack.bikar/Desktop/Test Servers/1.19.2/plugins/${ant.project.name}.jar"
  24.             basedir="./target/classes/"
  25.             includes="**/*">
  26.  
  27.             <!-- IF you have Foundation on your disk, remove the <zipgroupfileset> line and uncomment the <fileset> one. Repeat for the other <jar> goal below.
  28.                 Foundation then needs to be in the same parent's folder as your plugin's source, such as workspace/Foundation and workspace/YourPlugin! -->
  29.             <!--<zipgroupfileset dir="${user.home}/.m2/repository/com/github/kangarko/Foundation/${foundation.version}/"
  30.                             includes="**/*${foundation.version}.jar"/>-->
  31.             <fileset dir="/Users/jack.bikar/Workspace/Foundation/target/classes"/>
  32.  
  33.         </jar>
  34.         <jar jarfile="/Users/jack.bikar/Desktop/Test Servers/1.8/plugins/${ant.project.name}.jar"
  35.             basedir="./target/classes/"
  36.             includes="**/*">
  37.  
  38.             <!-- IF you have Foundation on your disk, remove the <zipgroupfileset> line and uncomment the <fileset> one. Repeat for the other <jar> goal below.
  39.                 Foundation then needs to be in the same parent's folder as your plugin's source, such as workspace/Foundation and workspace/YourPlugin! -->
  40.             <!--<zipgroupfileset dir="${user.home}/.m2/repository/com/github/kangarko/Foundation/${foundation.version}/"
  41.                             includes="**/*${foundation.version}.jar"/>-->
  42.             <fileset dir="/Users/jack.bikar/Workspace/Foundation/target/classes"/>
  43.  
  44.         </jar>
  45.     </target>
  46. </project>
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement