lundi 21 avril 2014

Java - puis-je inclure des extraits de code de ma source du projet eclipse dans ma Javadoc ? -Débordement de pile


I'm using Eclipse and Maven to build a shared Java library. I'm generating Javadocs for the library and I am curious if there is any way to include code from a Java source file (that is compiled and part of a unit test) as an example code snippet? This would ensure that my sample code is always compilable and runnable.


I've done this in .NET using Sandcastle Help File Builder, but I've not been able to find an equivalent feature in the Java/Eclipse/Maven world.



I'm using Eclipse and Maven to build a shared Java library. I'm generating Javadocs for the library and I am curious if there is any way to include code from a Java source file (that is compiled and part of a unit test) as an example code snippet? This would ensure that my sample code is always compilable and runnable.


I've done this in .NET using Sandcastle Help File Builder, but I've not been able to find an equivalent feature in the Java/Eclipse/Maven world.


0 commentaires:

Enregistrer un commentaire