Skip to content

Commit cff750a

Browse files
author
Chris Wilper
committed
auto-creates destination dir of generated stub wrapper
Git doesn't do empty dirs, so the stubwrappers directory wasn't present, which was preventing these from being generated properly, thus breaking the build after the migration to github.
1 parent 58fb71d commit cff750a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fcrepo-generate/src/main/java/org/fcrepo/generate/BuildAxisStubWrapper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ public static void main(String[] args) {
245245
String pkg = args[2];
246246
String cls = args[3];
247247
File wrapper = new File(args[4]);
248+
wrapper.getParentFile().mkdirs();
248249
new BuildAxisStubWrapper(stub, template, pkg, cls, wrapper);
249250
} else {
250251
throw new IOException("Must supply " + argCount + " arguments.");

0 commit comments

Comments
 (0)