[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-user
Subject: XmlBeans 2.2.0 with Ant-Build-Task: How to take advantage of JDK
From: Siegfried Baiz <baiz () sulzer ! de>
Date: 2006-09-22 10:59:59
Message-ID: 4513C251.3010903 () sulzer ! de
[Download RAW message or body]
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
[Attachment #3 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi All,<br>
<br>
I' m using XmlBeans 2.2.0 with Ant-Build-Task.<br>
Is there an example for an Ant-Build-File demonstrating,<br>
how to take advantage of JDK 1.5 Generics <br>
and/or Enumerations in XMLBeans generated classes?<br>
<br>
I' ve tried several Options in my build.xml <br>
like <br>
...<br>
<xmlbean schema="schemas"<br>
\
destfile="build/lib/schemas.jar"<br> \
\
srcgendir="src" <br> \
<b>javasource="1.5"</b><br> \
\
classpathref="xmlbeans.path"<br> \
\
debug="on" <br> \
\
/><br>
...<br>
<br>
<javac srcdir="src"<br>
\
destdir="build/classes"<br> \
\
classpathref="Any.path"<br> \
debug="on"<br> \
<b> \
source="1.5"<br> \
target="1.5"<br> </b> \
/><br>
...<br>
but in the generated java-files I cannot see any difference to Java 1.4.<br>
<br>
- Siggi<br>
<div class="moz-signature">
<meta http-equiv="Content-Type" content="text/html; ">
<title>Kontakt: Siegfried Baiz, Sulzer GmbH</title>
<span style="font-size: smaller;"></span></div>
<br>
<br>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic