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 ke...@apache.org on 2007/12/13 06:15:10 UTC

svn commit: r603821 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java

Author: keithc
Date: Wed Dec 12 21:15:09 2007
New Revision: 603821

URL: http://svn.apache.org/viewvc?rev=603821&view=rev
Log:
No need to have File.Separator here cause that will make the axis2.xml platform dependant. Use / as the separator instead
 

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java?rev=603821&r1=603820&r2=603821&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java Wed Dec 12 21:15:09 2007
@@ -259,7 +259,7 @@
     private void findFileForGivenDirectory(String dir, String extension) {
         try {
             File directory = deploymentEngine.getRepositoryDir();
-            String[] strings = dir.split(File.separator);
+            String[] strings = dir.split("/");
             for (int i = 0; i < strings.length; i++) {
                 directory = new File(directory, strings[i]);
             }



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


Re: svn commit: r603821 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
keithc@apache.org wrote:
> Author: keithc Date: Wed Dec 12 21:15:09 2007 New Revision: 603821
> 
> URL: http://svn.apache.org/viewvc?rev=603821&view=rev Log: No need to
> have File.Separator here cause that will make the axis2.xml platform
> dependant. Use / as the separator instead

Huh?? Surely you meant the opposite?!

Sanjiva.
-- 
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

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


Re: svn commit: r603821 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
keithc@apache.org wrote:
> Author: keithc Date: Wed Dec 12 21:15:09 2007 New Revision: 603821
> 
> URL: http://svn.apache.org/viewvc?rev=603821&view=rev Log: No need to
> have File.Separator here cause that will make the axis2.xml platform
> dependant. Use / as the separator instead

Huh?? Surely you meant the opposite?!

Sanjiva.
-- 
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

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