What does this warning mean?

Bill Stafford <[email protected]> Fri, 22 Mar 2013 13:29:59 -0400
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <[email protected]>
--_000_567479AA3417A34AB101DEA25295A8DB1115E0A963EX2K7VS034emm_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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 b=
ut 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,
-=3Dbeeky


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

<target name=3D"generate-xmlbeans-classes" description=3D"generate the XMLB=
eans classes from the given schema">

               <path id=3D"project.class.path">
                              <pathelement path=3D"lib/xbean.jar" />
                              <pathelement path=3D"lib/jsr173_1.0_api.jar" =
/>
               </path>
               <xmlbean
                              schema=3D"src/xsd/dbconnect_response.xsd"
                              destfile=3D"jar/dbconnect_response.jar"
                              classpathref=3D"project.class.path"
                              srcgendir=3D"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_r=
esponse.jar
BUILD SUCCESSFUL
Total time: 4 seconds

--_000_567479AA3417A34AB101DEA25295A8DB1115E0A963EX2K7VS034emm_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>I set up an Ant =
target to use the XMLBEAN task to compile a schema that is part of a larger=
 Java project.<o:p></o:p></p><p class=3DMsoNormal>When I run the Ant target=
 I get correctly compiled classes and a jar file but I also get the followi=
ng warning:<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p clas=
s=3DMsoNormal>&nbsp; [xmlbean] warning: [options] bootstrap class path not =
set in conjunction with -source 1.4<o:p></o:p></p><p class=3DMsoNormal><o:p=
>&nbsp;</o:p></p><p class=3DMsoNormal>Since XMLBeans does not have a &#8211=
;source option (according to scomp &#8211;help)&nbsp; I&#8217;m wondering w=
hat this refers to.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p=
><p class=3DMsoNormal>Thanks in advance for any help and/or advice,<o:p></o=
:p></p><p class=3DMsoNormal>-=3Dbeeky<o:p></o:p></p><p class=3DMsoNormal><o=
:p>&nbsp;</o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMso=
Normal>------------------&nbsp; my Ant target -----------------------------=
<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p><p class=3DMso=
Normal>&lt;target name=3D&quot;generate-xmlbeans-classes&quot; description=
=3D&quot;generate the XMLBeans classes from the given schema&quot;&gt;<o:p>=
</o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p><p c=
lass=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; &lt;path id=3D&quot;project.class.path&quot;&gt;=
<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pathelemen=
t path=3D&quot;lib/xbean.jar&quot; /&gt; <o:p></o:p></p><p class=3DMsoNorma=
l>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pathelement path=3D&quot;lib/jsr173_1.0_api.=
jar&quot; /&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p=
></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/path&gt;<o:p></o:p></p><p cl=
ass=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xmlbean <o:p></o:p></p><p class=3DMsoNormal>&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; schema=3D&quot;src/xsd/dbconnect_response.xsd&quot;=
 <o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; destfile=3D&q=
uot;jar/dbconnect_response.jar&quot; <o:p></o:p></p><p class=3DMsoNormal>&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; classpathref=3D&quot;project.class.path&quot;<o:p></=
o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; srcgendir=3D&quot;src=
/java&quot;<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&gt;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p><p class=3DM=
soNormal>&lt;/target&gt;<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:=
p></p><p class=3DMsoNormal>--------------------&nbsp; The output of a run -=
-----------------------------<o:p></o:p></p><p class=3DMsoNormal>Buildfile:=
 C:\eclipse_workspace\dbconnectXML\build.xml<o:p></o:p></p><p class=3DMsoNo=
rmal>generate-xmlbeans-classes:<o:p></o:p></p><p class=3DMsoNormal>&nbsp; [=
xmlbean] Time to build schema type system: 0.639 seconds<o:p></o:p></p><p c=
lass=3DMsoNormal>&nbsp; [xmlbean] Time to generate code: 0.172 seconds<o:p>=
</o:p></p><p class=3DMsoNormal>&nbsp; [xmlbean] Compiling 15 source files t=
o C:\Users\lpost\AppData\Local\Temp\xbean6384710804745342174.d\classes<o:p>=
</o:p></p><p class=3DMsoNormal>&nbsp; [xmlbean] warning: [options] bootstra=
p class path not set in conjunction with -source 1.4<o:p></o:p></p><p class=
=3DMsoNormal>&nbsp; [xmlbean] 1 warning<o:p></o:p></p><p class=3DMsoNormal>=
&nbsp; [xmlbean] Time to compile code: 2.496 seconds<o:p></o:p></p><p class=
=3DMsoNormal>&nbsp; [xmlbean] Building jar: C:\eclipse_workspace\dbconnectX=
ML\jar\dbconnect_response.jar<o:p></o:p></p><p class=3DMsoNormal>BUILD SUCC=
ESSFUL<o:p></o:p></p><p class=3DMsoNormal>Total time: 4 seconds<o:p></o:p><=
/p></div></body></html>=

--_000_567479AA3417A34AB101DEA25295A8DB1115E0A963EX2K7VS034emm_--