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

Re: How to create trunk dir?

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2004-07-23 16:00:33 CEST

Here are a couple of workarounds:

1) Use SVN command line to checkout the .project file on branch. Edit it
with a text editor and enter a new project name and commit back. It is
just an XML file, easy to edit.

2) When doing Checkout As Project there is a point where there is a
confirmation dialog up but the project itself has been created in the
workspace. If you delete the .project file that was generated before you
answer the message the checkout works.

I prefer option 1. Actually, don't you have to do something like #1
anyway with a branch? I seem to recall there is a bug that svn 1.1 will
fix where checking out from a branch with Subclipse can fail. This is
because it does an "svn cat -r ###" on the .project file and if that file
has not been modified on the branch the command fails. This should be
fixed with the new "history follow copy" changes in svn 1.1 but the
workaround is to just use the command line to checkout and commit that
file on the branch.

Mark

news <news@sea.gmane.org> wrote on 07/23/2004 09:32:08 AM:

> Mark Clarke <Mark@ClarkeConsulting.co.za> writes:
>
> > I have read that this is the recommended dir layout on the repository.
> > Also should I check in the eclipse specific files like .project
> > ,.classpath , .hibernatesynchroniser? I would like the repository to
be
> > able to be downloaded and compiled by any java ide. I will need to
> > create a build.xml of course.
>
> I for one am having problems when I include .project in the subversion
> repository: the project name is stored in this file, so when you
> create a branch with a different name, you can not check out the
> branch under this new name with subclipse.
>
> Checking out with "Check Out As..." will not work either, since
> eclipse will generate a new .project that gets in the way of your
> repository version.
>
> Cheers,
>
> Alex
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
Received on Sat Jul 24 00:00:33 2004

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.