Merge branch '1.5.x'
This commit is contained in:
@@ -56,8 +56,7 @@ public class WarCommandIT {
|
||||
assertThat(invocation.getOutput()).contains("Tomcat started");
|
||||
assertThat(invocation.getOutput())
|
||||
.contains("/WEB-INF/lib-provided/tomcat-embed-core");
|
||||
assertThat(invocation.getOutput())
|
||||
.contains("WEB-INF/classes!/root.properties");
|
||||
assertThat(invocation.getOutput()).contains("WEB-INF/classes!/root.properties");
|
||||
process.destroy();
|
||||
}
|
||||
|
||||
|
||||
@@ -289,10 +289,9 @@ abstract class ArchiveCommand extends OptionParsingCommand {
|
||||
return libraries;
|
||||
}
|
||||
|
||||
protected void writeClasspathEntry(JarWriter writer,
|
||||
MatchedResource entry) throws IOException {
|
||||
writer.writeEntry(entry.getName(),
|
||||
new FileInputStream(entry.getFile()));
|
||||
protected void writeClasspathEntry(JarWriter writer, MatchedResource entry)
|
||||
throws IOException {
|
||||
writer.writeEntry(entry.getName(), new FileInputStream(entry.getFile()));
|
||||
}
|
||||
|
||||
protected abstract LibraryScope getLibraryScope(File file);
|
||||
|
||||
Reference in New Issue
Block a user