Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 63205 invoked from network); 30 Aug 2007 04:50:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Aug 2007 04:50:08 -0000 Received: (qmail 58973 invoked by uid 500); 30 Aug 2007 04:49:57 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 58918 invoked by uid 500); 30 Aug 2007 04:49:57 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 58903 invoked by uid 99); 30 Aug 2007 04:49:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 21:49:57 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of amilasuriarachchi@gmail.com designates 209.85.146.177 as permitted sender) Received: from [209.85.146.177] (HELO wa-out-1112.google.com) (209.85.146.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 04:49:53 +0000 Received: by wa-out-1112.google.com with SMTP id k22so472414waf for ; Wed, 29 Aug 2007 21:49:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=scA4fCUpnpAIcTpaYiV7HYiCeCGRPog9g3j/OOhoF64OG4q9MDIl4tSfZ+4Si0FkpNLH4Z260ZXzGE+3kvNEUUeQPvaP/zsGcUaipvx8HZS9HYl284f2Ct4g6zZhqpEZUJwr4A9v2CKsU+m7wzO1P+YttJxOmRzG40qiTvHgHv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Z1RwE2oMfeeIsoCOCwvIwjUYKh2NQwRoRcoc8J55chHI9ZNT9glY5Z5n5xfYgNVXc+q0UoHnxxLPZKIVZgj3lUDngyI8QoHRJwYI98m8Dzqq5OkaTruseSQhLLVFpggBJ5w9Sifumd7LZcYXrCrz3JIRig08SyzYuSCq33H5h8o= Received: by 10.114.106.1 with SMTP id e1mr103102wac.1188449372383; Wed, 29 Aug 2007 21:49:32 -0700 (PDT) Received: by 10.114.155.6 with HTTP; Wed, 29 Aug 2007 21:49:32 -0700 (PDT) Message-ID: <60708f4b0708292149h6acfdd9aq887e7ccef42ee775@mail.gmail.com> Date: Thu, 30 Aug 2007 10:19:32 +0530 From: "Amila Suriarachchi" To: axis-dev@ws.apache.org Subject: Re: [jira] Created: (AXIS2-3158) Generating Java 1.5 Code when using XMLBeans In-Reply-To: <21194906.1188391290863.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4621_16642832.1188449372280" References: <21194906.1188391290863.JavaMail.jira@brutus> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4621_16642832.1188449372280 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline can you try this? can you generate the xmlbeans code with -Ewdc. this only generates the xmlbeans code for top elements. then generate the xmlbeans code with the xmlbeans new release and replace the generated code. then replace xmlbeans 2.2.0 jar with the xmlbeans 2.3 jar. Amila. On 8/29/07, Stefan Lischke (JIRA) wrote: > > Generating Java 1.5 Code when using XMLBeans > -------------------------------------------- > > Key: AXIS2-3158 > URL: https://issues.apache.org/jira/browse/AXIS2-3158 > Project: Axis 2.0 (Axis2) > Issue Type: Wish > Components: databinding > Affects Versions: 1.4 > Reporter: Stefan Lischke > Priority: Minor > > > When using XMLBeans from commandline, i'm able to give the parameter > -javaversion 1.5 and the code generated for unbounded occurrences uses > typed Lists instead of Arrays. > > I would like to have this possibility also when using xmlbeans within > axis2. If i have time, i'll look at the code to propose a solution for this. > Maybe an update to xmlbeans 2.3 is enough. > > -- > 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: axis-dev-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-dev-help@ws.apache.org > > -- Amila Suriarachchi, WSO2 Inc. ------=_Part_4621_16642832.1188449372280 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline can you try this?
can you generate the xmlbeans code with -Ewdc.
this only generates the xmlbeans code for top elements. then generate the xmlbeans code with the xmlbeans new release and replace the generated code.

then replace xmlbeans 2.2.0 jar with the xmlbeans 2.3 jar.

Amila.

On 8/29/07, Stefan Lischke (JIRA) <jira@apache.org > wrote:
Generating Java 1.5 Code when using XMLBeans
--------------------------------------------

                 Key: AXIS2-3158
                 URL: https://issues.apache.org/jira/browse/AXIS2-3158
             Project: Axis 2.0 (Axis2)
          Issue Type: Wish
          Components: databinding
    Affects Versions: 1.4
            Reporter: Stefan Lischke
            Priority: Minor


When using XMLBeans from commandline, i'm able to give the parameter -javaversion 1.5 and the code generated for unbounded occurrences uses typed Lists instead of Arrays.

I would like to have this possibility also when using xmlbeans within axis2. If i have time, i'll look at the code to propose a solution for this. Maybe an update to xmlbeans 2.3 is enough.

--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org




--
Amila Suriarachchi,
WSO2 Inc. ------=_Part_4621_16642832.1188449372280--