Docsity

CSE775 Project 4a: Developing a Source Code Repository using XML and WinForm Interface - P, Study Guides, Projects, Research of Engineering

Toggle sidebar
bg1
CSE775 – Distributed Objects
Spring 2006
Project #4a – Source Code Repository due
Monday, May 01
Purpose:
This project requires you to develop a program to deliver source code from a Repository server to any
machine on the network, including to a different directory on the server machine. The Repository delivers
single modules, interface and control folders that include extra files like resources, and collections of
modules that make up a program. The repository holds a single copy of any module, even if it is used by
many programs. Typically, a program consists of several modules and possibly an interface folder and one
or more control folders. It is recommended that all modules are stored in one folder, controlled by the
Repository, and that each interface and control have its own folder. Each module and program is
represented by an XML manifest file that describes its contents. A program’s manifest file should refer to
each of its module’s manifests, not to the individual files, and where appropriate, to an interface manifest.
Each manifest contains XML elements providing a name, description, and links to all its parts. The
Repository interface shows the names of each program, interface, and module, in a TreeView on the left
side of a Form. When a particular TreeView element is selected, its description, and a list of its parts, is
displayed in a view on the right side of the Form. Controls are provided to insert, modify, and extract
modules, interfaces, and programs to or from the repository.
It is intended that this project use XML processing, provided by the .Net Framework Class Libraries 1, and
communication facilities, developed in Projects #2 and #3.
Requirements:
Your Software Repository:
1. shall compile and link from the command line, using VC++ 8.0, as provided in the ECS clus ters and
operate in the environment provided there2.
2. shall use a WinForm interface, constructed with managed C++ or C#, as the primary interface for the
repository.
3. shall manage source code modules, interfaces, and programs using XML manifests to provide names,
descriptions, and a list of all the required parts.
4. shall provide facilities to insert new modules and interfaces, and to define programs as combinations of
modules and possibly one or more interfaces.
5. shall support the modification and extraction of modules, interfaces, and programs from the repository
to any path on the network.
6. shall hold only one version3 of any file, even if it is used by more than one program.
7. shall use three components, newly developed for this project. They may be COM, .Net controls, or any
mix you think appropriate. Some suggestions are: a manifest scan, module insert, and module
extraction controls. Feel free to use some other partitioning, if that seems a better design.
You should think carefully about the output of this program. The quality of your design is measured, in part,
by how well your interface supports the activities of a user. Note that the Reposi tory will consist of a
Repository server that manages source code, and Repository clients, that provide a user access to its
services.
1 If you developed an XML DOM in CSE687, you may use that if you wish.
2 VC++ version 8.0 is provided by Visual Studio .Net 2005, and is available in all the ECS clusters.
3 You are not expected to implement a versioning policy, but your repository should be capable of storing
more than one version of any file, perhaps by using a naming convention like aFile.ver.ext, where aFile is
the file name, ver is its version number, a single integer, and ext is i ts extension, e.g., .h, .cpp, etc.
pf2

Partial preview of the text

Download CSE775 Project 4a: Developing a Source Code Repository using XML and WinForm Interface - P and more Study Guides, Projects, Research Engineering in PDF only on Docsity!

CSE775 – Distributed Objects

Spring 2006

Project #4a – Source Code Repository due

Monday, May 01

Purpose:

This project requires you to develop a program to deliver source code from a Repository server to any machine on the network, including to a different directory on the server machine. The Repository delivers single modules, interface and control folders that include extra files like resources, and collections of modules that make up a program. The repository holds a single copy of any module, even if it is used by many programs. Typically, a program consists of several modules and possibly an interface folder and one or more control folders. It is recommended that all modules are stored in one folder, controlled by the Repository, and that each interface and control have its own folder. Each module and program is represented by an XML manifest file that describes its contents. A program’s manifest file should refer to each of its module’s manifests, not to the individual files, and where appropriate, to an interface manifest. Each manifest contains XML elements providing a name, description, and links to all its parts. The Repository interface shows the names of each program, interface, and module, in a TreeView on the left side of a Form. When a particular TreeView element is selected, its description, and a list of its parts, is displayed in a view on the right side of the Form. Controls are provided to insert, modify, and extract modules, interfaces, and programs to or from the repository. It is intended that this project use XML processing, provided by the .Net Framework Class Libraries 1 , and communication facilities, developed in Projects #2 and #3.

Requirements:

Your Software Repository:

  1. shall compile and link from the command line, using VC++ 8.0, as provided in the ECS clusters and operate in the environment provided there^2.
  2. shall use a WinForm interface, constructed with managed C++ or C#, as the primary interface for the repository.
  3. shall manage source code modules, interfaces, and programs using XML manifests to provide names, descriptions, and a list of all the required parts.
  4. shall provide facilities to insert new modules and interfaces, and to define programs as combinations of modules and possibly one or more interfaces.
  5. shall support the modification and extraction of modules, interfaces, and programs from the repository to any path on the network.
  6. shall hold only one version^3 of any file, even if it is used by more than one program.
  7. shall use three components, newly developed for this project. They may be COM, .Net controls, or any mix you think appropriate. Some suggestions are: a manifest scan, module insert, and module extraction controls. Feel free to use some other partitioning, if that seems a better design. You should think carefully about the output of this program. The quality of your design is measured, in part, by how well your interface supports the activities of a user. Note that the Repository will consist of a Repository server that manages source code, and Repository clients, that provide a user access to its services. (^1) If you developed an XML DOM in CSE687, you may use that if you wish. (^2) VC++ version 8.0 is provided by Visual Studio .Net 2005, and is available in all the ECS clusters. (^3) You are not expected to implement a versioning policy, but your repository should be capable of storing more than one version of any file, perhaps by using a naming convention like aFile.ver.ext, where aFile is the file name, ver is its version number, a single integer, and ext is its extension, e.g., .h, .cpp, etc.

CSE775 – Distributed Objects

Spring 2006