Quantcast
Viewing latest article 28
Browse Latest Browse All 144

xml binding for vcloud 5.1 api for scala, using scalaxb

Is there a prescribed way to generated scala xml bindings for vcloud 5.1 api,
We tried to generate class files using scala 2.10.0 and scalaxb 1.0.0,
Unexpectedly compile failed at
scala-2.10\src_managed\main\org\dmtf\dsp8027_1.1.0.scala
[error] uncaught exception during compilation: java.lang.RuntimeException
java.lang.RuntimeException: Method code too large!
        at
scala.tools.asm.MethodWriter.getSize(Unknown Source)
        at
scala.tools.asm.ClassWriter.toByteArray(Unknown Source)
It seems 64k method code size limit is reached while generating case classes for
PlatformSection_Type
[error] last tree to typer: TypeTree(class Long) [error] symbol: class Long
in package scala (flags: final abstract) [error] symbol definition: final
abstract class Long extends [error] tpe: Long [error] symbol owners: class
Long -> package scala [error] context owners: object PlatformSection_Type ->
package dmtf [error]
Any pointers/help is appreciated !

 

 

Thanks,

Ravi


Viewing latest article 28
Browse Latest Browse All 144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>