SpoutDev/BukkitBridge — pull request #15 by zhuowei (2012-03-29 04:37:55+00:00)
Title: Shade in org.apache classes because Bukkit depends on them

Because nobody wants this:

21:06:06 [SEVERE] Exception in thread "main"
21:06:07 [SEVERE] java.lang.NoClassDefFoundError: org/apache/commons/lang/Validate
21:06:07 [SEVERE] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:103)
21:06:07 [SEVERE] at org.spout.bukkit.BridgeServer.loadPlugins(BridgeServer.java:93)
21:06:07 [SEVERE] at org.spout.bukkit.BridgeServer.init(BridgeServer.java:83)
21:06:07 [SEVERE] at org.spout.bukkit.BukkitBridge.onEnable(BukkitBridge.java:43)
21:06:07 [SEVERE] at org.spout.api.plugin.CommonPluginLoader.enablePlugin(CommonPluginLoader.java:90)
21:06:07 [SEVERE] at org.spout.api.plugin.CommonPluginManager.enablePlugin(CommonPluginManager.java:221)
21:06:07 [SEVERE] at org.spout.server.SpoutEngine.enablePlugins(SpoutEngine.java:283)
21:06:07 [SEVERE] at org.spout.server.SpoutEngine.start(SpoutEngine.java:237)
21:06:07 [SEVERE] at org.spout.server.SpoutServer.start(SpoutServer.java:71)
21:06:07 [SEVERE] at org.spout.server.SpoutServer.main(SpoutServer.java:57)
21:06:07 [SEVERE] Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.Validate
21:06:07 [SEVERE] at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
21:06:07 [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
21:06:07 [SEVERE] at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
21:06:07 [SEVERE] at org.spout.api.plugin.CommonClassLoader.findClass(CommonClassLoader.java:62)
21:06:07 [SEVERE] at org.spout.api.plugin.CommonClassLoader.findClass(CommonClassLoader.java:50)
21:06:07 [SEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
21:06:07 [SEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
21:06:07 [SEVERE] ... 10 more