On Mon, 6 Jan 2003, Matt Raible wrote:
> Date: Mon, 6 Jan 2003 10:28:33 -0600 > From: Matt Raible <[EMAIL PROTECTED]> > Reply-To: Struts Developers List <[EMAIL PROTECTED]> > To: Struts Developers List <[EMAIL PROTECTED]> > Subject: Proposal: Use java2html to generate browseable source code. > > I don't know if this is a possibility, but it'd be pretty cool to use > Java2HTML to generate browseable source code from the JavaDocs. I use this > and it's pretty slick - all that's required is a simple link in the JavaDoc > comments: > > <a href="ClassName.java.html">View Source</a> > > And then users can see the source. I run a j2h task that javadoc depends on > to produce this. > > See example at: > > >http://www.raibledesigns.com/downloads/appfuse/api/org/appfuse/persistence/BaseDAOHibernate.html > > Look for the "View Source" link. > > Probably a lot of work to add this to all the classes, but I'd be willing to > help out and submit patches if you think it's a good idea. > It's not quite as convenient to use as this, but the source for all Apache projects actually is available online -- via viewcvs. For example: http://cvs.apache.org/viewcvs/jakarta-struts/ is the top level of the Struts CVS repository. You do things like retrieve any particular version of any particular file, do colored diff comparisons, review the commit messages, and so on. > Matt Craig -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
