Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 24761 invoked from network); 2 Mar 2010 03:35:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Mar 2010 03:35:52 -0000 Received: (qmail 99615 invoked by uid 500); 2 Mar 2010 03:35:48 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 99483 invoked by uid 500); 2 Mar 2010 03:35:48 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 99475 invoked by uid 99); 2 Mar 2010 03:35:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Mar 2010 03:35:48 +0000 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Mar 2010 03:35:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9BF6E234C4AB for ; Tue, 2 Mar 2010 03:35:27 +0000 (UTC) Message-ID: <1321935190.211267500927626.JavaMail.jira@brutus.apache.org> Date: Tue, 2 Mar 2010 03:35:27 +0000 (UTC) From: "Vy Ho (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Commented: (AXIS2-4634) Ant task Java2WSDLTask does not allow the use of extraClasses In-Reply-To: <1980753974.24401267405805793.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-4634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839996#action_12839996 ] Vy Ho commented on AXIS2-4634: ------------------------------ There are pros and cons to both method. For a single field (comma separated), the string can be created somewhere, and passed into this in a generic way. So the task is created and reuse again every time it's needed else where (for a large project type). For a sub element, it's much clearer and not long. Maybe allowing both? > Ant task Java2WSDLTask does not allow the use of extraClasses > ------------------------------------------------------------- > > Key: AXIS2-4634 > URL: https://issues.apache.org/jira/browse/AXIS2-4634 > Project: Axis2 > Issue Type: Bug > Components: Tools > Affects Versions: 1.5.1 > Environment: OpenSuse 11.2, JDK 1.6 > Reporter: Vy Ho > Fix For: 1.5.1 > > Attachments: Java2WSDLTask.diff > > > The ant task Java2WSDLTask doesn't allow setting the attribute extraClasses because it is an array type. > I fixed this by changing the String [] to String for extraClasses > And the setter and getter accordingly. > I also change the addToOptionMap entry: > addToOptionMap(optionMap, > Java2WSDLConstants.EXTRA_CLASSES_DEFAULT_OPTION, > getMultiStringArray(getExtraClasses())); > Basically, I parse the extraClasses string (comma delimited). > The method getMultiStringArray is just extraClasses.split(",") -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org