I've found the ViewCVS site (available at;
http://cvs.apache.org/viewcvs/jakarta-struts/ ) to be really useful. It
provides a good way to browse all the source code, plus allows you to go
back and view any version of any file from any release.

The only thing this lacks is a quick method of viewing whatever current
build is on your own particular machine - for that you'd need to use
java2html.

To accomplish this, the 'java2html man page (
http://olympus.het.brown.edu/cgi-bin/dwww?type=man&location=/usr/share/man/man1/java2html.1.gz
 ) provides quick directions for setting up a cgi script to allow
conversion 'on the fly' - in other words, you could pretty easily install
the apache web server on your machine directly (assuming you haven't
already), define a site that points to your source directory and browse the
source code that way - the man page directions show you how to have
java2html convert pages on the fly as you select them.

Our you could just run java2html manually -

As David mentions, I use an IDE (Eclipse) - this allows both browsing and
integration with cvs directly.

Best of luck,
Kevin




                                                                                       
                                                
                                                                                       
                                                
             "David Graham"                    To: [EMAIL PROTECTED]       
                                                
             <[EMAIL PROTECTED]>         cc: (bcc: Kevin 
Bedell/Systems/USHO/SunLife)                                            
             01/06/2003 11:43 AM               Subject:  Re: Proposal: Use java2html 
to generate browseable source code.               
             Please respond to "Struts                                                 
                                                
             Developers List"                                                          
                                                
                                                                                       
                                                
                                                                                       
                                                




I don't see much use for this.  IDEs are much better than browsers for
looking at source code.

David






>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.
>Date: Mon, 6 Jan 2003 10:28:33 -0600
>
>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:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>


_________________________________________________________________
The new MSN 8 is here: Try it free* for 2 months
http://join.msn.com/?page=dept/dialup


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]
>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]
>





---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to