mirror of
https://github.com/apache/nifi.git
synced 2025-02-16 15:06:00 +00:00
NIFI-173 fixed web war finding
This commit is contained in:
parent
8fb78d2a58
commit
d9dab00612
@ -273,7 +273,7 @@ public class JettyServer implements NiFiServer {
|
|||||||
|
|
||||||
// consider each nar working directory
|
// consider each nar working directory
|
||||||
for (final File narWorkingDirectory : narWorkingDirectories) {
|
for (final File narWorkingDirectory : narWorkingDirectories) {
|
||||||
final File narDependencies = new File(narWorkingDirectory, "META-INF/dependencies");
|
final File narDependencies = new File(narWorkingDirectory, "META-INF/bundled-dependencies");
|
||||||
if (narDependencies.isDirectory()) {
|
if (narDependencies.isDirectory()) {
|
||||||
// list the wars from this nar
|
// list the wars from this nar
|
||||||
final File[] narDependencyDirs = narDependencies.listFiles(WAR_FILTER);
|
final File[] narDependencyDirs = narDependencies.listFiles(WAR_FILTER);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user