Difference between revisions of "Moving data4.x to data"

From VsWiki
Jump to: navigation, search
(Added tutorials on how to rename data4.x)
 
(tried to fix directions)
Line 6: Line 6:
 
== Windows Users ==
 
== Windows Users ==
 
Here are the steps to modify your working directory on windows (using Tortoise SVN):
 
Here are the steps to modify your working directory on windows (using Tortoise SVN):
# On Windows, right click on your "data4.x" folder and click TortoiseSVN -&gt; "Switch..."</li>
+
 
# Take out the "4.x", and click OK.</li>
 
 
# Rename your data4.x folder to be called "data".</li>
 
# Rename your data4.x folder to be called "data".</li>
 
# Make an empty folder called "win32" (put this outside of data4.x)</li>
 
# Make an empty folder called "win32" (put this outside of data4.x)</li>
# Drag the "data" folder inside of win32.</li>
 
 
# right click on win32 and select "SVN Checkout..."</li>
 
# right click on win32 and select "SVN Checkout..."</li>
 
# Type the URL https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/win32</li>
 
# Type the URL https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/win32</li>
 +
# Uncheck the "Fetch Externals" box.
 
# Leave the checkout folder as is.  Click OK when it warns you about the "not empty folder".</li>
 
# Leave the checkout folder as is.  Click OK when it warns you about the "not empty folder".</li>
# You should see it downloading additional data. As long as it does not start downloading data files again, the update process is complete.</li>
+
# You should see it downloading binaries.
 +
# Drag the "data" folder inside of win32.
 +
# Now, run "SVN Update"
 +
# As long as it does not start downloading or deleting data files again, the update process is complete.</li>
  
 
== Mac OSX users ==
 
== Mac OSX users ==
Line 24: Line 26:
  
 
Now go into a console and run (you can copy and paste this):
 
Now go into a console and run (you can copy and paste this):
  mkdir -p mac/VegaStrike.app/Contents
+
  svn checkout --ignore-externals https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/mac
 
  mv ~/Desktop/Resources mac/VegaStrike.app/Contents/Resources
 
  mv ~/Desktop/Resources mac/VegaStrike.app/Contents/Resources
  svn checkout https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/mac
+
  svn  
  
 
If all works according to plan, you should only have to download a few files ("Framework" directories) and binaries in "MacOS".
 
If all works according to plan, you should only have to download a few files ("Framework" directories) and binaries in "MacOS".

Revision as of 07:25, 2 May 2008

We recently (on May 1) moved the data4.x repository to "data". This has instructions on how to update your repository without checking out everything again.

Updating your existing data4.x repository

The process is slightly different for each platform, because we now store binaries in a different place.

Windows Users

Here are the steps to modify your working directory on windows (using Tortoise SVN):

  1. Rename your data4.x folder to be called "data".</li>
  2. Make an empty folder called "win32" (put this outside of data4.x)</li>
  3. right click on win32 and select "SVN Checkout..."</li>
  4. Type the URL https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/win32</li>
  5. Uncheck the "Fetch Externals" box.
  6. Leave the checkout folder as is. Click OK when it warns you about the "not empty folder".</li>
  7. You should see it downloading binaries.
  8. Drag the "data" folder inside of win32.
  9. Now, run "SVN Update"
  10. As long as it does not start downloading or deleting data files again, the update process is complete.</li>

Mac OSX users

I'm assuming you followed a tutorial similar to [[1]] and that you already have "svn" or "/usr/local/bin/svn" installed.

For the Mac, this process is not as simple as the windows one. First, right/control click on your Vega Strike .app that you downloaded, click "Show package contents". Open Contents, and drag "Resources" to the desktop (this is the same folder you put there when you initially checked out your verison).

Now go into a console and run (you can copy and paste this):

svn checkout --ignore-externals https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/mac
mv ~/Desktop/Resources mac/VegaStrike.app/Contents/Resources
svn 

If all works according to plan, you should only have to download a few files ("Framework" directories) and binaries in "MacOS".

Linux and users building from source

Go inside of data4.x from a Terminal. Then run:

svn switch https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/data

If it gives you an error because you are not using https, the easiest way is to type "svn info" from inside of data4.x, copy the "URL" field, and paste thatwith the "4.x" removed.

Now, type "svn update". If you do not get an error, the update is complete.