You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Bill Stafford <BS...@artificialmed.com> on 2013/03/22 18:29:59 UTC

What does this warning mean?

I set up an Ant target to use the XMLBEAN task to compile a schema that is part of a larger Java project.
When I run the Ant target I get correctly compiled classes and a jar file but I also get the following warning:

  [xmlbean] warning: [options] bootstrap class path not set in conjunction with -source 1.4

Since XMLBeans does not have a -source option (according to scomp -help)  I'm wondering what this refers to.

Thanks in advance for any help and/or advice,
-=beeky


------------------  my Ant target -----------------------------

<target name="generate-xmlbeans-classes" description="generate the XMLBeans classes from the given schema">

               <path id="project.class.path">
                              <pathelement path="lib/xbean.jar" />
                              <pathelement path="lib/jsr173_1.0_api.jar" />
               </path>
               <xmlbean
                              schema="src/xsd/dbconnect_response.xsd"
                              destfile="jar/dbconnect_response.jar"
                              classpathref="project.class.path"
                              srcgendir="src/java"
               />
</target>

--------------------  The output of a run ------------------------------
Buildfile: C:\eclipse_workspace\dbconnectXML\build.xml
generate-xmlbeans-classes:
  [xmlbean] Time to build schema type system: 0.639 seconds
  [xmlbean] Time to generate code: 0.172 seconds
  [xmlbean] Compiling 15 source files to C:\Users\lpost\AppData\Local\Temp\xbean6384710804745342174.d\classes
  [xmlbean] warning: [options] bootstrap class path not set in conjunction with -source 1.4
  [xmlbean] 1 warning
  [xmlbean] Time to compile code: 2.496 seconds
  [xmlbean] Building jar: C:\eclipse_workspace\dbconnectXML\jar\dbconnect_response.jar
BUILD SUCCESSFUL
Total time: 4 seconds