Did you try using scomp script directly; it might be a bug in the ant task implementation.

 

Cezar

 


From: Siegfried Baiz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 10, 2006 10:54 AM
To: user@xmlbeans.apache.org
Subject: Re: JDK 1.5 Generics rsp. Enumerations in generated java-code?

 

Hallo,

I really would be thankful for any comments.

Is this below a stupid question?
If not, I wonder why nobody pays any attention on this?

Thank in advance

Siggi


Siegfried Baiz schrieb:

Hallo All,

I' m using XmlBeans 2.2.0 for compiling XSD-Files to Java-Classes.

I've read about possibilities to take advantage of JDK 1.5 Generics
and/or Enumerations in XMLBeans generated classes?

In my ANT-build-File I' ve tried several Options
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.
Has anyone any suggestions?

- Siggi

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Reply via email to