Return-Path: Delivered-To: apmail-xmlbeans-user-archive@www.apache.org Received: (qmail 48970 invoked from network); 22 Sep 2006 10:59:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Sep 2006 10:59:58 -0000 Received: (qmail 28884 invoked by uid 500); 22 Sep 2006 10:59:57 -0000 Delivered-To: apmail-xmlbeans-user-archive@xmlbeans.apache.org Received: (qmail 28868 invoked by uid 500); 22 Sep 2006 10:59:56 -0000 Mailing-List: contact user-help@xmlbeans.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: user@xmlbeans.apache.org List-Id: Delivered-To: mailing list user@xmlbeans.apache.org Received: (qmail 28857 invoked by uid 99); 22 Sep 2006 10:59:56 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Sep 2006 03:59:56 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=Siegfried.Baiz@sulzer.de; spf=permerror X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=HTML_MESSAGE Received-SPF: error (idunn.apache.osuosl.org: domain sulzer.de from 212.29.0.3 cause and error) Received: from [212.29.0.3] ([212.29.0.3:60158] helo=relay.teamware-gmbh.de) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 5D/46-06791-922C3154 for ; Fri, 22 Sep 2006 03:59:55 -0700 Received: from gg.sulzer.de (mail.sulzer.de [212.29.3.193]) by relay.teamware-gmbh.de (Postfix) with SMTP id 529DC9C0F2 for ; Fri, 22 Sep 2006 12:59:50 +0200 (CEST) Received: from gg.sulzer.de (localhost [127.0.0.1]) by gg.sulzer.de (8.13.6/8.13.6) with ESMTP id k8MAxops018439 for ; Fri, 22 Sep 2006 12:59:50 +0200 (CEST) Received: (from localhost) by gg.sulzer.de (MSCAN) id 2/gg.sulzer.de/smtp-gw/mscan; Fri Sep 22 12:59:50 2006 Message-ID: <4513C251.3010903@sulzer.de> Date: Fri, 22 Sep 2006 13:00:33 +0200 From: Siegfried Baiz User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: user@xmlbeans.apache.org Subject: XmlBeans 2.2.0 with Ant-Build-Task: How to take advantage of JDK 1.5 Generics rsp. Enumerations generated java-code References: <556fba610603240300h5ecff30dw7bd1b0ced0933284@mail.gmail.com> In-Reply-To: <556fba610603240300h5ecff30dw7bd1b0ced0933284@mail.gmail.com> Content-Type: multipart/alternative; boundary="------------070708090309000506090904" X-OriginalArrivalTime: 22 Sep 2006 10:59:44.0229 (UTC) FILETIME=[36014150:01C6DE36] X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --------------070708090309000506090904 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi All, I' m using XmlBeans 2.2.0 with Ant-Build-Task. Is there an example for an Ant-Build-File demonstrating, how to take advantage of JDK 1.5 Generics and/or Enumerations in XMLBeans generated classes? I' ve tried several Options in my build.xml like ... ... ... but in the generated java-files I cannot see any difference to Java 1.4. - Siggi --------------070708090309000506090904 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi All,

I' m using XmlBeans 2.2.0 with Ant-Build-Task.
Is there an example for an Ant-Build-File demonstrating,
how to take advantage of JDK 1.5 Generics
and/or Enumerations in XMLBeans generated classes?

I' ve tried several Options in my build.xml
like
...
        <xmlbean schema="schemas"
            destfile="build/lib/schemas.jar"
            srcgendir="src" 
            javasource="1.5"
            classpathref="xmlbeans.path"
            debug="on"           
            />
...

       <javac srcdir="src"
            destdir="build/classes"
            classpathref="Any.path"
            debug="on"
            source="1.5"
            target="1.5"
            />
...
but in the generated java-files I cannot see any difference to Java 1.4.

- Siggi
Kontakt: Siegfried Baiz, Sulzer GmbH


--------------070708090309000506090904--