karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Rathgeb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4278) clean not working
Date Mon, 18 Jan 2016 06:35:39 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15104226#comment-15104226

Markus Rathgeb commented on KARAF-4278:

IMHO the above command will work for Linux systems. I would assume it works for MAC, too (but
cannot test it).
As I am not using Windows, I cannot test / add changes to the batch file.
(That is the reason, why I have not created a PR. Sorry)

> clean not working
> -----------------
>                 Key: KARAF-4278
>                 URL: https://issues.apache.org/jira/browse/KARAF-4278
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 4.0.4
>            Reporter: Markus Rathgeb
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.1.0, 4.0.5
> The solution for KARAF-4241 seems to break the clean at least on linux system (I tested
on linux only).
> There is a report, that it is also broken on Win7: http://karaf.922171.n3.nabble.com/karaf-4-0-4-clean-not-working-tp4044848.html
> For the linux script:
> The wildcard (don't know why two instead of one is used) is also in the quoted argument,
so it is not evaluated by the shell.
> On linux systems "hidden" files (files starting with a dot) are handled separately and
not matched by the wildcard at all.
> For Linux systems I would use:
> {noformat}
> rm -Rf "$KARAF_DATA"/{.[^.],.??*,*}
> {noformat}

This message was sent by Atlassian JIRA

View raw message