Bukkit Base Plugin Generator - OSX, Linux & Windows - Inc Project Files.

Discussion in 'Resources' started by Pezmc, Jan 26, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    ray73864

    That's rather weird, Lame One, i put mine on my D: drive in a folder called 'minecraft' and it didn't have any problems running the batch file.

    The full path to mine: D:\minecraft\Pezmc-Bukkit-Plugin-Generator-56340e9
     
  2. Offline

    Rainfur

    SOOOOOOOOOO Useful
    Thanks!
     
  3. Offline

    JWhy

    My error with an untouched generated plugin exported to MyTest.jar with Bukkit b754 and Eclipse Indigo on WinVista 32Bit:
    Code:
    23:23:18 [SCHWERWIEGEND] Could not load 'plugins\MyTest.jar' in folder 'plugins'
    :
    java.lang.ClassNotFoundException: JWhy.MyTest
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:168)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:199)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:122)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  4. Offline

    Jaker232

    Problem: 'C:\Documents' is not recognized as an internal or external command, operable program or batch file. (x2)
    Press any key to continue . . .

    OS: Windows XP
    Extracted to: C:\Documents and Settings\Jacob\Desktop\BukkitPlugin

    Help?
     
  5. Offline

    Jaker232

     
  6. Offline

    Dimochka

    I figured this out and the test project now builds clean.
    I suggest that you at least put this in template build.xml file:
    Code:
     <path id="{{PLUGINNAME}}.module.production.classpath">
        <!-- Put full path to your Bukkit jar in location -->
        <!-- 
        <pathelement location="/some/path/bukkit-0.0.1-SNAPSHOT.jar" />
        -->
      </path>
    Also, why is output directory added to classpath for javac?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 7, 2016
  7. Offline

    Fallen_Advent

    For those of you with the Problem where C:blahblahblah isnt a recognised command, Put the entire folder in the root of your C: Drive and it will work just fine

     
  8. Offline

    Funwayguy

    Batch files dont like spaces in its directory paths. It only seems to work correctly for me if i put it into a directory that doesnt use spaces. Every time i run it else where, it stops reading the directory location as soon as it encounters a space in the directory address. Could you please fix the program to incude quotes around the path variables.
     
Thread Status:
Not open for further replies.

Share This Page