RE: how to build code in cvs

"Bo Berglund" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.gui.user
Message-ID <[email protected]>
CVS is not a build tool.
It is a source code version control tool where your source code is
protected and versioned.
Building is somerthing completely different....

You might use a scripting language of your own choice and then use that
to build your application
based on source code that the script fetches from CVS.
It can be done for example with a batch file like this:

@echo off
set CVSROOT=:sspi:cvsserver:/Software
c:
cd \projects
if EXIST MyProject rmdir /s /q MyProject
cvs export -r HEAD MyProject
cd MyProject
make
pause

This little example assumes the following:

1. You are using a CVSNT CVS server on the cvsserver pc with 
   protocol SSPI and the repository named /Software.

2. The project to build is a module in CVS named MyProject

3. The project contains a makefile in the top folder

4. The "make" command is recognized by the computer you run the script
on.

5. The makefile specifies exactly what you want to do during builds.



Best regards,

Bo Berglund


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of chinmaya
Sent: den 18 juni 2007 14:06
To: [email protected]
Subject: [cvsgui] how to build code in cvs

hi 
can any one tell me how to build code through CVS. is there any tool 
where i can do the build or is there any scripts.




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cvsgui/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/cvsgui/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.