Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
scalaxb is an XML data binding tool for Scala.
Scala Java Other

This branch is 1 commit ahead, 318 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
cli
integration/src/test
mvn-scalaxb
notes
project
sbt-scalaxb/src
src/main/conscript/scalaxb
web
.gitignore
INSTALL.md
LICENSE
README.md

README.md

scalaxb

scalaxb is an XML data-binding tool for Scala that supports W3C XML Schema (xsd) and Web Services Description Language (wsdl) as the input file.

From schema documents scalaxb will generate Scala source files containing case classes to represent the data and typeclass instances to turn XML documents into an object, and the object back to XML.

Status

The latest is 0.6.7. Some things may not work. I'd really appreciate if you could run it against your favorite xsd file and let me know the result.

Modules

There are currently four ways of running scalaxb:

  • command line app scalaxb
  • sbt plugin sbt-scalaxb
  • maven plugin mvn-scalaxb
  • web API scalaxb-heroku hosted on heroku

sbt-scalaxb for sbt 0.11.1

To call scalaxb from sbt 0.11.1, put this in your project/plugins.sbt:

addSbtPlugin("org.scalaxb" % "sbt-scalaxb" % "X.X")

and this in build.sbt:

seq(scalaxbSettings: _*)

packageName in scalaxb in Compile := "xxx"

sourceGenerators in Compile <+= scalaxb in Compile

sbt-scalaxb for sbt 0.10.1

To call scalaxb from sbt 0.10.1, put this in your project/plugins/build.sbt:

libraryDependencies <+= (sbtVersion) { sv => "org.scalaxb" %% "sbt-scalaxb" % ("sbt" + sv + "_X.X") }

command line app scalaxb

See INSTALL.md.

mvn-scalaxb

See mvn-scalaxb.

Documents

Further info is available at scalaxb.org.

Bug Reporting

If you're having problem with scalaxb, please take a moment and read issue reporting guideline.

Licensing

It's the MIT License. See the file called LICENSE.

Contacts

Something went wrong with that request. Please try again.