mirror of
https://github.com/corda/corda.git
synced 2024-12-23 14:52:29 +00:00
Merged in clint-capletfix (pull request #466)
Fixed classpath augmentation for plugins.
This commit is contained in:
commit
d65ff747b3
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user