users@grizzly.java.net

Re: grizzly 1.9.19-snapshot javadoc generated with UMLGraph.

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 24 Nov 2009 15:20:09 -0500

Survivant 00 wrote:
> automatically generated when builded ?
>
> You need to install Graphviz and add the path in the pom or used a
> variable like GRAPHVIZ_HOME (it's a default variable used by default)
>
>
> if the folder is static in www/ I could do that upload the apidocs with
> uml unless it's overrided each time you do a release.

Yes we can update those file every release like we are doing for the
javadoc. That would be quite helpful.

A+

--Jeanfrancois


>
> 2009/11/23 Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com
> <mailto:Jeanfrancois.Arcand_at_sun.com>>
>
> Salut,
>
> why not you commit the result under the www/ folder? I'm sure a lot
> of peoples will be interested!!
>
> A+
>
> --Jeanfrancois
>
>
> Survivant 00 wrote:
>
>
> I generated javadoc for Grizzly with UMLGraph. Will give you
> the UML within the javadoc. (PS I change the javadoc-plugin to
> 2.6.1 in my pom.xml, better support for aggregate javadoc)
>
>
> you can download it if you want to check it out.
>
> http://www.mediafire.com/file/enxdzdnmyfi/apidocs.rar
>
> if you want to generate it your self it's really simple.
>
>
> in the pom.xml
>
> find this
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <configuration>
> <aggregate>true</aggregate>
> </configuration>
> <executions>
> <execution>
> <id>attach-javadocs</id>
> <goals>
> <goal>jar</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
>
> and
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <version>2.6.1</version>
> <configuration>
> <aggregate>true</aggregate>
> <debug>true</debug>
> <links>
>
> <link>http://java.sun.com/javaee/5/docs/api</link>
>
> <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
> </links>
>
> <excludePackageNames>dojox:org.mortbay:com.sun.enterprise.web</excludePackageNames>
> </configuration>
> </plugin>
>
> and change it for this :
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <configuration>
> <aggregate>true</aggregate>
>
> <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
> <docletArtifact>
>
> <groupId>org.umlgraph</groupId>
>
> <artifactId>doclet</artifactId>
>
> <version>5.1</version>
> </docletArtifact>
>
> <additionalparam>-operations</additionalparam>
>
> <additionalparam>-qualify</additionalparam>
>
> <additionalparam>-types</additionalparam>
>
> <additionalparam>-visibility</additionalparam>
>
> <additionalparam>-collpackages</additionalparam>
>
> <show>private</show>
> </configuration>
> <executions>
> <execution>
> <id>attach-javadocs</id>
> <goals>
> <goal>jar</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
>
> the other block is
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-javadoc-plugin</artifactId>
> <version>2.6.1</version>
> <configuration>
> <aggregate>true</aggregate>
> <debug>true</debug>
> <links>
>
> <link>http://java.sun.com/javaee/5/docs/api</link>
>
> <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
> </links>
>
> <excludePackageNames>dojox:org.mortbay:com.sun.enterprise.web</excludePackageNames>
> <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
> <docletArtifact>
> <groupId>org.umlgraph</groupId>
> <artifactId>doclet</artifactId>
> <version>5.1</version>
> </docletArtifact>
> <additionalparam>-operations</additionalparam>
> <additionalparam>-qualify</additionalparam>
> <additionalparam>-types</additionalparam>
> <additionalparam>-visibility</additionalparam>
> <additionalparam>-collpackages</additionalparam>
> <show>private</show>
> </configuration>
> </plugin>
>
> --
>
> Vous pouvez me suivre sur Twitter / You can follow me on Twitter
> : http://twitter.com/survivant
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> <mailto:dev-unsubscribe_at_grizzly.dev.java.net>
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
> <mailto:dev-help_at_grizzly.dev.java.net>
>
>
>
>
> --
>
> Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
> http://twitter.com/survivant