You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by de...@apache.org on 2006/05/02 14:47:13 UTC
svn commit: r398933 -
/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/FileSystemConfigurator.java
Author: deepal
Date: Tue May 2 05:46:34 2006
New Revision: 398933
URL: http://svn.apache.org/viewcvs?rev=398933&view=rev
Log:
- fixing small issue in FileSystemConfigurator
Modified:
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/FileSystemConfigurator.java
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/FileSystemConfigurator.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/FileSystemConfigurator.java?rev=398933&r1=398932&r2=398933&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/FileSystemConfigurator.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/FileSystemConfigurator.java Tue May 2 05:46:34 2006
@@ -75,19 +75,13 @@
if (axis2xml == null) {
// If not, check for a system property setting
axis2xml = System.getProperty(Constants.AXIS2_CONF);
-
- // If system property not set, use default filename
- if (axis2xml == null) {
- axis2xml = Constants.AXIS2_CONF;
- }
-
// In either case, check that the file exists... if not
// we'll use the default axis2.xml on the classpath.
try {
File configFile = new File(axis2xml);
if (!configFile.exists()) {
axis2xml = null;
- }
+ }
} catch (Exception e) {
axis2xml = null;
log.info("Error in file (axis2.xml) creation inside FileSystemConfigurator");