You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/10/25 16:15:07 UTC

svn commit: r467662 - /webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java

Author: dims
Date: Wed Oct 25 07:15:06 2006
New Revision: 467662

URL: http://svn.apache.org/viewvc?view=rev&rev=467662
Log:
Try Absolute path first, if that does not exist, try treating it as relative to the repo directory.

Modified:
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java?view=diff&rev=467662&r1=467661&r2=467662
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java Wed Oct 25 07:15:06 2006
@@ -863,6 +863,9 @@
         File repository = new File(repositoryName);
         if (servicesDirPath != null) {
             servicesDir = new File(servicesDirPath);
+            if(!servicesDir.exists()) {
+                servicesDir = new File(repository, servicesDirPath);
+            }
         } else {
             servicesDir = new File(repository, DeploymentConstants.SERVICE_PATH);
         }
@@ -871,6 +874,9 @@
         }
         if (modulesDirPath != null) {
             modulesDir = new File(modulesDirPath);
+            if(!modulesDir.exists()) {
+                modulesDir = new File(repository, modulesDirPath);
+            }
         } else {
             modulesDir = new File(repository, DeploymentConstants.MODULE_PATH);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org