Migration to the OSOR subversion repository
The gvSIG subversion repository was moved from its `own server at the gvsig.org domain`__ to `a server hosted in OSOR`__ during the week of April 12th 2010.
__ https://gvsig.org/svn/gvSIG
__ https://svn.forge.osor.eu/svn/gvsig-desktop
The easiest way is to do a checkout of the project again in a new workspace. However, if we have changes to upload, another option is to change the reference to the subversion server in our own workspace.
At first, we have two options for this:
- From eclipse: (for lack of testing) we can use the option *Team > Disconnect* on a project, and then *Team > Share project* indicating the new URL to use.
- From console: we can use the option of the subversion client *svn switch --relocate OLD_URL NEW_URL folder*. For example, to migrate the build project of the 2.0 (from the same build project), we'd use::
svn switch --relocate \
https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/build \
https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/build \
.
All of this, project by project. If we have a unix shell (we are on linux, mac, windows with the cygnus utilities, etc.) we can use the following instructions (including to create a script) to migrate a complete workspace of the gvSIG core::
# Andami
svn switch --relocate \
https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/frameworks/_fwAndami \
https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/frameworks/_fwAndami \
_fwAndami
# Root projects
for project in build binaries org.gvsig.core.maven.dependencies;
do svn switch --relocate https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/${project} \
https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/${project} \
${project};
done
# Applications
for project in app*;
do svn switch --relocate https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/applications/${project} \
https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/applications/${project} \
${project};
done
# Libraries
for project in lib*;
do svn switch --relocate https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/libraries/${project} \
https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/${project} \
${project};
done
# Extensions
for project in ext* org.gvsig.symbology;
do svn switch --relocate https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/extensions/${project} \
https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/${project} \
${project};
done