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> </o:p></p><p clas=
s=3DMsoNormal> [xmlbean] warning: [options] bootstrap class path not =
set in conjunction with -source 1.4<o:p></o:p></p><p class=3DMsoNormal><o:p=
> </o:p></p><p class=3DMsoNormal>Since XMLBeans does not have a –=
;source option (according to scomp –help) I’m wondering w=
hat this refers to.<o:p></o:p></p><p class=3DMsoNormal><o:p> </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> </o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMso=
Normal>------------------ my Ant target -----------------------------=
<o:p></o:p></p><p class=3DMsoNormal> &nb=
sp; <o:p></o:p></p><p class=3DMso=
Normal><target name=3D"generate-xmlbeans-classes" description=
=3D"generate the XMLBeans classes from the given schema"><o:p>=
</o:p></p><p class=3DMsoNormal> &n=
bsp;  =
; <o:p></o:p></p><p c=
lass=3DMsoNormal> &nbs=
p; <path id=3D"project.class.path">=
<o:p></o:p></p><p class=3DMsoNormal> &nb=
sp; =
<pathelemen=
t path=3D"lib/xbean.jar" /> <o:p></o:p></p><p class=3DMsoNorma=
l> &=
nbsp; &nbs=
p; <pathelement path=3D"lib/jsr173_1.0_api.=
jar" />  =
; &n=
bsp; <o:p=
></o:p></p><p class=3DMsoNormal> &=
nbsp; </path><o:p></o:p></p><p cl=
ass=3DMsoNormal>  =
; <xmlbean <o:p></o:p></p><p class=3DMsoNormal>&=
nbsp; &nbs=
p; &=
nbsp; schema=3D"src/xsd/dbconnect_response.xsd"=
<o:p></o:p></p><p class=3DMsoNormal> &n=
bsp;  =
; destfile=3D&q=
uot;jar/dbconnect_response.jar" <o:p></o:p></p><p class=3DMsoNormal>&n=
bsp;  =
; &n=
bsp; classpathref=3D"project.class.path"<o:p></=
o:p></p><p class=3DMsoNormal> &nbs=
p; &=
nbsp; srcgendir=3D"src=
/java"<o:p></o:p></p><p class=3DMsoNormal> &nbs=
p; /> &=
nbsp; <o:p></o:p></p><p class=3DM=
soNormal></target><o:p></o:p></p><p class=3DMsoNormal><o:p> </o:=
p></p><p class=3DMsoNormal>-------------------- 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> [=
xmlbean] Time to build schema type system: 0.639 seconds<o:p></o:p></p><p c=
lass=3DMsoNormal> [xmlbean] Time to generate code: 0.172 seconds<o:p>=
</o:p></p><p class=3DMsoNormal> [xmlbean] Compiling 15 source files t=
o C:\Users\lpost\AppData\Local\Temp\xbean6384710804745342174.d\classes<o:p>=
</o:p></p><p class=3DMsoNormal> [xmlbean] warning: [options] bootstra=
p class path not set in conjunction with -source 1.4<o:p></o:p></p><p class=
=3DMsoNormal> [xmlbean] 1 warning<o:p></o:p></p><p class=3DMsoNormal>=
[xmlbean] Time to compile code: 2.496 seconds<o:p></o:p></p><p class=
=3DMsoNormal> [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_--