sattvik/leinjacker — pull request #4 by dgrnbrg (2012-07-29 21:42:53+00:00)
Title: Added hook-eval-in-project, get-classpath, and apply-task

hook-eval-in-project is a powerful tool to allow for functionality like lein2's :injections to be made available in lein1 w/ a bit more work. Also, it allows for plugins to invoke the JVM using entirely different code, for instance, to integrate w/ existing proprietary JVM launchers. One example of this is MATLAB, which allows for user code to be put on the classpath.

apply-task make it easy for one task to chain/delegate to another as a subtask.

get-classpath is useful when changing the JVM invocation, so that the new JVM can receive the classpath from all the right places.