Hi Mark,
I hope you have seen this post by Christopher Hunt
"http://mail-archives.apache.org/mod_mbox/xmlbeans-user/200809.mbox/ajax/<[EMAIL
PROTECTED]>", posted two days before yours and which seems to contain the
solution to your problem.
Radu
________________________________
From: Henning, Mark - AES [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2008 1:48 PM
To: [email protected]
Subject: javasource 1.5 flag causing problems, Please help
I am trying to build a JAR file using 1.5 source with generics.
The schema I am trying to compile is CityGML-NoiseADE-0-5-0.xsd.
This schema can be found in the CityGML 1.0.0 distribution (citygml.org)
Below is the session to show where the problem exists. I'm only going
to show a few entries to make the point:
C:\TEMP\cityGML\src\main\xsd\NoiseADE>scomp -version
Apache Software Foundation, org.apache.xmlbeans.XmlBeans version
2.4.0-r670094
C:\TEMP\cityGML\src\main\xsd\NoiseADE>validate
CityGML-NoiseADE-0-5-0.xsd
C:\TEMP\cityGML\src\main\xsd\NoiseADE>scomp -out NoiseADE.jar -mx 1024M
-debug CityGML-NoiseADE-0-5-0.xsd
Time to build schema type system: 1.641 seconds
Time to generate code: 27.125 seconds
Time to compile code: 36.515 seconds
Compiled types to: NoiseADE.jar
C:\TEMP\cityGML\src\main\xsd\NoiseADE>scomp -out NoiseADE.jar -mx 1024M
-debug -javasource 1.5 CityGML-NoiseADE-0-5-0.xs
d
Time to build schema type system: 1.609 seconds
Time to generate code: 31.141 seconds
C:\DOCUME~1\HEN300~1\LOCALS~1\Temp\xbean17195.d\src\net\opengis\gml\LineStringType.java:208:
getPosList() is already def
ined in net.opengis.gml.LineStringType
net.opengis.gml.DirectPositionListType getPosList();
^
C:\DOCUME~1\HEN300~1\LOCALS~1\Temp\xbean17195.d\src\net\opengis\gml\LinearRingType.java:162:
getPosList() is already def
ined in net.opengis.gml.LinearRingType
net.opengis.gml.DirectPositionListType getPosList();
^
C:\DOCUME~1\HEN300~1\LOCALS~1\Temp\xbean17195.d\src\net\opengis\gml\impl\LinearRingTypeImpl.java:508:
getPosList() is al
ready defined in net.opengis.gml.impl.LinearRingTypeImpl
public net.opengis.gml.DirectPositionListType getPosList()
^
C:\DOCUME~1\HEN300~1\LOCALS~1\Temp\xbean17195.d\src\net\opengis\gml\impl\LineStringTypeImpl.java:664:
getPosList() is al
ready defined in net.opengis.gml.impl.LineStringTypeImpl
public net.opengis.gml.DirectPositionListType getPosList()
^
C:\DOCUME~1\HEN300~1\LOCALS~1\Temp\xbean17195.d\src\net\opengis\gml\LineStringSegmentType.java:162:
getPosList() is alre
ady defined in net.opengis.gml.LineStringSegmentType
net.opengis.gml.DirectPositionListType getPosList();
^
C:\DOCUME~1\HEN300~1\LOCALS~1\Temp\xbean17195.d\src\net\opengis\gml\impl\LineStringSegmentTypeImpl.java:508:
getPosList(
) is already defined in net.opengis.gml.impl.LineStringSegmentTypeImpl
public net.opengis.gml.DirectPositionListType getPosList()
^
C:\DOCUME~1\HEN300~1\LOCALS~1\Temp\xbean17195.d\src\net\opengis\gml\ArcStringType.java:162:
getPosList() is already defi
ned in net.opengis.gml.ArcStringType
net.opengis.gml.DirectPositionListType getPosList();
^
C:\DOCUME~1\HEN300~1\LOCALS~1\Temp\xbean17195.d\src\net\opengis\gml\impl\ArcStringTypeImpl.java:510:
getPosList() is alr
eady defined in net.opengis.gml.impl.ArcStringTypeImpl
public net.opengis.gml.DirectPositionListType getPosList()
^
C:\DOCUME~1\HEN300~1\LOCALS~1\Temp\xbean17195.d\src\net\opengis\gml\ArcStringByBulgeType.java:162:
getPosList() is alrea
dy defined in net.opengis.gml.ArcStringByBulgeType
net.opengis.gml.DirectPositionListType getPosList();
________________________________
This e-mail and any files transmitted with it may be proprietary and
are intended solely for the use of the individual or entity to whom they are
addressed. If you have received this e-mail in error please notify the sender.
Please note that any views or opinions presented in this e-mail are
solely those of the author and do not necessarily represent those of ITT
Corporation. The recipient should check this e-mail and any attachments for the
presence of viruses. ITT accepts no liability for any damage caused by any
virus transmitted by this e-mail.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]