Hello.
I tried to compile a set of schemas and got an error message that i do
not understand.
xmlbeans build the schema type system and generated the sources
successfully:
Time to build schema type system: 6.52 seconds
Time to generate code: 81.447 seconds
But when it gets to compiling i receive the following error message:
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
20 errors
(I'll post the message from the command-line at the end of this mail.)
Can someone help me and tell me what i did wrong? If more information is
needed to solve the problem please tell me.
The command i used is: scomp -d classes -src src -javasource 1.5 -out
spsXmlBindings.jar -nopvr -mx 400m -catalog CustomCatalog.xml xsds
Regards,
Johannes Echterhoff
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\LineStringType.java:207:
getPosList() is already defined in net.opengis.gml.LineStringType
net.opengis.gml.DirectPositionListType getPosList();
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\LinearRingType.java:161:
getPosList() is already defined in net.opengis.gml.LinearRingType
net.opengis.gml.DirectPositionListType getPosList();
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\impl\LinearRingTypeImpl.java:504:
getPosList() is already defined in net.opengis.gml.impl.LinearRingTypeImpl
public net.opengis.gml.DirectPositionListType getPosList()
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\impl\LineStringTypeImpl.java:659:
getPosList() is already defined in net.opengis.gml.impl.LineStringTypeImpl
public net.opengis.gml.DirectPositionListType getPosList()
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\LineStringSegmentType.java:161:
getPosList() is already defined in net.opengis.gml.LineStringSegmentType
net.opengis.gml.DirectPositionListType getPosList();
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\impl\LineStringSegmentTypeImpl.java:504:
getPosList() is already defined in
net.opengis.gml.impl.LineStringSegmentTypeImpl
public net.opengis.gml.DirectPositionListType getPosList()
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\ArcStringType.java:161:
getPosList() is already defined in net.opengis.gml.ArcStringType
net.opengis.gml.DirectPositionListType getPosList();
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\impl\ArcStringTypeImpl.java:506:
getPosList() is already defined in net.opengis.gml.impl.ArcStringTypeImpl
public net.opengis.gml.DirectPositionListType getPosList()
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\ArcStringByBulgeType.java:161:
getPosList() is already defined in net.opengis.gml.ArcStringByBulgeType
net.opengis.gml.DirectPositionListType getPosList();
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\impl\ArcStringByBulgeTypeImpl.java:510:
getPosList() is already defined in net.opengis.gml.impl.ArcStringByB
ulgeTypeImpl
public net.opengis.gml.DirectPositionListType getPosList()
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\GeodesicStringType.java:48:getPosList()
is already defined in net.opengis.gml.GeodesicStringType
java.util.List<net.opengis.gml.DirectPositionType> getPosList();
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\impl\GeodesicStringTypeImpl.java:109:
getPosList() is already defined in
net.opengis.gml.impl.GeodesicStringTypeImpl
public java.util.List<net.opengis.gml.DirectPositionType> getPosList()
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\CubicSplineType.java:161:
getPosList() is already defined in net.opengis.gml.CubicSplineType
net.opengis.gml.DirectPositionListType getPosList();
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\impl\CubicSplineTypeImpl.java:510:
getPosList() is already defined in net.opengis.gml.impl.CubicSplineTypeImpl
public net.opengis.gml.DirectPositionListType getPosList()
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\BSplineType.java:161:
getPosList() is already defined in net.opengis.gml.BSplineType
net.opengis.gml.DirectPositionListType getPosList();
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\impl\BSplineTypeImpl.java:512:
getPosList() is already defined in net.opengis.gml.impl.BSplineTypeImpl
public net.opengis.gml.DirectPositionListType getPosList()
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\AbstractGriddedSurfaceType.java:163:
getPosList() is already defined in
net.opengis.gml.AbstractGriddedSurfaceType.Row
java.util.List<net.opengis.gml.DirectPositionType> getPosList();
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\impl\AbstractGriddedSurfaceTypeImpl.java:466:
getPosList() is already defined in
net.opengis.gml.impl.AbstractGriddedSurfaceTypeImpl.RowImpl
public java.util.List<net.opengis.gml.DirectPositionType>
getPosList()
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\TinType.java:179:
getPosList() is already defined in net.opengis.gml.TinType.ControlPoint
java.util.List<net.opengis.gml.DirectPositionType> getPosList();
^
C:\Daten\xmlbeans-2.0.0\SPSTest\src\net\opengis\gml\impl\TinTypeImpl.java:539:
getPosList() is already defined in
net.opengis.gml.impl.TinTypeImpl.ControlPointImpl
public java.util.List<net.opengis.gml.DirectPositionType>
getPosList()
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]