I just tried out the -d <directory> command with CVS checkout.

pilgpe@cedar (bash) [374] > cvs checkout -d .  GDD2/eMIS/src
cvs server: existing repository /export/devel/cvs/. does not match 
/export/devel/cvs/GDD2/eMIS/src
cvs server: ignoring module GDD2/eMIS/src


pilgpe@cedar (bash) [375] > cvs checkout -help
checkout: invalid option -- h
Usage:
  cvs checkout [-ANPcflnps] [-r rev | -D date] [-d dir] [-k kopt] modules...
        -A      Reset any sticky tags/date/kopts.
        -N      Don't shorten module paths if -d specified.
        -P      Prune empty directories.
        -c      "cat" the module database.
        -f      Force a head revision match if tag/date not found.
        -l      Local directory only, not recursive
        -n      Do not run module program (if any).
        -p      Check out files to standard output (avoids stickiness).
        -s      Like -c, but include module status.
        -r rev  Check out revision or tag. (implies -P) (is sticky)
        -D date Check out revisions as of date. (implies -P) (is sticky)
        -d dir  Check out into dir instead of module name.
        -k kopt Use RCS kopt -k option on checkout.
        -j rev  Merge in changes made between current revision and rev.
pilgpe@cedar (bash) [376] >

I cannot force CVS to checkout to the current directory. It seems to only work by 
creating
`./GDD2/eMIS/src' path in my current directory. Which is not what I want because
that CVS directory is the root of the project and the expresso web app.

I want

`/home/gdd2_dev/jakarta-tomcat-3.2.1/webapps/expresso3.0fcs/WEB-INF/classes'

and not

`/home/gdd2_dev/jakarta-tomcat-3.2.1/webapps/expresso3.0fcs/GDD2/eMIS/src/WEB-INF/classes'

Any ideas on CVS?

What is a best recommend practice on CVS with JSP 1.1 containers?

I think Jakarta just throw the whole the web app root into CVS.

jakarta/
jakarta/examples
jakarta/WEB-INF
jakarta/WEB-INF/classes
jakarta/WEB-INF/tlds

This is what I have done for my own CVS set up. It seems that CVS does not
cope well with directory restructuring and is very rigid

--

Peter Pilgrim
G.O.A.T
                    "the Greatest Of All Time"



---------------------------------------- Message History 
----------------------------------------


From: Adam Rossi <[EMAIL PROTECTED]>@javacorporate.com on 20/03/2001 
11:59 EST

Please respond to [EMAIL PROTECTED]

DELEGATED - Sent by:     [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:
Subject:  [Opensource] note about bringing Expresso into CVS


We just imported Expresso 3.0 source into our CVS server, and I wanted to
share a note about a small gotcha that we ran into. When you import the
source, cvs will by default skip the "core" subdirectory in the source tree.
This is an important directory. You need to alter the import command to force
cvs to import everything, like so:

cvs import -I ! -m "Imported from source" mydir/ mycompany start

Hope this saves someone some time.

- Adam

--
Adam Rossi
President, PlatinumSolutions, Inc.
[EMAIL PROTECTED]
http://www.platinumsolutions.com
P.O. Box 31  Oakton, VA 22124
PH: 703.471.9793  FAX: 703.471.7140


_______________________________________________
Opensource mailing list
[EMAIL PROTECTED]
http://www.javacorporate.com/mailman/listinfo/opensource



--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to