Coder Social home page Coder Social logo

gradle-wsimport-plugin's People

Contributors

jochenseeber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gradle-wsimport-plugin's Issues

Feature request which solves an existing NPE

It would be perfect if this plugin gives a possibilty to execute wsimport without the package parameter, so that the package names will be defined by the wsimport.

One solution could be to download the wsdl directly to src/java/wsdl, which throws a NullPointerException at the moment.

Idea:
WsimportTask.groovy checks if relativeSourceFil is null
-> if not: package will be defined
-> if yes: call wsimport without package parameter

Thanks in advance!
Best Regards,
Steve

Gradle Build Faile: Could not create LanguageSourceSet of type WsdlSourceSet

Hi,
I tried to use your plugin in my project. But when trying to build with Gradle to generate the Java files I got an error, see details below.

plugins {
    id 'me.seeber.wsimport' version '1.1.2'
}
Gradle Version: 5.0
Java Home: /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
Gradle Tasks: build

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'myservice'.
> Exception thrown while executing model rule: WsimportPlugin.PluginRules#createWsdlSourceSets(ModelMap<WsimportComponent>, FileOperations) > create(wsdlMain) > create(wsdl)
   > Could not create LanguageSourceSet of type WsdlSourceSet

Windows generation failed: an operand is missing

Hello,

I have used the plugin to generate wsdl code, everything works fine on Linux but my coworkers on Windows get an error message "an operand is missing" from the wsimport generated command line.

It appears that the problem come from a parameter set for the generation with an empty value:
B-classpath in WsimportTask.java

The empty value is not well defined on Windows, if I launch the command generated by the plugin with empty single quote '' it works.

  • Would it possible to fix empty path for Windows or just skip parameter definition with empty path ?

  • As a work around, how do I set a valid "xjc" path in build.gradle ?

Cheers

Path to packageName conversion not working under Windows

The path to package name conversion in WsimportTask does not work under Microsoft Windows. It breaks because of a different file separator on this platform (backslash instead of forward slash). Simple fix:

def packageName = relativeSourceFile.parent.replace(File.separator, '.')

Java 6 support?

Hi,

I know Java 6 has been end of life. But I am using Java 6 at one of my projects, and I don't think the latest version is compiled against it.

Is there a plan to have Java 6 support?

Thanks

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.