karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-1122) Feature <configfile/> creates an empty file if the file URL is not resolved
Date Thu, 22 Dec 2011 10:32:30 GMT

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

Jean-Baptiste Onofré commented on KARAF-1122:
---------------------------------------------

In a feature, when we use something like:

<configfile finalname="etc/my.xml">
  mvn:groupId/artifactId/version/xml
</configfile>

if the mvn URL could not resolved (the URLConnection stream is null), the finalname is created
empty.

It could be painful as the file already exists and if the connection is back, the file is
not overwritten.
                
> Feature <configfile/> creates an empty file if the file URL is not resolved
> ---------------------------------------------------------------------------
>
>                 Key: KARAF-1122
>                 URL: https://issues.apache.org/jira/browse/KARAF-1122
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-features
>    Affects Versions: 2.2.4
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.6, 3.0.0
>
>


--
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

       

Mime
View raw message