Courses/CS 460/Fall 2007/Subversion And Subclipse
From CSWiki
Contents |
[edit] Current Status of the Source Repository
[edit] SubVersion CS460 Info
SVN URL: svn://cs1.calstatela.edu/cs (The project is not up yet)
[edit] SVN Tutorial and Software
Windows Users: Tortoise is a svn utility for windows if you dont want to use the Eclipse svn utility. Using the right-click of the mouse youll have some options
http://tortoisesvn.tigris.org/
Mac & Unix Users or your favorite editor:
Use svn commands.
svn checkout (create your copy)
svn add (adds a file, this needs to be done before you commit any NEW files)
svn commit (sends the file to the repository)
svn update (grabs the latest copy of the code from your repository)
[edit] Subversion and Subclipse
Hi SubVersion group. Do we have any milestones set up to start hammering this out? I believe the only thing we need is to upload the project so everyone can get a copy of it. You guys want me to help out with this?
--Armando Padilla
[edit] Subversion Account information
Fernando Loza sent me (Russ Abbott) the following message. Please select an account name by putting your name next to it.
I have created the subversion accounts for your CS460 class. Your students will need a subversion client such as Tortoise SVN (http://tortoisesvn.tigris.org/).This client is already available in the CS labs and you can also access it from within Windows Explorer on those machines.
Here are the accounts:
USERNAME = PASSWORD
professor = 7777
cs460stu1 = jef399! Andrew Miller (physics, Test)
cs460stu2 = iou677@ --> Michael Allen (Boat)
cs460stu3 = mko899# -> Habib Khan (Boat)
cs460stu4 = lio900$ Luis Rivera
cs460stu5 = jie877^
cs460stu6 = ipp444! Wayne Wong (physics)
cs460stu7 = oop331% Spencer Perreault (Boat, Torpedoes)
cs460stu8 = kop999!
cs460stu9 = jui746#
cs460stu10 = pop333$
cs460stu11 = jun809! Cuong Tham (Boat)
cs460stu12 = hoi233$ Sassja-fe Ceballos (physics, Torpedoes)
cs460stu13 = joi566# [Robert H.] (physics)
cs460stu14 = lok677!
cs460stu15 = nuo987@
cs460stu16 = iop345@
cs460stu17 = nuo090! Hong Ngo (physics, Graphics)
cs460stu18 = nop444# Richard Lim (Graphics)
cs460stu19 = nok556! -> Lalantha Sath (Boat)
cs460stu20 = bop434#
cs460stu21 = vim435! Jerry Chang (Torpedoes)
cs460stu22 = oio552@ --> Yuet-chi Lee (physics)
cs460stu23 = jfo904#
cs460stu24 = nbo093!
cs460stu25 = opp009! Kunhan Kim(krootone@gmail.com) (Torpedoes)
cs460stu26 = nvo455# -> Manuel Segura (Torpedoes)
cs460stu27 = pwo566@ Armando Padilla (Torpedoes)
cs460stu28 = nwo619! Hung Trinh (Test)
cs460stu29 = kop304@ Carlos Estebes (Test)
cs460stu30 = nop390$ Steven Emory (Test) (my_trash_account@sbcglobal.net)
cs460stu31 = nvo399# Jesus Fabian (Test)
cs460stu32 = ldo100@ Henry Nguyen (Test)
cs460stu33 = jof843! -> Yoshi Iketani (physics)
cs460stu35 = jfo345! (James Cheng) (Test)
[edit] Subversion Status
Setting up subversion server has been completed. But still we can not access repository from off campus. The port has been blocked to access the cs1 server and Fernando(cs department IT personnel) is working on to request ITS to open the port. It might take few more days. During this time, we can access repository ONLY from CS labs. The following information regarding repository will be helpful.-- ~~~~
URL: svn://www.tcsamerica.net
repository: cs
projectName: cs460
- Main development initial source code: trunk (ONLY read access to all students)
- Private branch for each student: branches/stu# ("#' is a number between 1-35 that corresponds to username cs460stu#)
- Read ONLY access for all students and professor. Read and Write access to ONLY private branch.
- Private branch for professor: branches/professor (Read ONLY access for all students and professor. Read and Write access to ONLY private branch)
To check out your copy of the project:
- If you are using Tortoise: URL path is svn://www.tcsamerica.net/cs/cs460/branches/stu# (provide username and password for your branch)
- If you are using command line subversion client such as svn in linux: > svn checkout svn://www.tcsamerica.net/cs/cs460/branches/stu# (provide username and password for your branch)
NOTE: The sourceTree is already imported to all branches and ready to checkout. There is no need to create branches.
Repository Hierarchies layout:cs/ -- this is the main repository where configuration files are located cs460/ -- project name trunk/ --resides the main development initial source code branches/ professor/ stu1/ stu2/ stu3/ stu4/ stu5/ stu6/ | | | V V V stu33/ stu34/ stu35/ physics-grp/ boat-grp/ torpedo-grp/ graphics-grp/ test-grp/ tags/ professor/ stu1/ stu2/ stu3/ stu4/ stu5/ stu6/ | | | V V V stu33/ stu34/ stu35/ physics-grp/ boat-grp/ torpedo-grp/ graphics-grp/ test-grp/
Source tree structure in the repository:|src/edu/csula/cs/ |boatTorpedo/ |AgentState.java |BoatTorpedoModel.java |State.java |agents/ |Agent.java |BoatAgent.java |HomeAgent.java |TorpedoAgent.java |avatars/ |Avatar.java |Home.java |Splash.java |TreeNodeAvatar.java |Boat.java |PloygonalAvatar.java |Torpedo.java |treeSearch/ |SearchStrategy.java |TooManyNodesException.java |TreeNode.java |frontierSearch/ |frontierSearch.java |FrontierTreeNode.java |bestFirstSearch/ |BestFirst.java |BestFirstTreeNode.java |tsSearch/ |TSSearch.java |TSTreeNode.java |spiderSearch/ |Fitness.java |SpiderSearch.java |SpiderTreeNode.jav
[edit] Subclipse Installation and Configuration
[edit] Installation
Please visit Subclipse Installation
[edit] Project Sharing
1 - Go to "SVN Repository Exploring" perspective. Right click in the left side window and select New -> Repository Location. Enter svn url and hit Finish button
2 - Expand url and right click on "Src" folder and select "Checkout". Then select first option "Checkout as project configured with New Project Wizard". Enter name for a java project and hit Finish Button
4 - To set the Label Decoration. Go to Window -> Preferences -> General -> Labal Decoration. Select SVN and hit OK button. Now Java Prospective will display the different stages of a shared resource.
5 - To open a file for edit, open that file and edit. There will be a different icon which shows that file is dirrent than repository.
6 - To add a new file, create the file first and then riht click on it and select Team -> Add To version Control. There will be a plus icon infront of added file.
7 - To submit your changes, go to "Team Synchronizing" Persective. Expand your project and right click on the folder and select commit


