Code Monkey home page Code Monkey logo

Comments (15)

sjoerdtalsma avatar sjoerdtalsma commented on September 22, 2024

The styling is 100% down to the PlantUML version being used.
I could try upgrading the dependenciesof the v1 doclet and see if I can issue a new release from it...

Recompiling the new code won't work as indeed the Doclet spec was changed from Javadoc 9 onwards and the code was completely rewritten to incoroporate the new Doclet spec.

from umldoclet.

spyhunter99 avatar spyhunter99 commented on September 22, 2024

I did try your suggestion and was able to get it to work!

  • update the PlantUML version to the latest
  • add commons-io as a dependency
  • edit the HtmlFile class to use the commons-io FileUtils to copy instead of the current api call to net.sourceforge.plantuml.FileUtils which now requires an SFile class. Wasn't sure what that was but the logic seemed simple enough to use commons-io as a replacement.

I did have one issue the license plugin so i temporarily disabled it. I can open a PR if you have any hints as to the license plugin issue. It was complaining about the HtmlFile class that i edited and the root pom xml file. Is there some goal i need to run to update the license headers?

from umldoclet.

sjoerdtalsma avatar sjoerdtalsma commented on September 22, 2024

The develop-v1 branch hasn't been updated in a while so the copyright years can be off for many files you touch.
Commons IO cannot be added as a dependency unfortunately; everything should be bundled into the .jar file or else running javadoc will be a much more complex process.

You can fix this by running a mvn license:format before you commit.
Also please make sure you sign off your commits (using the git commit -s option) or the Pull request cannot be accepted.

Thanks very much in advance.

from umldoclet.

sjoerdtalsma avatar sjoerdtalsma commented on September 22, 2024

Oh another thing: the plantuml version must be the ASL version, not the GPL version that you have now in your branch.
Unfortunately that is unavailable in any maven repository at the moment as far as I know (this is why the full source code is included in the current develop branch 😢 )

from umldoclet.

sjoerdtalsma avatar sjoerdtalsma commented on September 22, 2024

(See lib/README.md in the lib directory of the develop-v1 branch)

from umldoclet.

sjoerdtalsma avatar sjoerdtalsma commented on September 22, 2024

Update: PlantUML ASL version 1.2022.14 should now be available in the local mvn repo of the develop-v1 branch if you pull the recent version.

from umldoclet.

sjoerdtalsma avatar sjoerdtalsma commented on September 22, 2024

I did a quick inline of a copy(File, File) method and bumped some other lib versions.
I'll see if I can push out a release in a while. Until then, the latest 1.1.5-SNAPSHOT from https://oss.sonatype.org/content/repositories/snapshots should be updated with the latest PlantUML version.

from umldoclet.

sjoerdtalsma avatar sjoerdtalsma commented on September 22, 2024

Sorry, the github actions build for the develop-v1 branch seems to be broken, so no snaphot or release are available on maven central yet. 😢

For now you could check out the branch and do a mvn install locally to install the doclet in your local maven repository for testing.

I'll see if I can fix the build in the meantime.. Sorry for the inconvenience..

from umldoclet.

sjoerdtalsma avatar sjoerdtalsma commented on September 22, 2024

Ok, fixed it and pushed a release to maven central.
Please try version 1.1.5 of umldoclet.
Feel free to reopen this issue if it hasn't been resolved still somehow.

from umldoclet.

sjoerdtalsma avatar sjoerdtalsma commented on September 22, 2024

Oh, I almost forgot; check out https://www.javadoc.io/doc/nl.talsmasoftware/umldoclet/1.1.5/index.html for an example

from umldoclet.

spyhunter99 avatar spyhunter99 commented on September 22, 2024

excellent, thank you!

from umldoclet.

nicola02nb avatar nicola02nb commented on September 22, 2024

Hi, I was using v 1.1.4 without any problem, and I saw your update to 1.1.5, but as I'll try the update it gives me a lot warnings while compilig javadoc and some graphs don't display... can you help me?

from umldoclet.

sjoerdtalsma avatar sjoerdtalsma commented on September 22, 2024

Java 8 is already 9 years old, we will not be putting much effort in the 1.x version anymore.
However, if you have a reproducable bug, please feel free to create a new issue for them.

from umldoclet.

nicola02nb avatar nicola02nb commented on September 22, 2024

Fine, I switched to 2.1, I don't want to cause any trouble... But if you want I'll provide the warnings log:
Warninge.log

from umldoclet.

sjoerdtalsma avatar sjoerdtalsma commented on September 22, 2024

Fine, I switched to 2.1, I don't want to cause any trouble... But if you want I'll provide the warnings log:

Thank you for the logfile. The errors seem to be within PlantUML itself, which is usually caused by the diagrams becoming too large (in my experience).

You could try option --create-puml-files to play with the generated .puml diagram in PlantUML itself to figure out what is causing these errors.

from umldoclet.

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.