Last modified 10 years ago Last modified on 2008-09-12 21:25:58

Demonstrating the Course Assignment

Everyone uploads their assignment into folder ohj2 under their webspace at You'll see your users-server webspace as drive W after you've activated it at

You hand in your assignment the same way you hand in you exercises, but files.txt HAS to be in folder ohj2, not in any of its subfolders. The actual files can be in relative subfolders, if the folders are specified in files.txt. Index.html is not mandatory for the exercises, but you have to create it for the assignment. Instructions for creating index.html below (or it can be created with DemoWWW or NettiDemoWWW)

In addition, the assignment is always under the course's version control. Instructions for creating SSH keys etc:

An example can be found here


Both steps (W drive and svn) are easiest with the command svnht.

  1. You write files.txt as in the example. In it you describe all the files needed to compile and run your program (no .class, .exe, .obj or other such files: they are created in compilation). Please note: case DOES matter!
  1. In computer classes you write the file in to your own folder.
    An example of the path and files (substitute PROJNAME with your USERNAME, or your group's name). If PROJNAME == USERNAME, you don't have to write PROJNAME after svnht.
    c:\MyTemp\ohj2\PROJNAME\files.txt - "index"
    c:\MyTemp\ohj2\PROJNAME\*.* - the files of the assignment, can have subfolders
  1. The first time you use svnht, you create personal SSH keys with the command line command:
  1. Type command (works in Agora's computer classes, on the first time won't find the page)
    svnht PROJNAME
  1. Type command (in folder c:\MyTemp\ohj2\PROJNAME)
    svnht w PROJNAME
    Now the files specified in files.txt] are saved into your web folder (w = into w drive)
  1. When you come to demonstrate your assignment, tell your USERNAME, and the assignment's name PROJNAME if it's not USERNAME.
  1. By typing the command
    svnht PROJNAME
    you can download your assignment onto another computer
  1. You can also transfer files.txt with DemoWWW.exe, but remove line "Demo" from the file created...

Usage at your own computer

  1. Install ActivePerl
  2. Install ssh
  3. Install vpn
  4. Copy to equivalent locations
  5. Also, read instructions for mounting W drive


Smallest possible files.txt
plan.txt = Phases of the assignment 1&2

Example files.txt

= Programming 2, 2008
=<h3>Phases 1 and 2 of the assignment</h3>
suunnitelma_en.txt = the plan
=<h3>Phase 3</h3> = preliminary for phase 3
phase3/ = a tiny Club
phase3/ = working menus
=<h3>Phase 4</h3>
crc.html = CRC-cards from the classes
kerhohar_en.jpg =a picture of the datastructure