Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This tool allows for converting XML Schema files (.xsd) to Thrift (.thrift) and Protocol Buffers (.proto).
Java Shell
Branch: master
Pull request Compare This branch is 14 commits ahead, 31 commits behind tranchis:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.settings
contrib
src/main/java/com/github/tranchis/xsd2thrift
.gitignore
LICENSE
LICENSE-xsom.1
LICENSE-xsom.2
README
install.sh
pom.xml
xsd2idl

README

XSD2THRIFT
----------

This tool allows for converting XML Schema files (.xsd) to Thrift (.thrift) and
Protocol Buffers (.proto).

CONTACT
-------

Any feedback will be greatly appreciated, at the GitHub project page
(http://github.com/tranchis/xsd2thrift) or at tranchis_-_AT_-_gmail.com.

BUILDING
--------

To build xsd2thrift, you need Maven (http://maven.apache.org/) installed. To build xsd2thrift, run "mvn install".

xsd2thrift has been tested on Java SE 6.

USAGE
-----

Usage: java -jar target/xsd2thrift-1.0.one-jar.jar [--thrift] [--protobuf] [--output=FILENAME]
                           [--package=NAME] filename.xsd

  --thrift          : convert to Thrift
  --protobuf        : convert to Protocol Buffers
  --output=FILENAME : store the result in FILENAME instead of standard output
  --package=NAME    : set namespace/package of the output file
  

LICENSE
-------

The code contributed for this package is licensed under LGPL v3 (see LICENSE).

XSOM is covered by GPL v2 with classpath exception (see LICENSE-xsom.1).

XSOM internally uses an URI class, which is copyrighted by Thai Open Source
Center (see LICENSE-xsom.2).

CONTRIBUTORS (@github.com)
------------

tranchis
Fred-dy-
pfisterer

Something went wrong with that request. Please try again.