Author: thomas.diesler(a)jboss.com
Date: 2009-10-20 14:07:48 -0400 (Tue, 20 Oct 2009)
New Revision: 95192
Modified:
projects/jboss-osgi/trunk/pom.xml
projects/jboss-osgi/trunk/reactor/deployment/src/main/java/org/jboss/osgi/deployment/internal/DeploymentRegistryServiceImpl.java
Log:
Fix deployment registry cache lookup
Modified: projects/jboss-osgi/trunk/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/pom.xml 2009-10-20 17:33:04 UTC (rev 95191)
+++ projects/jboss-osgi/trunk/pom.xml 2009-10-20 18:07:48 UTC (rev 95192)
@@ -305,6 +305,29 @@
</profile>
<!--
+ Name: jpda
+ Descr: Enable JPDA remote debuging
+ -->
+ <profile>
+ <id>jpda</id>
+ <activation>
+ <property>
+ <name>jpda</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+
<argLine>-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!--
Name: embedded-testing
Descr: Setup for embedded integration testing
-->
@@ -320,7 +343,6 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <!--
argLine>-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y</argLine
-->
<systemProperties>
<property>
<name>framework</name>
Modified:
projects/jboss-osgi/trunk/reactor/deployment/src/main/java/org/jboss/osgi/deployment/internal/DeploymentRegistryServiceImpl.java
===================================================================
---
projects/jboss-osgi/trunk/reactor/deployment/src/main/java/org/jboss/osgi/deployment/internal/DeploymentRegistryServiceImpl.java 2009-10-20
17:33:04 UTC (rev 95191)
+++
projects/jboss-osgi/trunk/reactor/deployment/src/main/java/org/jboss/osgi/deployment/internal/DeploymentRegistryServiceImpl.java 2009-10-20
18:07:48 UTC (rev 95192)
@@ -85,7 +85,7 @@
Deployment dep = null;
for (Deployment auxDep : deployments)
{
- if (url.toExternalForm().equals(auxDep.getLocation()))
+ if (url.equals(auxDep.getLocation()))
{
dep = auxDep;
break;
Show replies by date