1 / 20

INF 123: Software Architectures, Distributed Systems, and Interoperability

INF 123: Software Architectures, Distributed Systems, and Interoperability. Discussion Session Week 3 - Spring 2008 Instructor: Prof. Richard N. Taylor TA: Rosalva Gallardo. Overview. Questions about Assignment 1 How to create PDF files How can I see the LL architecture?

helki
Download Presentation

INF 123: Software Architectures, Distributed Systems, and Interoperability

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 3 - Spring 2008 Instructor: Prof. Richard N. Taylor TA: Rosalva Gallardo

  2. Overview • Questions about Assignment 1 • How to create PDF files • How can I see the LL architecture? • How can I see the code related to a component? • How to configure SVN to create your repository

  3. Questions about Assignment 1 • The source code of ArchStudio and Myx.fw have compilation errors • I cannot Download ArchStudio 4 Project Set File • I can see the Lunar Lander Menu but I can not run the game ==> Check the solutions in the Noteboard

  4. How to create a PDF file? • MAC users: • File->Print, PDF, Save as PDF • Windows users: • Online free service: • https://www.pdfonline.com/convert_pdf.asp

  5. How can I see the LL architecture? • Go to the ArchStudio Perspective • In the Navigator view, select LunarLander->arch.xml • Right click on arch.xml and select Open with Archipelago

  6. How can I see the LL architecture? • In the Outline View, double click on “Lunar Lander” • You will see the Lunar Lander architecture. Adjust the % of Zoom for better visualization. • To see the different types of connectors that you can use in Myx.fw. Refer to the Myx Whitepaper here: http://www.isr.uci.edu/projects/archstudio/resources/myx-whitepaper.pdf

  7. How can I see the code related to a component? • Go to the ArchStudio Perspective • In the Navigator view, select LunarLander->arch.xml • Right click on arch.xml and select Open with ArchEdit

  8. How can I see the code related to a component? • In the Outline View, select one of the components and double click on its type. • Its type will be selected in the tree. Select implementation to see the java class related to the component type.

  9. What about the connectors? • You can see the java class related to a Connector using ArchEdit and checking the “implementation.” Just in the same way we can see the implementation for a Component as described in previous slides.

  10. How to configure SVN to create your repository • Step 1: Configure your Unix Shell • Step 2: Add Directory and Initialize your repository • Step 3: Configure Subclipse • Step 4: Connect to your SVN repository using Subclise • Step 5: Create folders in your repository • Step 6: Check In your project

  11. Step 1: Configure your Unix Shell • Connect to your Unix account (openlab.ics.uci.edu) using SecureCRT, Putty or other ssh client in Windows or Terminal (ssh username@openlab.ics.uci.edu) in MAC. • Type the command “module list” and check if subversion has been loaded.

  12. Step 1: Configure your Unix Shell • If the Subversion module has not been loaded, add the line “module load subversion” to your .cshrc file located in your H: drive. Log out and log in again to check that the module is loaded now.

  13. Step 2: Add Directory and Initialize your repository • Create a directory called “123-svnrepository” (command: mkdir 123-svnrepository) • Enter that directory using the command “cd”. Type the command “pwd” and take note of the full path. We need this <path> later. • Initialize your repository: • Type in the command “svnadmin create --fs-type fsfs <path>”. Be sure to substitute the string that you wrote down in the previous bullet instead of <path>.

  14. Step 3: Configure Subclipse • Go to Window (or Eclipse in MAC)-> Preferences. Expand Team and click SVN. Select “SVNKit (Pure Java)” in the SVN interface information. Click “Apply” and “OK.”

  15. Step 4: Connect to your SVN repository using Subclipse • Go to the SVN Perspective. In the SVN Repositories tab, right-click and select New -> Repository Location. • Indicate the location of the repository. Type in “svn+ssh://openlab.ics.uci.edu/<path>”. Be sure to substitute the string that you wrote down in a previous slide instead of <path>. In the next screens you will be asked to enter your password (check if your username is correct) and author name.

  16. Step 5: Create folders in your repository • Right-click on the repository and select New -> New remote folder. • In the New remote folder window create the folder “trunk” and press “Finish.” Repeat this step to create the folders “branches” and “tags.”

  17. Step 5: Create folders in your repository • Your repository should look like this:

  18. Step 6: Check In your project • Right-click on the project (LunarLander) and select the Team -> Share Project… menu item. • Select the SVN repository plug-in and click “Next.” • Select “Use existing repository location” and select the repository you just created. Click “Next”.

  19. Step 6: Check In your project • In the Enter Folder Name Window, select “Use specified folder name:” and click “Browse.” Select the “trunk” folder and click OK.

  20. Step 6: Check In your project • Enter a comment for your first commit. • You will see your project in the Package Explorer similar to the following screenshot:

More Related