Skip to content

Commit

Permalink
Always exclude lock file, as it would cause the whole packing to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
briacp committed Jun 8, 2020
1 parent 099c216 commit 2a5d6d6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,9 @@ public static void createOmt(final File omtZip, final ProjectProperties props) t
List<String> listExcludes = Arrays
.asList(pluginProps.getProperty(PROPERTY_EXCLUDE, DEFAULT_EXCLUDE).split(";"));

// Always exclude lock file, as it would cause the whole packing to fail
listExcludes.add("\\.lck$");

DirectoryStream.Filter<Path> filter = new DirectoryFilter(path, listExcludes);

BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(omtZip));
Expand Down

0 comments on commit 2a5d6d6

Please sign in to comment.