INF 123: Software Architectures, Distributed Systems, and Interoperability - PowerPoint PPT Presentation

About This Presentation
Title:

INF 123: Software Architectures, Distributed Systems, and Interoperability

Description:

How to create PDF files. How can I see the LL architecture? ... How to configure SVN to create your repository. Step 1: Configure your Unix Shell ... – PowerPoint PPT presentation

Number of Views:137
Avg rating:3.0/5.0
Slides: 21
Provided by: rosalvagal
Learn more at: https://ics.uci.edu
Category:

less

Transcript and Presenter's Notes

Title: INF 123: Software Architectures, Distributed Systems, and Interoperability


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
  • gt Check the solutions in the Noteboard

4
How to create a PDF file?
  • MAC users
  • File-gtPrint, 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-gtarch.xm
    l
  • 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/resourc
    es/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-gtarch.xm
    l
  • 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_at_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 ltpathgt later.
  • Initialize your repository
  • Type in the command svnadmin create --fs-type
    fsfs ltpathgt. Be sure to substitute the string
    that you wrote down in the previous bullet
    instead of ltpathgt.

14
Step 3 Configure Subclipse
  • Go to Window (or Eclipse in MAC)-gt 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 -gt
    Repository Location.
  • Indicate the location of the repository. Type in
    svnssh//openlab.ics.uci.edu/ltpathgt. Be sure
    to substitute the string that you wrote down in a
    previous slide instead of ltpathgt. 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 -gt
    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 -gt 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
Write a Comment
User Comments (0)
About PowerShow.com