Comments (15)
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.
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 anSFile
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.
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.
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.
(See lib/README.md
in the lib directory of the develop-v1 branch)
from umldoclet.
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.
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.
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.
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.
Oh, I almost forgot; check out https://www.javadoc.io/doc/nl.talsmasoftware/umldoclet/1.1.5/index.html for an example
from umldoclet.
excellent, thank you!
from umldoclet.
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.
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.
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.
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)
- Failure to generate UML diagrams and SVG HOT 11
- Using JDK-16 package.svg graphics are not shown on package-summary pages, although graphics do get generated HOT 1
- Fix UML diagram locations for java modules HOT 1
- How to set TypeDisplay.NONE? HOT 6
- Sharing a Gradle Kotlin DSL configuration HOT 2
- Dot Executable: null on windows when GRAPHVIZ_DOT not declared HOT 8
- Override option for SVG Object Tags HOT 6
- <umlImageFormat>png</umlImageFormat> not working HOT 2
- Add support for PlantUML server HOT 3
- Document how to include custom plantuml diagrams into generated javadoc HOT 4
- NPE on some package level images HOT 2
- Documentation of additionalOptions HOT 7
- Regular Doclet logging turns up as warnings in maven
- Allow provide additional plantUML options(rendern with Smetana) HOT 4
- No connection is drawn for return value types HOT 2
- Enable "-link" option multiple times HOT 1
- Configure Built-In plantuml to not steal keyboard focus on MacOS X HOT 5
- Diagrams not always included in HTML HOT 1
- Remove unused maven plugins such as release plugin?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umldoclet.