GithubHelp home page GithubHelp logo

sbt-axis's Introduction

An sbt version of the Axis Tools Maven Plugin. Supports calling WSDL2Java only, to generate Java from WSDL. Loosely based off mdr's plugin.

You should also consider using scalaxb.

Compatible with sbt 0.11.2, 0.11.3 or 0.13.1.

Notes

There are 2 branches for this plugin, one that uses Axis and the other uses Axis2. Versions 0.1.x correspond to Axis where as versions 0.2.x correspond to Axis2. Both branches are designed to be updated as SBT/Scala gets updated (the reason why Axis is supported is because there are some wsdl's that don't compile with the newer Axis2 due to them using deprecated settings)

Configuration

If you want to use Axis, put this in your project/plugins.sbt:

addSbtPlugin("org.mdedetrich" % "sbt-axis" % "0.1.0")

For Axis2, put this in your project/plugins.sbt:

addSbtPlugin("org.mdedetrich" % "sbt-axis" % "0.2.0")

Light configuration example (in build.sbt):

seq(sbtAxisSettings : _*)
SbtAxisKeys.wsdlFiles <+= baseDirectory(_ / "service.wsdl")
SbtAxisKeys.packageSpace := Some("com.example")

Full configuration example:

import sbtaxis.Plugin.{ SbtAxisKeys, sbtAxisSettings }
class MyBuild extends Build {
     lazy val myProject = Project("Mine", file("."), settings = Defaults.defaultSettings ++ sbtAxisSettings ++ Seq(
         SbtAxisKeys.wsdlFiles <+= baseDirectory(_ / "service.wsdl"),
         SbtAxisKeys.packageSpace := Some("com.example"))
}

There is an SbtAxisKeys.otherArgs for other WSDL2Java arguments

sbt-axis's People

Contributors

mdedetrich avatar mdr avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

subfxnet

sbt-axis's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.