[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: Feature Request

From: Marino Kevin <Kevin.Marino_at_neighborcare.com>
Date: 2005-03-22 16:23:35 CET

Mark,

Thanks for the quick response. You lost me at "post-commit-hook...",
hehe.

Our current environment is somewhat bastardized. Our main webserver is
IIS/Coldfusion/J2EE (this predates our implementation of subversion) so
currently I have installed an Apache server on a different port that
handles the SVN interaction. Coding a hook may be beyond my
capabilities, but the other option is intriguing.

So are you saying have the webserver run a process every x time and
perform a checkout dropping a copy in the website directory? Oh, and
what does "WC" mean? Pardon my lack of knowledge still learning SVN.

Thanks
Kevin

> I am currently using subclipse for web development along side
> traditional software development and was wondering can you add the
> following.
>
> 1. Be able to designate in some fashion and auto "PUT" feature for
> files. So that when a commit is done that file is then automatically
> exported or copied to another location (e.g. a website directory).
> This would be quite nice and eliminate the need to use either the
> command line or Tortoise, I am on WinXp, to do an Export.
>
> Our Flash development team would also find this useful. If you have
> used Macromedia Dreamweaver before this feature would work the same
way.

The proper technique to get this feature is to use a post-commit-hook on
the server. None of the Subversion clients, including TortoiseSVN have
this feature. It is a server-side feature that you can implement with a
hook.

Another easy way to do it would be to run some kind of scheduled process
on your web server that does a checkout every hour, or whatever interval
makes sense. Then you can just make your web site a Subversion WC and
use "svn co" in a script to update it.

Mark

________________________________________________________________________
_____
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management
Services powered by MessageLabs.
________________________________________________________________________
_____

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Mar 23 02:23:35 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.