ikeyat / javadoc2xls Goto Github PK
View Code? Open in Web Editor NEWA tool to generate excel spread sheet from javadoc
License: MIT License
A tool to generate excel spread sheet from javadoc
License: MIT License
Since Java9, tools.jar
was removed.
javadoc2xls depends on tools.jar
. So, it is impossible to compile on Java11.
Furthermore, Doclet API was deprecated since java10.
https://image.slidesharecdn.com/java10-180329095905/95/java-10-15-638.jpg?cb=1522318063
Since Java9, new Javadoc API was released.
http://openjdk.java.net/jeps/221
One solution is continuing to use legacy and deprecated Doclet API on Java11.
Other solution is to replace it to new one including breaking changes (so it will be done at new major version).
Cells are not re-calculated due to Apache Poi's spec.
This is a problem when an excel template has a fomula to sum number of rows.
For the solution, add a command to re-calculate forcibly
https://so-kai-app.sakura.ne.jp/blog/1067/2014/12/05/
workbook.getCreationHelper().createFormulaEvaluator().evaluateAll();
RemoveHtmlConverter
added at #24 does not take care for null
input.
Currently, only id ({0}
) and Test class name ({1}
) are available.
It's better if cell variables (e.g. #className
) are available for output file name.
Sometimes HTML tags are included in javadoc. Those are often obstacle.
Add an option to convert HTML javadoc to Excel cell with rich text.
http://takezoe.hatenablog.com/entry/20140106/p1
Now only JUnit4 style methods annotated with @Test
are supported.
Because of human errors, 1.0.4.RELEASE was skipped.
Please ignore 1.0.4.RELEASE.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.1:test-javadoc (default-cli) on project sample: An error has occurred in Test JavaDocs report generation:
[ERROR] Exit code: 1 - javadoc: エラー - docletクラスjp.ikeyat.tools.javadoc2xls.Javadoc2XlsDocletでは、メソッドstartは例外java.lang.reflect.InvocationTargetExceptionをスローしました
[ERROR] java.lang.IllegalStateException: Cannot get a text value from a numeric cell
[ERROR] at org.apache.poi.xssf.usermodel.XSSFCell.typeMismatch(XSSFCell.java:882)
[ERROR] at org.apache.poi.xssf.usermodel.XSSFCell.getRichStringCellValue(XSSFCell.java:309)
[ERROR] at org.apache.poi.xssf.usermodel.XSSFCell.getStringCellValue(XSSFCell.java:260)
[ERROR] at jp.ikeyat.tools.javadoc2xls.report.TestListBook.seekHead(TestListBook.java:47)
[ERROR] at jp.ikeyat.tools.javadoc2xls.report.TestListBook.<init>(TestListBook.java:38)
[ERROR] at jp.ikeyat.tools.javadoc2xls.Javadoc2XlsDoclet.execute(Javadoc2XlsDoclet.java:84)
[ERROR] at jp.ikeyat.tools.javadoc2xls.Javadoc2XlsDoclet.start(Javadoc2XlsDoclet.java:29)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
[ERROR] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
[ERROR] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
[ERROR] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
[ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:219)
[ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:205)
[ERROR] at com.sun.tools.javadoc.Main.execute(Main.java:64)
[ERROR] at com.sun.tools.javadoc.Main.main(Main.java:54)
Sometimes, text overflows out of cells.
It's better to resize cells automatically in such cases.
Is it possible with Apache POI?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.