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

Re: [Subclipse-users] Export changed files only

From: Paul Pcoder <paul.pcoder_at_gmail.com>
Date: Tue, 1 Apr 2008 09:55:07 -0600

I'm not sure this would be appropriate in your environment, but this
is what I'd do:

1. Install a svn client on the test server
2. Do a checkout of your web project to whatever staging area is
appropriate
3. Do an svn update whenever you need to get the latest.

If you don't want to have a working copy under your public_html folder,
(although
I do it all the time on my dev boxes) :

1. Install a svn client on the test server
2. Do a checkout of your web project to a working folder somewhere else
3. Do your svn updates as necessary,
4. After each update, so a svn export to your public_html folder

If your project is huge, the export might take a while since it will be
doing
the entire project, but if you aren't doing it that often this might be
a convenient approach. Personally, I just do an fresh export of my entire
project, zip it up, whack my entire project off the server, upload the
archive
and unzip. That way I know I'm testing against exactly what I have in my
repo,
no surprises.

I've turned this into a "this isn't a subclipse question, it's a general
subversion
question" type of topic. Hopefully this is helpful to someone.

On Tue, Apr 1, 2008 at 9:09 AM, Mark Cooke <mark.cooke_at_twentyfive.co.uk>
wrote:

> Hi,
>
> I've searched the archives and so far cannot find what I need.
> We are using SVN daily for our web projects, and frequently need to
> export only new or changed files in our local workspace, so we can then
> put them onto our testing server for our clients to approve.
>
> This will need to be done before they are committed back in to the
> repository.
>
> I know you can do this by simply choosing 'Export' and then select new
> or changed files manually.
>
> Is there a way to do this automatically or at least have them auto
> selected. I've started to try to write an Export plugin, but I'm finding
> Eclipse documentation on this fairly sparse and have a limited knowledge
> of Java.
>
> Thanks in advance
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
> For additional commands, e-mail: users-help_at_subclipse.tigris.org
>
>
Received on 2008-04-01 17:55:20 CEST

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.