Re: Compilation failure
David Marceau <[email protected]> Wed, 21 Jan 2004 10:43:04 -0500
| Newsgroups | gmane.comp.web.ming.general |
|---|---|
| Message-ID | <[email protected]> |
Piotr Kopszak wrote: > > I can't find that directory in the CVS tree I downloaded. Where is it? > > Piotr It's interesting to note there is no examples in the ming cvs tree. And on the ming home page the two sets of examples 0.2a and 0.3+ are not accessible for some reason. I just tried. I would like to suggest there be the following source tree included please: May I suggest placing the examples into "ming/examples"? Here is a recipe to do it. Obviously the username "anonymous" has to change to a username with more permissions for ming cvs add/commit capability: 0)Create an empty working directory that will hold the ming module source tree mkdir /mingtest 0.1)Important...checkout the sources without using any tags specified. cvs -d:pserver:[email protected]:/cvsroot/ming login enter cvs -d:pserver:[email protected]:/cvsroot/ming co ming cvs -d:pserver:[email protected]:/cvsroot/ming logout 1)*******NOTICE your current working directory should be just above ming/ cd /mingtest/ find . -print . ./ming ./ming/CVS ./ming/CVS/Root ./ming/CVS/Repository ./ming/CVS/Entries ./ming/c++_ext ./ming/c++_ext/CVS ... Notice the ming cvs tree is here but my current working directory is just above. The following steps are for adding 0.2a ming-examples to the source tree: 2)cvs -d:pserver:[email protected]:/cvsroot/ming login enter 3)Let's start with moving 0.2a examples to cvs 3.1)cp -R ming-examples0.2a ./ming/examples 3.2)cvs -d:pserver:[email protected]:/cvsroot/ming add ming/examples 3.3)cvs -d:pserver:[email protected]:/cvsroot/ming rtag -F dot2aExamples ming/examples 3.4)cvs -d:pserver:[email protected]:/cvsroot/ming logout 4)Now let's go move the 0.3a examples to cvs I am doing the following because some of the source tree has the tag associated with it. So this recipe is to make sure everything is clean from the start. 4.1)Get rid of the 0.2a tag residue by just removing all the source tree locally. 4.1.1)cd /mingtest/ 4.1.2)rm -rf ./ming 4.1.3)Go get a clean source tree from cvs cvs -d:pserver:[email protected]:/cvsroot/ming login enter cvs -d:pserver:[email protected]:/cvsroot/ming co ming 4.2)cp -R ming-examples0.3a2 ./ming/examples 4.3)cvs -d:pserver:[email protected]:/cvsroot/ming cvs add ming/examples Don't worry. If any file in your ming/examples already exists in cvs, it simply won't add it to the repository. 4.3.1)this might be overkill but what the heck ;) It's for the files that were already added but the contents have changed in 0.3a2. cvs -d:pserver:[email protected]:/cvsroot/ming cvs commit ming/examples 4.4)Now give these examples for 0.3a2 a distinct tag for retrieving at a later date cvs -d:pserver:[email protected]:/cvsroot/ming cvs rtag -F dot3a2Examples ming/examples 5)logout cvs -d:pserver:[email protected]:/cvsroot/ming cvs logout This recipe may not be perfect but you get the gist I hope. Cheers ;)