Übersetzerbau Subversion Tutorial

Checkout the provided sources with NetBeans

Final delivery of an exercise with NetBeans

Checkout the provided sources with Eclipse

Compiler Sources

    1. File -> Import
    1. SVN -> Checkout Projects from SVN
    2. Click Next
    1. Make the repository known to Eclipse
    2. The subversion url is:
      svn://ssw.jku.at/2008W/UB/k plus your MatrNo,
      sample: svn://ssw.jku.at/2008W/UB/k9855215/
    3. The user name is k<MatrNo>, e.g. k9855215, the password has been sent to you via email.
    1. Select trunk -> Compiler
    2. Press Finish
    1. Select Java Project
    2. Press Next
    1. Name the project e.g. Compiler
    2. Select the project layout: Use project folder as root for sources and class files
    3. Press Finish
    1. Ignore the warning.

Test Sources

    1. File -> Import
    1. SVN -> Checkout Projects from SVN
    2. Click Next
    1. Select the Übersetzerbau repository
    2. Click Next
    1. Select trunk -> Tests
    2. Press Finish
    1. Name the project e.g. Tests
    2. Select the project layout: Use project folder as root for sources and class files
    3. Press Finish
    1. Ignore the warning.
    1. Open the properties of the Tests project
    1. Go to Java Build Path
    2. Open tab Libraries
    3. Click Add Library ...
    1. Select JUnit
    2. Click Next
    3. Select JUnit 4
    4. Click Finish
    1. Open tab Projects
    2. Click Add...
    3. Check the Compiler project
    4. Click OK

Final delivery of an exercise with Eclipse

This tutorial shows the final delivery for exercise 2. The deliveries for the exercises 3, 4, 5 and 6 are analogous.

    1. Check if your trunk version is up to date (= properly checked in = no local changes) and passes the JUnit tests (to your satisfaction, in the best case all tests ;-)) for the current exercise.
    1. In the context menu of you Compiler project click: Team -> Branch/Tag...
    1. Select the target URL:
      svn://ssw.jku.at/2008W/UB/k plus your MatrNo plus /branches/UE02, for later exercices use UE03, UE04 and so on
      sample for exercise 2: svn://ssw.jku.at/2008W/UB/k9855215/branches/UE02
    2. Press Next
    1. Select HEAD revision in the repository
    2. Press Next
    1. Optional: Enter a useful comment for the revision.
    2. Press Finish
    3. That's it!
    1. OPTIONAL, if you want to change anything in that branch later, you can check it out analogous to the checkout of the provided sources. You can find the branch of the project in the branches folder of your repository.