You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Matt Raible <ma...@raibledesigns.com> on 2003/01/06 17:28:33 UTC
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.
Matt
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Proposal: Use java2html to generate browseable source code.
Posted by Jerome Ernsberger <Je...@AdNovum.CH>.
Hi Matt, there is eclipse plugin java2html. Very funny.... and you don t need something
like <a href .....>. Only select the *.java file and generate the html page.
I don t know the link, sorry. I can google for it.
jerome
Matt Raible wrote:
> 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.
>
> Matt
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Proposal: Use java2html to generate browseable source code.
Posted by Martin Cooper <ma...@apache.org>.
How about this:
http://cvs.apache.org/~martinc/javasrc-struts/
I used JavaSrc for this (available from SourceForge). I think it gives you
everything java2HTML gives you, and more. You don't have to add anything
to the source files, either.
It would only take a few minutes to add the appropriate Commons classes
to this, too, as well as any others we wanted to link to.
--
Martin Cooper
On Mon, 6 Jan 2003, Matt Raible wrote:
> 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.
>
> Matt
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Proposal: Use java2html to generate browseable source code.
Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Mon, 6 Jan 2003, Matt Raible wrote:
> Date: Mon, 6 Jan 2003 10:28:33 -0600
> From: Matt Raible <ma...@raibledesigns.com>
> Reply-To: Struts Developers List <st...@jakarta.apache.org>
> To: Struts Developers List <st...@jakarta.apache.org>
> 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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>