wiki:DemonstratingAssignment
Last modified 9 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 users.jyu.fi. You'll see your users-server webspace as drive W after you've activated it at salasana.jyu.fi.

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: https://trac.cc.jyu.fi/projects/ohj2/wiki/WikiStart.

An example can be found here

Usage

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:
    avain
  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)
    http://users.jyu.fi/~USERNAME/ohj2
  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 http://www.ad.jyu.fi/index_en.html

Appendix:


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>
Mainmenu.java = preliminary for phase 3
phase3/Club.java = a tiny Club
phase3/Display.java = working menus
=<h3>Phase 4</h3>
crc.html = CRC-cards from the classes
kerhohar_en.jpg =a picture of the datastructure