Greetings,
I have successfully build the .jar file using these Ant
commands:
<taskdef
name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean" classpath="./lib/xbean.jar;./lib/jsr173_api.jar" />
<target
name="xmlbean.compile.schema">
<xmlbean schema="schema" destfile="pires.jar" classpathref="compile.classpath" />
</target>
I get this output:
xmlbean.compile.schema:
[xmlbean]
Time to build schema type system: 3.016 seconds
[xmlbean]
Time to generate code: 5.343 seconds
[xmlbean]
Compiling 216 source files to
C:\DOCUME~1\sbq\LOCALS~1\Temp\xbean50701.d\classes
[xmlbean]
Note: * uses or overrides a deprecated API.
[xmlbean]
Note: Recompile with -Xlint:deprecation for details.
[xmlbean]
Time to compile code: 10.594 seconds
[xmlbean]
Building jar: C:\eclipse\cayuse.clients.elsub\pires.jar
BUILD SUCCESSFUL
Total time: 23 seconds
Those warnings in red have me a little
concerned and I would like to get the details. I do not see any option in
the xmlbean Ant task for passing the -Xlint flag to the Java
compiler. Am I missing something? Is there a different way
to pass this flag, e.g., a java compiler options file or a global
environment variable of java compiler options?
-Sam
|
- How do I debug? Samuel B. Quiring
- RE: How do I debug? Lawrence Jones
- Re: How do I debug? Samuel B. Quiring
- xmlbeans - generating paths that are too long o... Samuel B. Quiring
- -Xlint? Samuel B. Quiring