JavaLoader version 0.0.2
·
68 commits
to master
since this release
Changes
- No longer force JavaLoaderProjects to implement onLoad() and onUnload().
- Support backslash file separator on non-Windows OSs.
- Fix single project detection when loading a new project from the file system.
- Fix command uninjection from Bukkit when a JavaLoader project unloads. Running an uninjected command would throw a stacktrace.
- Use proper OS-dependent classpath separator. Fixes dependencies not being included on non-Windows OSs during JavaLoader project compilation.
- Change BukkitCommand creation to chain-setters and deprecate old BukkitCommand constructor.
- Send
/javaloader <load/unload>exceptions to the commandsender instead of console. - Refactor JavaLoader
coreclasses to the newcorepackage. This breaks JavaLoader standalone projects (Fix is to importjl.core.JavaLoaderProjectinstead of jl.JavaLoaderProject). - Change the
/javaloader unload/load/recompile [project]commands to/javaloader unload/load/recompile <project, *>to prevent accidental bulk unload/load/recompile operations. - Rename
JavaProject.isEnabled()andJavaLoaderProject.isEnabled()toisLoaded(). - Add
clean()method to JavaProject that can be used to clean all binaries of the project. - Add
isDisabled()andsetDisabled(Boolean)methods to JavaProject to allow for disabling a project. Disabled projects cannot be loaded and loaded projects cannot be disabled (without unloading them first). Works through creating a.disabledfile in the root of a JavaLoader project. - Fix missing dependency in JavaLoader standalone mode.
- Fix classloading of project dependency classes.