We are porting our .NET library to the java equivalent and are now looking at how to allocate this port. Packing classes into a jar file seems like best practice, and we will send this jar file to zip along with some license terms.
But what about documentation? In the .NET environment, it seems best practice to distribute an XML file that can be used with tools (Visual Studio), but we cannot find such best practices for java. We have javadoc comments about our public classes and interfaces, so we are just looking for a way to generate and distribute these comments in a way that makes it developer friendly (we think it is easily consumed from different IDEs). What are the developers expected and how do you best do this?
We really would rather combine the documentation with the jar file and not post the documentation on our website
EDIT: We would like our documentation to appear inside the java-IDE, so we want to provide the documentation in such a way that it integrates as much as possible into the IDE. In the .NET environment, it's like an XML file located next to a DLL file, but is there a similar concept for jar files that allows integration into tools?
PS: We are developing in Eclipse and have an ant task that builds a building and a jar file in our automatic build.
source share