Code Monkey home page Code Monkey logo

Comments (3)

jlizier avatar jlizier commented on August 20, 2024

Hi Norman -- thanks for the feedback! It's great to hear that you're using JIDT :). If you have time later and are at liberty to say over email, I'd love to hear about what you're working on with it.

Ok, so long as infodynamics.jar is being built, that's the main thing to get you going.

Having the junit target build correctly is only really important if you want to fiddle with the internal JIDT code, or need to validate that the calculations are correct on your platform (it's hard to imagine that not being the case if it's building ok, but that may be important for some users). If those don't apply to you, you can just skip the the JUnit tests.
Otherwise, the errors with ant junit are likely to do with a missing installation of junit or perhaps an incompatible version. As per the extra details on our Installation wiki page, if you want to run the junit tests you need to have JUnit installed. Once it is installed, you need to make sure that ant can find the junit.jar file - as described at our JUnitTestCases wiki page pointing to the JUnit task for ant. There are multiple ways to achieve this -- I've got junit.jar in ANT_HOME/lib (from memory my ant installation on ubuntu auto-installed junit), and the build.xml junit target is set up assuming that (there are some comments in there about that).
Another possibility is that there is an incompatibility across ant versions - I've done everything with JUnit v3.8.2 (starting from ubuntu 12.04 and now on 18.04 it still seems to be default for that platform). But I suspect if you're using JUnit >= 4 it will break (the interface there is different).
So -- can you check if you have JUnit installed, if ant can find it, and if the version is ok? As I say above, if you don't really need to run the unit tests we can just leave this part.

Coming to the Javadocs then - you only need build them yourself if you want a local version and/or might be updated the JIDT source code. Otherwise, you can always find them online linked from our Documentation page, e.g. here for v1.5
With that said, I'm running a slightly earlier version of openjdk 10.0.2 on ubuntu 18.04 and I can verify the javadoc generation error that you have. I'm only recently running on this new laptop, and was not getting this error on my previous build on ubuntu 14.04 with I think openjdk 7.
I'll look into what's causing this one and reply here ...

Thanks!

from jidt.

jlizier avatar jlizier commented on August 20, 2024

Ok, I fixed the ant javadocs call; it seems that there was a change in how javadocs handled files I asked it to ignore from JDK v8 or so. That seems fixed now in the ant file. Thanks for the tip!

If you can update to the latest on git and confirm that ant javadocs works for you now, that would be great.

I should point out that it will still generate a lot of warnings - this is expected, because my javadoc'ing isn't great, but it should still succeed and generate the javadocs.

from jidt.

jlizier avatar jlizier commented on August 20, 2024

Norman I'm going to assume that fix worked ok for you, since I validated it at my end and haven't heard anything back. As such, I'm closing the issue -- do let me know if there were any problems.

from jidt.

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.