pCDN:Restructuring

From NMSL
Revision as of 23:51, 26 February 2008 by Sry-csilop (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The current directory should be moved to a "obsolete" directory. The new pCDN/ subdir should be located at https://cs-svn.cs.surrey.sfu.ca/svn/nsl/pCDN/.

Restructuring part has been completed on Feb 7, after the changes Cheng suggested.

Please "checkout" the code from the above link.

Please do not delete pCDN directory because the new one is inside this directory. You can find the old version at https://cs-svn.cs.surrey.sfu.ca/svn/nsl/obsolete/pCDN/trunk/.

Server

Layout

  • pCDN/server/
    • build/
    • lib/
      • dtl/
    • src/
    • inc/
    • release/
      • doc/
      • database/
      • bin/

Tentative Tasks

  1. Move the boost library (lib files) from cpp/common/lib to server/lib
  2. (Only) Move the in-used boost headers from cpp/common/inc/boost to server/inc/boost
- We are not using boost anywhere in the code now. And I think its safe to remove it from the project : Nitin.
  1. Remove Linux/MacOS build directory, only keep Win32 project. Put it under server/build/
  2. Move the dtl_lib/ (source) to server/lib/dtl. Copy the complied libraries to server/lib
  3. From cpp/common, move in-used src and hdr files to server/src and server/inc
  4. Rename cpp/server_deliverable to server/release

Status

All the restructuring part on the server side has been done and is working normally, as before.

Client

Layout

  • pCDN/client/
    • src/
    • lib/
    • doc/
    • release/
    • bin/

Tentative Tasks

  1. Remove the tracker code (including makefile and GUI part)
  2. Move all documents into doc/ (such as the multi-language support)
  3. Rename build/ to release/
  4. Move the code in script/ to src/, create an importer package for FeedConverter and XMLParser
  5. In the makefile of Importer and Monitor, copy the resulted jar files to pCDN/server/release/bin
  6. Rename src/common to src/util
  7. Rename package peer to core. Rename package peergui to ui

Status

All tasks are done and all the 3 features (peer, importer, monitor) are working as they were.