Merged in clint-capletfix (pull request #466)

Fixed classpath augmentation for plugins.
This commit is contained in:
Richard Green 2016-11-16 10:39:27 +00:00
commit d65ff747b3

View File

@ -34,7 +34,7 @@ public class CordaCaplet extends Capsule {
// TODO: Make directory configurable via the capsule manifest. // TODO: Make directory configurable via the capsule manifest.
// TODO: Add working directory variable to capsules string replacement variables. // TODO: Add working directory variable to capsules string replacement variables.
private List<Path> augmentClasspath(List<Path> classpath, String dirName) { private List<Path> augmentClasspath(List<Path> classpath, String dirName) {
File dir = new File("plugins"); File dir = new File(dirName);
if(!dir.exists()) { if(!dir.exists()) {
dir.mkdir(); dir.mkdir();
} }