Skip to content

Instantly share code, notes, and snippets.

@playerjamesbattleground
Created February 5, 2014 02:42
Show Gist options
  • Save playerjamesbattleground/8816618 to your computer and use it in GitHub Desktop.
Save playerjamesbattleground/8816618 to your computer and use it in GitHub Desktop.
java task in build.xml
...
<!--Generate sample request / response xml from given xsd with JLibs
for example, we generate an request xml from a schema called getOrder.xsd
-->
<java classname="com.sixtree.xs2xml.XMLGenerator" classpathref="classpath">
<arg value="${schema.repo.dir}/getOrder.xsd" />
<arg value="getOrder-request.xml" />
<arg value="getOrderRequest" />
<arg value="http://www.sixtree.com.au/schemas/getOrder" />
</java>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment