[jboss-cvs] JBossAS SVN: r95192 - in projects/jboss-osgi/trunk: reactor/deployment/src/main/java/org/jboss/osgi/deployment/internal and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Oct 20 14:07:48 EDT 2009


Author: thomas.diesler at 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;




More information about the jboss-cvs-commits mailing list