Git Product home page Git Product logo

Comments (7)

kaspermarstal avatar kaspermarstal commented on August 18, 2024

I am able to reproduce the problem on my mac with SimpleElastix and the SimpleITK release, master and next branches. May I humbly ask you @blowekamp if you have any suggestions?

from simpleelastix.

blowekamp avatar blowekamp commented on August 18, 2024

What version of Java are you using?

from simpleelastix.

kaspermarstal avatar kaspermarstal commented on August 18, 2024

I am running

$ java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

on Mac OS X El Capitan Version 10.11.3.

from simpleelastix.

blowekamp avatar blowekamp commented on August 18, 2024

I have seen this error on several systems including windows, and I am able to get it on my updated OS X version. Currently there are not too many build systems on the SimpleITK dashboard with Java being built on it. Those that have it are either version 1.7, or 1.6 for distribution.

I am not sure if this is a SWIG or a Java problem. Perhaps that may be a flag that needs to be passed to either SWIG or Java to fix this problem.

Help with the issue in the upstream would be appreciated.

from simpleelastix.

kaspermarstal avatar kaspermarstal commented on August 18, 2024

Sure, I'll make a pull request. The problem seems to be related to the Java 8 javadoc compilation as nicost suspected. There are two fixes according to this stack overflow question (summarized here for your convenience):

  • Disable the doclint feature by adding -Xdoclint:none to the invocation of javadoc
  • Fix javadoc errors. Don't know if this is feasible (do you?). Depends if the comments are pulled from the json files or generated by SWIG.

Which one do you prefer?

from simpleelastix.

blowekamp avatar blowekamp commented on August 18, 2024

If you want to improve the java documentation output to make it compliant, it certainly would be welcome :) But I don't think that is a reasonable task.

Please add the flag when Java >= 1.8, and provide clear comments for the reason for the flag. A pull request through SimpleITK/ITK gerrit preferred, but if done through github it's still welcomed.

Also please note that upstreamed has refactored ( still a little more todo there) the Wrapping directory.

Thank you!

from simpleelastix.

kaspermarstal avatar kaspermarstal commented on August 18, 2024

PR submitted and accepted. Changes will be merged into SimpleElastix with the next SimpleITK release.

from simpleelastix.

Related Issues (20)

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.