axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r561395 - in /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment: DeploymentEngine.java util/Utils.java
Date Tue, 31 Jul 2007 16:52:51 GMT
Author: dims
Date: Tue Jul 31 09:52:50 2007
New Revision: 561395

URL: http://svn.apache.org/viewvc?view=rev&rev=561395
Log:
allow comments in modules.list, services.list and aar.list

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java?view=diff&rev=561395&r1=561394&r2=561395
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java
Tue Jul 31 09:52:50 2007
@@ -294,7 +294,7 @@
                 String line;
                 while ((line = input.readLine()) != null) {
                     line = line.trim();
-                    if (line.length() > 0) {
+                    if (line.length() > 0 && line.charAt(0)!='#') {
                         line = metainf + "/" + line;
                         try {
                             List services = reader.getAxisServiceFromWsdl(
@@ -849,7 +849,7 @@
             String line;
             while ((line = input.readLine()) != null) {
                 line = line.trim();
-                if (line.length() > 0) {
+                if (line.length() > 0 && line.charAt(0)!='#') {
                     fileList.add(line);
                 }
             }

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java?view=diff&rev=561395&r1=561394&r2=561395
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
Tue Jul 31 09:52:50 2007
@@ -447,7 +447,10 @@
                     input = new BufferedReader(new InputStreamReader(in));
                     String line;
                     while ((line = input.readLine()) != null) {
-                        services.add(line);
+                        line = line.trim();
+                        if (line.length() > 0 && line.charAt(0)!='#') {
+                            services.add(line);
+                        }
                     }
                     input.close();
                 } catch (IOException ex) {



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


Mime
View raw message