One project having multiple SVN mappings?

View: New views
6 Messages — Rating Filter:   Alert me  

One project having multiple SVN mappings?

by frankt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a project that consists of files located in different locations in the SVN repo. Is there a way that I can have setup subclipse to have multiple SVN mappings for one project?

I would prefer not having to duplicate the files in the repo, obviously.

Ask for more informatin if I am not clear.

Thanks!
Frank

Re: [Subclipse-users] One project having multiple SVN mappings?

by Javier Kohen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

El jue, 02-11-2006 a las 16:03 -0800, frankt escribió:
> I have a project that consists of files located in different locations in the
> SVN repo. Is there a way that I can have setup subclipse to have multiple
> SVN mappings for one project?
>
> I would prefer not having to duplicate the files in the repo, obviously.
>
> Ask for more informatin if I am not clear.

I am not sure I understood your question, but the following suggestion
might give you some ideas nonetheless.

It should be possible for you to checkout the different repository
locations to the file system outside the project area, then include the
files in the project through symbolic links (supported natively by
Eclipse). However, I doubt that the linkage will carry along enough
information for subclipse to recognize the files as backed by
Subversion.

Greetings,
--
Javier Kohen <jkohen@...>
ICQ: blashyrkh #2361802
Jabber: jkohen@...


signature.asc (196 bytes) Download Attachment

Re: [Subclipse-users] One project having multiple SVN mappings?

by Mark Phippard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

frankt <troiafr@...> wrote on 11/02/2006 07:03:40 PM:

>
> I have a project that consists of files located in different locations
in the
> SVN repo. Is there a way that I can have setup subclipse to have
multiple
> SVN mappings for one project?
>
> I would prefer not having to duplicate the files in the repo, obviously.

No that is not possible.  There are a few ways you can handle this, I
think someone else suggested one way.  The best way to do this in my
opinion is to use the svn:externals feature.  It was designed for this and
works pretty well for most scenarios.  Another advantage is that it should
work in any Subversion client, which could be handy if you later have some
build scripts or just users that are using different clients.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: [Subclipse-users] One project having multiple SVN mappings?

by frankt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would not be able to use the SVN:externals feature in subclipse, right?

Have you ever had experience with Subversive? or any other SVN eclipse-plugin that might have this feature built in?

Thank you for the reply!
Frank

Mark Phippard wrote:
frankt <troiafr@aciworldwide.com> wrote on 11/02/2006 07:03:40 PM:

>
> I have a project that consists of files located in different locations
in the
> SVN repo. Is there a way that I can have setup subclipse to have
multiple
> SVN mappings for one project?
>
> I would prefer not having to duplicate the files in the repo, obviously.

No that is not possible.  There are a few ways you can handle this, I
think someone else suggested one way.  The best way to do this in my
opinion is to use the svn:externals feature.  It was designed for this and
works pretty well for most scenarios.  Another advantage is that it should
work in any Subversion client, which could be handy if you later have some
build scripts or just users that are using different clients.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org

Re: [Subclipse-users] One project having multiple SVN mappings?

by Mark Phippard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

frankt <troiafr@...> wrote on 11/03/2006 10:51:04 AM:

>
> I would not be able to use the SVN:externals feature in subclipse,
right?

Yes you would, that is why I recommended it.  It is the "official" SVN way
to handle these things.  There are others, but this is the intended best
method.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: [Subclipse-users] One project having multiple SVN mappings?

by frankt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Coming from VSS, I think I had a misunderstanding of externals. Instead of it being some property that needs to be set on the client-side, it is instead set on the server side. I was thinking subclipse would need to perform a different type of SVN checkout call.

The SVN way seems a much better way to handle these things!

Thanks!

Mark Phippard wrote:
frankt <troiafr@aciworldwide.com> wrote on 11/03/2006 10:51:04 AM:

>
> I would not be able to use the SVN:externals feature in subclipse,
right?

Yes you would, that is why I recommended it.  It is the "official" SVN way
to handle these things.  There are others, but this is the intended best
method.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org