xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Baiz <b...@sulzer.de>
Subject Ant-Build-Task: How to take advantage of JDK 1.5 Generics rsp. Enumerations in generated java-code?
Date Mon, 25 Sep 2006 10:34:27 GMT
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

Mime
View raw message