Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 90646 invoked from network); 9 Mar 2008 02:32:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2008 02:32:24 -0000 Received: (qmail 60545 invoked by uid 500); 9 Mar 2008 02:32:20 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 60455 invoked by uid 500); 9 Mar 2008 02:32:19 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 60444 invoked by uid 500); 9 Mar 2008 02:32:19 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 60441 invoked by uid 99); 9 Mar 2008 02:32:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Mar 2008 18:32:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Mar 2008 02:31:51 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 427591A983A; Sat, 8 Mar 2008 18:32:02 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r635138 - /webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/src/main/java/org/apache/axis2/maven2/wsdl2code/WSDL2CodeMojo.java Date: Sun, 09 Mar 2008 02:32:02 -0000 To: axis2-cvs@ws.apache.org From: dims@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080309023202.427591A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dims Date: Sat Mar 8 18:32:01 2008 New Revision: 635138 URL: http://svn.apache.org/viewvc?rev=635138&view=rev Log: Fix for AXIS2-3518 - Axis2 maven plugin does not allow to generate sources for remote WSDL file Modified: webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/src/main/java/org/apache/axis2/maven2/wsdl2code/WSDL2CodeMojo.java Modified: webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/src/main/java/org/apache/axis2/maven2/wsdl2code/WSDL2CodeMojo.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/src/main/java/org/apache/axis2/maven2/wsdl2code/WSDL2CodeMojo.java?rev=635138&r1=635137&r2=635138&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/src/main/java/org/apache/axis2/maven2/wsdl2code/WSDL2CodeMojo.java (original) +++ webservices/axis2/trunk/java/modules/tool/axis2-wsdl2code-maven-plugin/src/main/java/org/apache/axis2/maven2/wsdl2code/WSDL2CodeMojo.java Sat Mar 8 18:32:01 2008 @@ -56,9 +56,9 @@ /** * The WSDL file, which is being read. * - * @parameter expression="${axis2.wsdl2code.wsdl}" default-value="src/main/axis2/service.wsdl" + * @parameter expression="${axis2.wsdl2code.wsdlFile}" default-value="src/main/axis2/service.wsdl" */ - private File wsdlFile; + private String wsdlFile; /** * The output directory, where the generated sources are being created. @@ -249,7 +249,7 @@ CommandLineOptionConstants.WSDL2JavaConstants.WSDL_LOCATION_URI_OPTION, new CommandLineOption( CommandLineOptionConstants.WSDL2JavaConstants.WSDL_LOCATION_URI_OPTION, - getStringArray(wsdlFile.getPath()))); + getStringArray(wsdlFile))); //output location optionMap.put( CommandLineOptionConstants.WSDL2JavaConstants.OUTPUT_LOCATION_OPTION, --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org