[
https://issues.apache.org/jira/browse/FELIX-4501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14382221#comment-14382221
]
Raymond Augé commented on FELIX-4501:
-------------------------------------
I'm sorry, I'm not sure what I'm doing wrong :(
I am synced to trunk with no local changes.
Here is the complete log:
{code}
[rotty@rotty-XPS-15-9530 (trunk $=) fileinstall]$ git remote -v
origin [email protected]:rotty3000/felix.git (fetch)
origin [email protected]:rotty3000/felix.git (push)
upstream git://github.com/apache/felix.git (fetch)
upstream git://github.com/apache/felix.git (push)
[rotty@rotty-XPS-15-9530 (trunk $=) fileinstall]$ git status
On branch trunk
Your branch is up-to-date with 'origin/trunk'.
nothing to commit, working directory clean
[rotty@rotty-XPS-15-9530 (trunk $=) fileinstall]$ mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.felix:org.apache.felix.fileinstall:jar:3.5.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:rat-maven-plugin
is missing. @ line 182, column 15
[WARNING] The expression ${pom.artifactId} is deprecated. Please use
${project.artifactId} instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten
the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Felix File Install 3.5.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
org.apache.felix.fileinstall ---
[INFO] Deleting /home/rotty/workspace/felix/fileinstall/target
[INFO]
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @
org.apache.felix.fileinstall ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
org.apache.felix.fileinstall ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource to META-INF
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
org.apache.felix.fileinstall ---
[INFO] Compiling 14 source files to
/home/rotty/workspace/felix/fileinstall/target/classes
[INFO]
[INFO] --- maven-bundle-plugin:2.1.0:manifest (bundle-manifest) @
org.apache.felix.fileinstall ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @
org.apache.felix.fileinstall ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
org.apache.felix.fileinstall ---
[INFO] Compiling 3 source files to
/home/rotty/workspace/felix/fileinstall/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @
org.apache.felix.fileinstall ---
[INFO] Surefire report directory:
/home/rotty/workspace/felix/fileinstall/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.felix.fileinstall.internal.ConfigInstallerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.117 sec
Running org.apache.felix.fileinstall.internal.DirectoryWatcherTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec
Running org.apache.felix.fileinstall.internal.BundleTransformerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Exception in thread
"fileinstall-/home/rotty/workspace/felix/fileinstall/src/test/resources/watched"
Results :
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.7:check (default) @
org.apache.felix.fileinstall ---
[INFO] Checking unresolved references to
org.codehaus.mojo.signature:java13-sun:1.0
[ERROR] Undefined reference:
java/util/Properties.loadFromXML(Ljava/io/InputStream;)V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/ConfigInstaller.class
[ERROR] Undefined reference: java/lang/StringBuilder in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/ConfigInstaller.class
[ERROR] Undefined reference: java/lang/StringBuilder.<init>()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/ConfigInstaller.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/ConfigInstaller.class
[ERROR] Undefined reference:
java/lang/StringBuilder.toString()Ljava/lang/String; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/ConfigInstaller.class
[ERROR] Undefined reference: java/io/File.toURI()Ljava/net/URI; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/ConfigInstaller.class
[ERROR] Undefined reference: java/net/URI.toString()Ljava/lang/String; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/ConfigInstaller.class
[ERROR] Undefined reference:
java/net/URI.create(Ljava/lang/String;)Ljava/net/URI; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/ConfigInstaller.class
[ERROR] Undefined reference: java/io/File.<init>(Ljava/net/URI;)V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/ConfigInstaller.class
[ERROR] Undefined reference:
java/lang/String.replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/ConfigInstaller.class
[ERROR] Undefined reference: java/util/concurrent/CountDownLatch.countDown()V
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall$1.class
[ERROR] Undefined reference:
java/nio/file/FileSystems.getDefault()Ljava/nio/file/FileSystem; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/WatcherScanner.class
[ERROR] Undefined reference: java/lang/StringBuilder in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/WatcherScanner.class
[ERROR] Undefined reference: java/lang/StringBuilder.<init>()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/WatcherScanner.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/WatcherScanner.class
[ERROR] Undefined reference:
java/lang/StringBuilder.toString()Ljava/lang/String; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/WatcherScanner.class
[ERROR] Undefined reference:
java/nio/file/FileSystem.getPathMatcher(Ljava/lang/String;)Ljava/nio/file/PathMatcher;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/WatcherScanner.class
[ERROR] Undefined reference: java/lang/Long.valueOf(J)Ljava/lang/Long; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/WatcherScanner.class
[ERROR] Undefined reference:
java/util/regex/Pattern.compile(Ljava/lang/String;)Ljava/util/regex/Pattern; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Scanner$1.class
[ERROR] Undefined reference:
java/util/regex/Pattern.matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Scanner$1.class
[ERROR] Undefined reference: java/util/regex/Matcher.matches()Z in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Scanner$1.class
[ERROR] Undefined reference: java/util/concurrent/locks/ReentrantReadWriteLock
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference:
java/util/concurrent/locks/ReentrantReadWriteLock.<init>()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference:
java/util/concurrent/locks/ReadWriteLock.writeLock()Ljava/util/concurrent/locks/Lock;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference: java/util/concurrent/locks/Lock.lock()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference: java/lang/StringBuilder in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference: java/lang/StringBuilder.<init>()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference:
java/lang/StringBuilder.toString()Ljava/lang/String; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(I)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference: java/util/concurrent/locks/Lock.unlock()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference: java/util/concurrent/CountDownLatch in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference: java/util/concurrent/CountDownLatch.<init>(I)V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference: java/util/concurrent/CountDownLatch.await()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall.class
[ERROR] Undefined reference:
java/nio/file/Path.relativize(Ljava/nio/file/Path;)Ljava/nio/file/Path; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher$FilteringFileVisitor.class
[ERROR] Undefined reference: java/nio/file/Path.toString()Ljava/lang/String; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher$FilteringFileVisitor.class
[ERROR] Undefined reference:
java/nio/file/PathMatcher.matches(Ljava/nio/file/Path;)Z in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher$FilteringFileVisitor.class
[ERROR] Undefined reference:
java/nio/file/FileVisitResult.SKIP_SUBTREE#Ljava/nio/file/FileVisitResult; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher$FilteringFileVisitor.class
[ERROR] Undefined reference:
java/nio/file/FileVisitResult.CONTINUE#Ljava/nio/file/FileVisitResult; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher$FilteringFileVisitor.class
[ERROR] Undefined reference: java/nio/file/Path in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher$FilteringFileVisitor.class
[ERROR] Undefined reference:
java/util/concurrent/locks/ReadWriteLock.writeLock()Ljava/util/concurrent/locks/Lock;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall$ConfigAdminSupport$Tracker.class
[ERROR] Undefined reference: java/util/concurrent/locks/Lock.lock()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall$ConfigAdminSupport$Tracker.class
[ERROR] Undefined reference: java/util/concurrent/locks/Lock.unlock()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall$ConfigAdminSupport$Tracker.class
[ERROR] Undefined reference: java/lang/Long.valueOf(J)Ljava/lang/Long; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/FileInstall$ConfigAdminSupport$Tracker.class
[ERROR] Undefined reference:
java/util/logging/Level.SEVERE#Ljava/util/logging/Level; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util$DefaultLogger.class
[ERROR] Undefined reference:
java/util/logging/Level.WARNING#Ljava/util/logging/Level; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util$DefaultLogger.class
[ERROR] Undefined reference:
java/util/logging/Level.INFO#Ljava/util/logging/Level; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util$DefaultLogger.class
[ERROR] Undefined reference:
java/util/logging/Level.FINE#Ljava/util/logging/Level; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util$DefaultLogger.class
[ERROR] Undefined reference:
java/util/logging/Level.FINEST#Ljava/util/logging/Level; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util$DefaultLogger.class
[ERROR] Undefined reference:
java/util/logging/Logger.getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util$DefaultLogger.class
[ERROR] Undefined reference:
java/util/logging/Logger.log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util$DefaultLogger.class
[ERROR] Undefined reference: java/lang/StringBuilder in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util$DefaultLogger.class
[ERROR] Undefined reference: java/lang/StringBuilder.<init>()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util$DefaultLogger.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util$DefaultLogger.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(Ljava/lang/Object;)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util$DefaultLogger.class
[ERROR] Undefined reference:
java/lang/StringBuilder.toString()Ljava/lang/String; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util$DefaultLogger.class
[ERROR] Undefined reference:
java/io/IOException.initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/JarDirUrlHandler$Connection.class
[ERROR] Undefined reference: java/lang/AssertionError in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util.class
[ERROR] Undefined reference: java/lang/AssertionError.<init>()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util.class
[ERROR] Undefined reference: java/lang/StringBuilder in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util.class
[ERROR] Undefined reference: java/lang/StringBuilder.<init>()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util.class
[ERROR] Undefined reference:
java/lang/StringBuilder.toString()Ljava/lang/String; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util.class
[ERROR] Undefined reference: java/lang/Class.desiredAssertionStatus()Z in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Util.class
[ERROR] Undefined reference: java/util/concurrent/ConcurrentHashMap in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/util/concurrent/ConcurrentHashMap.<init>()V
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/FileSystem.getRootDirectories()Ljava/lang/Iterable; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/lang/Iterable.iterator()Ljava/util/Iterator;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/nio/file/Path in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/nio/file/LinkOption in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/Files.exists(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/lang/StringBuilder in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/lang/StringBuilder.<init>()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(Ljava/lang/Object;)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/lang/StringBuilder.toString()Ljava/lang/String; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/Files.isDirectory(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/FileSystem.newWatchService()Ljava/nio/file/WatchService; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/nio/file/WatchService.close()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/io/File.toPath()Ljava/nio/file/Path; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/nio/file/WatchKey in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/nio/file/WatchKey.cancel()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/Files.walkFileTree(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/WatchService.poll()Ljava/nio/file/WatchKey; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/WatchKey.pollEvents()Ljava/util/List; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/nio/file/WatchEvent in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/WatchEvent.kind()Ljava/nio/file/WatchEvent$Kind; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/WatchEvent.context()Ljava/lang/Object; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/Path.resolve(Ljava/nio/file/Path;)Ljava/nio/file/Path; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/StandardWatchEventKinds.OVERFLOW#Ljava/nio/file/WatchEvent$Kind;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/StandardWatchEventKinds.ENTRY_CREATE#Ljava/nio/file/WatchEvent$Kind;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/LinkOption.NOFOLLOW_LINKS#Ljava/nio/file/LinkOption; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/Files.isRegularFile(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/StandardWatchEventKinds.ENTRY_MODIFY#Ljava/nio/file/WatchEvent$Kind;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/StandardWatchEventKinds.ENTRY_DELETE#Ljava/nio/file/WatchEvent$Kind;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/nio/file/WatchKey.reset()Z in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/Path.relativize(Ljava/nio/file/Path;)Ljava/nio/file/Path; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/PathMatcher.matches(Ljava/nio/file/Path;)Z in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/nio/file/WatchEvent$Kind in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/Path.register(Ljava/nio/file/WatchService;[Ljava/nio/file/WatchEvent$Kind;)Ljava/nio/file/WatchKey;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference:
java/nio/file/FileSystems.getDefault()Ljava/nio/file/FileSystem; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Watcher.class
[ERROR] Undefined reference: java/lang/StringBuilder in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/lang/StringBuilder.<init>()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference:
java/lang/StringBuilder.toString()Ljava/lang/String; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/util/concurrent/atomic/AtomicBoolean in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference:
java/util/concurrent/atomic/AtomicBoolean.<init>()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(Ljava/lang/Object;)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference:
java/lang/RuntimeException.<init>(Ljava/lang/Throwable;)V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference:
java/util/concurrent/locks/ReadWriteLock.readLock()Ljava/util/concurrent/locks/Lock;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference:
java/util/concurrent/locks/Lock.lockInterruptibly()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(J)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(I)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference:
java/lang/StringBuilder.append(Z)Ljava/lang/StringBuilder; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/util/concurrent/locks/Lock.unlock()V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/io/File.toURI()Ljava/net/URI; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/net/URI.toURL()Ljava/net/URL; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/net/URI.normalize()Ljava/net/URI; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/net/URI.getPath()Ljava/lang/String; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/net/URI in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/net/URI.<init>(Ljava/lang/String;)V in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/net/URI.isOpaque()Z in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference:
java/net/URI.getSchemeSpecificPart()Ljava/lang/String; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/lang/Long.valueOf(J)Ljava/lang/Long; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/net/URI.toString()Ljava/lang/String; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/util/concurrent/atomic/AtomicBoolean.get()Z
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/util/concurrent/atomic/AtomicBoolean.set(Z)V
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/DirectoryWatcher.class
[ERROR] Undefined reference: java/nio/file/Path.toFile()Ljava/io/File; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/WatcherScanner$ScannerWatcher.class
[ERROR] Undefined reference:
java/lang/String.format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/WatcherScanner$ScannerWatcher.class
[ERROR] Undefined reference: java/lang/Long.valueOf(J)Ljava/lang/Long; in
/home/rotty/workspace/felix/fileinstall/target/classes/org/apache/felix/fileinstall/internal/Scanner.class
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.267 s
[INFO] Finished at: 2015-03-26T12:50:59-04:00
[INFO] Final Memory: 23M/430M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:animal-sniffer-maven-plugin:1.7:check (default) on project
org.apache.felix.fileinstall: Signature errors found. Verify them and put
@IgnoreJRERequirement on them. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
{code}
> Impossible to set the felix.fileinstall.optionalImportRefreshScope property
> from startup
> ----------------------------------------------------------------------------------------
>
> Key: FELIX-4501
> URL: https://issues.apache.org/jira/browse/FELIX-4501
> Project: Felix
> Issue Type: Bug
> Components: File Install
> Affects Versions: fileinstall-3.4.0
> Environment: confirmed on equinox 3.8.0.v20120529-1548
> Reporter: Raymond Augé
> Priority: Minor
>
> I'm seeing a deadlock where on first start the fileinstall bundle is getting
> stuck with itself
> as per the following two stack traces:
> {code}
> "Refresh Packages" daemon prio=10 tid=0x00007fc29c0f6800 nid=0x94c waiting on
> condition [0x00007fc2b9c15000]
> java.lang.Thread.State: WAITING (parking)
> at sun.misc.Unsafe.park(Native Method)
> - parking to wait for <0x00000000c095f950> (a
> java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)
> at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
> at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
> at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:867)
> at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1197)
> at
> java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(ReentrantReadWriteLock.java:945)
> at
> org.apache.felix.fileinstall.internal.FileInstall.stop(FileInstall.java:171)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
> at
> org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1207)
> at
> org.eclipse.osgi.framework.internal.core.PackageAdminImpl.suspendBundle(PackageAdminImpl.java:326)
> at
> org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:467)
> at
> org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:251)
> - locked <0x00000000c0cbc1f8> (a
> org.eclipse.osgi.framework.internal.core.PackageAdminImpl)
> at
> org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:174)
> at java.lang.Thread.run(Thread.java:744)
> Locked ownable synchronizers:
> - None
> {code}
> {code}
> "fileinstall-/home/rotty/AS/liferay-portal/osgi/portal" daemon prio=10
> tid=0x00007fc2ac01a000 nid=0x920 waiting on condition [0x00007fc2ba721000]
> java.lang.Thread.State: WAITING (parking)
> at sun.misc.Unsafe.park(Native Method)
> - parking to wait for <0x00000000c51bd048> (a
> java.util.concurrent.CountDownLatch$Sync)
> at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
> at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
> at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:994)
> at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1303)
> at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:236)
> at
> org.apache.felix.fileinstall.internal.FileInstall.refresh(FileInstall.java:319)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.refresh(DirectoryWatcher.java:674)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:495)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)
> Locked ownable synchronizers:
> - None
> {code}
> You can see that the refresh event will never return (to tear down the
> latch) as long as the {{FileInstall.stop}} operation can't get the lock in to
> directory which it's currently holding during the refresh operation!
> What seems strange is that fileinstall is adding itself to the list of
> bundles to refresh during the
> {code}
> findBundlesWithOptionalPackagesToRefresh(toRefresh);
> {code}
> call.
> It would seem that this could be solved if it were possible to pass the
> property:
> {{felix.fileinstall.optionalImportRefreshScope=managed}}
> provided that file install isn't part of the managed set.
> However this property cannot be passed (via system property, bundle context,
> framework properties) except during a service update lifecycle on a managed
> service, so you can't bootstrap the system from scratch.
> Guillaume Nodet suggested that a good work around would be to simply allow
> all properties to be retrievable from the bundle context (framework
> properties).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)