We keep our entire webapp in CVS, including the jars.  We work with the
project under Eclipse, using the Tomcat plugin.  Eclipse does a terrific
job with CVS.  The only stuff we don't currently keep in CVS (but we want
to eventually) are the Tomcat conf files and supporting libraries
directories (e.g., common/endorsed).  The advantage to keeping the jars
under version control is pretty obvious once you start dealing with
upgrades to various components, such as jdbc driver jar files, etc., or if
you ever tweak resources stored in the cocoon.jar (e.g., logicsheets).

We also have a few java classes, and having the entire project in Eclipse,
we can modify the source in WEB-INF/src and have it automatically compile
to WEB-INF/classes.  In this case, only the source gets stored in CVS, and
Eclipse recompiles the code whenever you check out modified source from
CVS.  This would require a little extra work if we built our .war file
directly from CVS, but we use the Sysdeo Tomcat plug-in to build the .war
file from Eclipse, and it gets the compiled stuff just fine.

-Christopher



|---------+---------------------------->
|         |           Dan              |
|         |           <[EMAIL PROTECTED]|
|         |           drice.net>       |
|         |                            |
|         |           03/17/2004 02:07 |
|         |           PM               |
|         |           Please respond to|
|         |           users            |
|         |                            |
|---------+---------------------------->
  
>--------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                          |
  |       To:       [EMAIL PROTECTED]                                                  
                    |
  |       cc:                                                                          
                          |
  |       Subject:  how do you set up your version control?                            
                          |
  
>--------------------------------------------------------------------------------------------------------------|




Hi,

How are people setting up version control (CVS, SVN) for their projects?
Do you just keep your content (sitemap, config files, stylesheets, etc)
under version control or do you keep the entire app, including the
cocoon jars there too?

Any suggestions in this area would be apprectiated.


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





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

Reply via email to