Page 1 of 1

Eclipse: Can I make the production folder the repository

Posted: Sat Jan 26, 2008 9:13 pm
by parka
Quick question on using CVS on Eclipse with PHP plug-in.

Here's my directory layout:
/Sites/cvsroot
/Sites/production_folder

Everytime when I commit a file from a remote computer, the repository is updated.

I would like it to be updated in the production_folder as well, is that possible? Or do I have to manually check out the files from the repository into production_folder?

Re: Eclipse: Can I make the production folder the repository

Posted: Sat Jan 26, 2008 10:08 pm
by Christopher
Do you need it instantly updated or could you have cron update the production directory from CVS?

Re: Eclipse: Can I make the production folder the repository

Posted: Sat Jan 26, 2008 10:13 pm
by parka
It should be instantly updated so I can load the page and test it. Erm. I don't know what cron update means.

Meanwhile, I just figured out that the method I mentioned in the first post might not be the correct work-flow.

I just figured out an easier way, sort of.
1. Get the latest from repository to my local folder
2. Do the changes and commit to repository
(2b. If there are conflicts, resolve, download, then commit)
3. Upload the files from my local folder to the production folder via FTP