Eclipse: Can I make the production folder the repository

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
parka
Forum Commoner
Posts: 52
Joined: Mon Feb 26, 2007 6:48 am

Eclipse: Can I make the production folder the repository

Post 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?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

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

Post by Christopher »

Do you need it instantly updated or could you have cron update the production directory from CVS?
(#10850)
parka
Forum Commoner
Posts: 52
Joined: Mon Feb 26, 2007 6:48 am

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

Post 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
Post Reply