Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1309 - in development/main/transit/handler/src: main/net/dpml/transit/artifact test/net/dpml/transit/artifact

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: niclas AT netcompartner.com
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1309 - in development/main/transit/handler/src: main/net/dpml/transit/artifact test/net/dpml/transit/artifact
  • Date: Mon, 27 Dec 2004 06:16:54 +0100

Author: niclas
Date: Mon Dec 27 06:16:54 2004
New Revision: 1309

Modified:

development/main/transit/handler/src/main/net/dpml/transit/artifact/ArtifactURLConnection.java

development/main/transit/handler/src/test/net/dpml/transit/artifact/OnlineTestCase.java
Log:
Stacked Jar test.

Modified:
development/main/transit/handler/src/main/net/dpml/transit/artifact/ArtifactURLConnection.java
==============================================================================
---
development/main/transit/handler/src/main/net/dpml/transit/artifact/ArtifactURLConnection.java
(original)
+++
development/main/transit/handler/src/main/net/dpml/transit/artifact/ArtifactURLConnection.java
Mon Dec 27 06:16:54 2004
@@ -121,7 +121,7 @@
return m_local.toURL().openStream();
}
}
-
+
/**
* Return an output stream to the resource.
* @return the output stream

Modified:
development/main/transit/handler/src/test/net/dpml/transit/artifact/OnlineTestCase.java
==============================================================================
---
development/main/transit/handler/src/test/net/dpml/transit/artifact/OnlineTestCase.java
(original)
+++
development/main/transit/handler/src/test/net/dpml/transit/artifact/OnlineTestCase.java
Mon Dec 27 06:16:54 2004
@@ -41,6 +41,13 @@
System.setProperty( "java.protocol.handler.pkgs", "net.dpml.transit"
);
}

+ public void testStackedJarUrl() throws Exception
+ {
+ URL url = new URL(
"jar:artifact:jar:dpml/test/dpml-test-testb!/net/dpml/test/testb/B.class" );
+ Object obj = url.getContent();
+ System.out.println( obj.getClass() );
+ }
+
public void testDownloadNoVersion() throws Exception
{
URL url = new URL( "artifact:testfile:dpml/test/1" );



  • svn commit: r1309 - in development/main/transit/handler/src: main/net/dpml/transit/artifact test/net/dpml/transit/artifact, niclas, 12/27/2004

Archive powered by MHonArc 2.6.24.

Top of Page