You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Created JIRA)" <ji...@apache.org> on 2011/12/22 11:30:30 UTC

[jira] [Created] (KARAF-1122) Feature creates an empty file if the file URL is not resolved

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.5, 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

       

[jira] [Commented] (KARAF-1122) Feature creates an empty file if the file URL is not resolved

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174901#comment-13174901 ] 

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

Fixed on trunk: revision 1222353.
                
> 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

       

[jira] [Closed] (KARAF-1122) Feature creates an empty file if the file URL is not resolved

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-1122.
---------------------------------

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

       

[jira] [Resolved] (KARAF-1122) Feature creates an empty file if the file URL is not resolved

Posted by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-1122.
-----------------------------------------

    Resolution: Fixed
    
> 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

       

[jira] [Updated] (KARAF-1122) Feature creates an empty file if the file URL is not resolved

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1122:
----------------------------------------

    Fix Version/s:     (was: 2.2.5)
                   2.2.6
    
> 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

       

[jira] [Commented] (KARAF-1122) Feature creates an empty file if the file URL is not resolved

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ 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

       

[jira] [Commented] (KARAF-1122) Feature creates an empty file if the file URL is not resolved

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174908#comment-13174908 ] 

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

Fixed on karaf-2.2.x: revision 1222359.
                
> 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