Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Taglet blocks javadoc generation with ClassNotFoundException #19
When I run the Processing template targeting Java SE-1.8, the
In the Processing Library template there is a file
It begins with
I think that in Java 8+ that would instead would be:
...I'm not sure if there are other changes that would need to be made.
I am not familiar with doclets and Taglets -- looking over the code, it isn't clear to me why ExampleTaglet would actually be used -- although is referenced in Ant's build.xml:
Anyway, when it fails the documentation as a whole fails to build.
Assuming this is a problem for others, it seems like either ExampleTaglet should be fixed or it should be removed from build.xml to not block javadoc generation.
My solution was to remove the above line from build.xml.
I just tested an Ant build in IntelliJ targeting Java 1.8 and it worked as expected (with no changes). Note that you need to keep the
@jeremydouglass Can you give me more details on your environment so I can try to see why it failed for you?
I'm developing a Processing Library for the first time and I got this problem too while generating the javadoc. Everything works correctly but the docs aren't created automatically.
I was using Eclipse 4(.8?) on OS X 10.12.
I believe the issue may have been (?) that I had JDK 10 and was using it to target 8. This largely works, except when it doesn't.
Possibly related: #20