[
https://issues.apache.org/jira/browse/KARAF-643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13432690#comment-13432690
]
Martin Lichtin commented on KARAF-643:
--------------------------------------
+1 The warning is definitely confusing:
2012-08-10 12:28:42,579 | WARN | rint Extender: 1 | KarArtifactInstaller
| 33 - org.apache.karaf.deployer.kar - 2.2.8 | Unable to create directory
for Karaf Archive timestamps. Results may vary...
2012-08-10 12:28:42,579 | INFO | rint Extender: 1 | KarArtifactInstaller
| 33 - org.apache.karaf.deployer.kar - 2.2.8 | Karaf archives will be
extracted to
C:\Users\mli\nuc\sandbox\master\transaction\tx-reference\tx-ref-itests\target\paxexam\f8026a21-3205-4ac6-bb9a-22957e54dca1/system
2012-08-10 12:28:42,579 | INFO | rint Extender: 1 | KarArtifactInstaller
| 33 - org.apache.karaf.deployer.kar - 2.2.8 | Timestamps for Karaf
archives will be extracted to
C:\Users\mli\nuc\sandbox\master\transaction\tx-reference\tx-ref-itests\target\paxexam\f8026a21-3205-4ac6-bb9a-22957e54dca1/system\.timestamps
> KarArtifactInstaller::init has incorrect warning logic
> ------------------------------------------------------
>
> Key: KARAF-643
> URL: https://issues.apache.org/jira/browse/KARAF-643
> Project: Karaf
> Issue Type: Bug
> Components: karaf-kar
> Affects Versions: 2.2.0, 2.2.1
> Environment: Ubuntu Linux (though I believe the issue affects all
> platforms).
> Reporter: Yaytay
> Priority: Trivial
> Fix For: 3.0.1, 3.1.0
>
> Attachments: karaf-643.txt
>
>
> KarArtifactInstaller.java has the following block:
> if (new File(timestampPath).mkdirs()) {
> logger.warn("Unable to create directory for Karaf Archive timestamps.
> Results may vary...");
> }
> which looks as though it's missing a !
> mkdirs returns true if and only if the directory was created, along with all
> necessary parent directories; false otherwise.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira