Skip to content

JavaLoader version 0.0.2

Choose a tag to compare

@Pieter12345 Pieter12345 released this 29 Jun 21:55
· 68 commits to master since this release
6ab25c8

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 core classes to the new core package. This breaks JavaLoader standalone projects (Fix is to import jl.core.JavaLoaderProject instead 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() and JavaLoaderProject.isEnabled() to isLoaded().
  • Add clean() method to JavaProject that can be used to clean all binaries of the project.
  • Add isDisabled() and setDisabled(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 .disabled file in the root of a JavaLoader project.
  • Fix missing dependency in JavaLoader standalone mode.
  • Fix classloading of project dependency classes.