Please help with subclipse in radrails

I’ve been wrestling with this all night, I’m hoping someone can help. I
followed the exact steps in:

http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion

…but when I open a new ‘Checkout project from SVN’ in RadRails, it
opens up
the second level dirs as the project dirs (ie. app, log, script, etc),
leaving me with a mess of projects.

I redid the whole SVN repository, hoping if I first imported from a
level
down but specified my application root directory that it would change
things
but it did not. No matter what I do, when I enter my SVN repo URL I get
a
list of the second level directories to import. Can anyone tell me how
they
checkout a project with RadRails so that they end up importing a single
project in the left window, instead of all the second level dirs?
Thanks!

Gene H. wrote:

I’ve been wrestling with this all night, I’m hoping someone can help. I
followed the exact steps in:

http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion
http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion

…but when I open a new ‘Checkout project from SVN’ in RadRails, it
opens up the second level dirs as the project dirs (ie. app, log,
script, etc), leaving me with a mess of projects.

Subclipse wants your svn url to name the parent of the directory you’re
going to check out.
So, if your target repository for svn checkout is:
http://svn.myserver.net/svn/myproject/trunk/
Tell subclipse to use:
http://svn.myserver.net/svn/myproject/

And select trunk/ as the directory you’re checking out. Be sure to use
the Next button instead of Finish in the dialogue so you can give it a
meaningful project name in your eclipse workspace, as it will default to
being named ‘trunk’.


Devin Ben-Hur 503/860-4114 mailto:[email protected]

You may not have noticed, but we live in one of the safest,
most peaceful, times in human history. In the US, the three
leading causes of death are: killing yourself, killing yourself,
and killing yourself http://tinyurl.com/msxhq.


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.2/422 - Release Date:
8/17/2006

Hi there… Sorry for asking such simple questions but my host doesn’t
seem
to wipe my subversion repository when I ask for it to be removed, so
every
time I test I need to make a new one… What a mess!

I think I kind of got that, but what I don’t understand is how do the
import
so that my app is structured like that in the repository. Say I have
the
following directory structure:

/var/www/trunk1
/var/www/trunk2
/var/www/trunk3

…and I want to import trunk1 into my repository. I tried:

cd /var/www/trunk1
svn import . http://my.repo.url/myproject --username myuser

But this didn’t work. It didn’t put trunk1 as the root of my project.
I
also tried this:

cd /var/www
svn import trunk1 http://my.repo.url/myproject --username myuser

But this didn’t work either, it had the same effect.

I can’t cd to /var/www and import . because that will import too much.

Please straighten me out! I must be misunderstanding something very
simple. Thanks muchly.