karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Moulliard (JIRA)" <j...@apache.org>
Subject [jira] Commented: (KARAF-118) Update Pax Url Wrap to version 1.1.3
Date Mon, 12 Jul 2010 07:49:50 GMT

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

Charles Moulliard commented on KARAF-118:
-----------------------------------------

Class has been corrected --> org.ops4j.pax.swissbox.bnd.BndUtils

{code}
  private static PipedInputStream createInputStream(Jar jar)
    throws IOException
  {
    PipedInputStream pin = new PipedInputStream();
    PipedOutputStream pout = new PipedOutputStream(pin);

    new Thread(jar, pout)
    {
      public void run()
      {
        try
        {
          this.val$jar.write(this.val$pout);
        }
        catch (IOException e)
        {
        }
        finally
        {
          try
          {
            this.val$jar.close();
            this.val$pout.close();
          }
          catch (IOException ignore)
          {
            BndUtils.LOG.error("Bundle cannot be generated", ignore);
          }
        }
      }
    }
    .start();

    return pin;
  }
{code}

So we can install PAx Url Wrap 1.1.3

> Update Pax Url Wrap to version 1.1.3
> ------------------------------------
>
>                 Key: KARAF-118
>                 URL: https://issues.apache.org/jira/browse/KARAF-118
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Charles Moulliard
>             Fix For: 2.0.0
>
>
> A bug concerning Pax Swissbox and Pax Url Wrap (class org.ops4j.pax.swissbox.bnd.BndUtils
) has been solved :
> http://issues.ops4j.org/browse/PAXSB-33
> If the patch to solve the issue has been applied to Pax Url Wrap, it could be interesting
 to upgrade.
> Concern : http://fusesource.com/issues/browse/ESB-1063

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message