









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for setting up a subversion repository on unix and using eclipse as a subversion client. Students will learn how to configure their unix shell, initialize the svn repository, and connect to it from eclipse. The document also covers checking in and checking out projects, making modifications, and reverting changes.
Typology: Assignments
1 / 17
This page cannot be seen from the preview
Don't miss anything!










Name : ___________________________________________________ Student Number : ___________________________________________________ Laboratory Time : ___________________________________________________ Objectives
Instructions for the Laboratory Task 1: Configure Your UNIX Shell For this task, you will verify that SVN is available in your UNIX environment. If SVN is not available, you will add it. SVN needs to be available so that you can create a SVN repository in your home directory and connect to it using Eclipse in later tasks. a) Log in to your UNIX account
If you want to know more about how modules work, visit http://www.ics.uci.edu/computing/unix/modules/ Task 2: Add a Directory for Your Subversion Repository This task involves creating a directory for your Subversion repository in your UNIX Account. a) Log in to your UNIX account. b) Create a directory called “ 111 - svnrepository” (or 121 - svnrepository, if you prefer). The command to do this is “mkdir 111 - svnrepository”. Do not place the directory in a subdirectory within your account. c) Enter that directory using the command “cd 111-svnrepository” d) Take note of the full path to this directory. Type the command “pwd” and write down the result. e) Initialize the SVN repository: Type in the command “svnadmin create --fs-type fsfs
Task3: Verify that the Subclipse Plug-in uses SVNKit a) Go to Window - > Preferences. Expand Team and click SVN. Select “SVNKit (Pure Java)” in the SVN interface information. Click “Apply” and “OK.” Task 4: Connect to Your SVN Repository from Eclipse a) In Eclipse, go to the SVN Perspective: Select Window - > Open Perspective - > Other - > SVN Repository Exploring. b) Create a new Repository Location: In the SVN Repositories tab, right-click and select New -
Repository Location. c) Indicate the location of the repository. Type in “svn+ssh://openlab.ics.uci.edu/
”. Be sure to substitute the string that you wrote down in step 2d instead of .
f) You should see the repository you just created. g) Right-click on the repository and select New - > New remote folder. h) In the New remote folder window, create the folder “LunarLander” and press “Finish.” i) Create the following sub folders inside "LunarLander": "trunk", "branches," and "tags". In the New remote folder window, make sure that you select "LunarLander" as the parent folder.
j) Right-click on the repository and select “Refresh.” You should see the following structure. For additional help on setting up a SVN repository, see the online help in Eclipse.
After changing:
c) Check In the modified project and verify your changes
After changing:
Save the file.
To: FileOutputStream fileos;
i) Enter the appropriate current version numbers of the file "edu.uci.ics.inf111.dvdvendor.lib.Persistent.java" in the repository and each user’s working copy, after the event. ii) Provide a description indicating if the Subversion operations are successful, and how conflicts are resolved. Also, if there is a discrepancy between the version numbers you saw in the screenshot and the one you expected, give a brief explanation of this discrepancy. iii) Submit a screenshot showing the revision number of files in the package "edu.uci.ics.inf111.dvdvendor.lib " at the end of each event
Screenshot1:
Screenshot2:
Screenshot3:
Screenshot4:
Screenshot5:
Screenshot6: