Author: mcculls
Date: Sun Aug 3 02:41:43 2008
New Revision: 682123
URL: http://svn.apache.org/viewvc?rev=682123&view=rev
Log:
Use 1.4 API
Modified:
felix/trunk/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrDeploy.java
Modified:
felix/trunk/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrDeploy.java
URL:
http://svn.apache.org/viewvc/felix/trunk/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrDeploy.java?rev=682123&r1=682122&r2=682123&view=diff
==============================================================================
---
felix/trunk/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrDeploy.java
(original)
+++
felix/trunk/bundleplugin/src/main/java/org/apache/felix/obrplugin/ObrDeploy.java
Sun Aug 3 02:41:43 2008
@@ -239,7 +239,7 @@
URI bundleJar = ObrUtils.getArtifactURI( localRepository,
project.getArtifact() );
String relative = ObrUtils.getRelativeURI( ObrUtils.toFileURI(
mavenRepository ), bundleJar).toASCIIString();
URL resourceURL = new URL( new URL( prefixUrl + '/' ),
relative );
- userConfig.setRemoteBundle( resourceURL.toURI() );
+ userConfig.setRemoteBundle( URI.create( resourceURL.toString()
) );
}
update = new ObrUpdate( repositoryXml, obrXmlFile, project,
mavenRepository, userConfig, log );