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 di...@apache.org on 2008/03/15 06:47:07 UTC
svn commit: r637359 -
/webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/src/main/java/org/apache/axis2/maven2/aar/DeployAarMojo.java
Author: dims
Date: Fri Mar 14 22:47:06 2008
New Revision: 637359
URL: http://svn.apache.org/viewvc?rev=637359&view=rev
Log:
use jdk 1.4 compliant method
Modified:
webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/src/main/java/org/apache/axis2/maven2/aar/DeployAarMojo.java
Modified: webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/src/main/java/org/apache/axis2/maven2/aar/DeployAarMojo.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/src/main/java/org/apache/axis2/maven2/aar/DeployAarMojo.java?rev=637359&r1=637358&r2=637359&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/src/main/java/org/apache/axis2/maven2/aar/DeployAarMojo.java (original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-aar-maven-plugin/src/main/java/org/apache/axis2/maven2/aar/DeployAarMojo.java Fri Mar 14 22:47:06 2008
@@ -113,7 +113,7 @@
if(status != 200) {
throw new MojoExecutionException("Failed to log in");
}
- if(post.getResponseBodyAsString().contains(LOGIN_FAILED_ERROR_MESSAGE)) {
+ if(post.getResponseBodyAsString().indexOf(LOGIN_FAILED_ERROR_MESSAGE)!=-1) {
throw new MojoExecutionException("Failed to log into Axis2 administration web console using credentials");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org