My 2 cents...
I like to use a combination of subversion and ant to do this sort of
stuff.... I use ant to push files to the development server...
The nice thing is that your ant script becomes part of the code that you
check into SVN.
So i typically have a command prompt open to the directory with my
checked out SVN tree. I type something like "ant dev" and the code gets
pushed to the dev server.
I test, and when I'm happy i run "ant prod" and the code gets copied to
the production server.
I also have the ant script do any cache clearing that needs to be done.
I also set things up so that an "ant prod" forces a subversion update
and commit, which means that nobody can push to production without
accidentally undoing someone else's changes.
/John
Robert Garcia wrote:
Subversion can do that on commit. You have a subversion server, and it
accepts the commit, and then it has a post-commit script, that will
update the working copy that the test server serves.
This happens virtually instantly. I cannot tell you how valuable a
system like subversion is. Even if for just one guy, but if you have
multiple people working on code, it is necessary.
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
On Nov 13, 2006, at 5:45 PM, Wayne Irvine wrote:
Robert Garcia at [EMAIL PROTECTED] wrote:
however, if you mount the server through the new tiger NETWORK icon,
it will have a very different path,
Cheers. I'll look into that. May well be the problem.
You will avoid a lot of headaches by
editing locally and saving to server.
The server in question is in the next room. It is the dev server. So
I save
to it and test immediately.
Saving locally and then having to move the file to the server just adds
another step. I am presently doing this but it is a pain in the but for
debugging. I often save and forget to move the file before testing.
It is
exactly this I am trying to avoid.
Wayne Irvine
Byte Services Pty Ltd
http://www.byteserve.com.au/
[EMAIL PROTECTED]
Ph 02 9960 6099 Mob 0409 960 609 Fax 02 9960 6088
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
--
John McGowan
[EMAIL PROTECTED]
P 847.608.6900 x 110
F 847.608.9501
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf