scalaxb.compiler.SbtApp.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalaxb_2.13 Show documentation
Show all versions of scalaxb_2.13 Show documentation
scalaxb is an XML data-binding tool for Scala that supports W3C XML Schema (xsd) and wsdl.
The newest version!
package scalaxb.compiler
class SbtApp extends xsbti.AppMain {
private val logger = Log.forName("main")
def run(config: xsbti.AppConfiguration) = {
try {
Main.start(config.arguments)
Exit(0)
}
catch {
case e: ReferenceNotFound =>
logger.error(e.getMessage)
Exit(1)
case e: Exception =>
logger.error(e.getStackTrace.mkString("", Module.NL, Module.NL))
Exit(1)
}
}
case class Exit(val code: Int) extends xsbti.Exit
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy