1 / 4

CVS/Ant Summary: Steps for Project 0 Submission

This summary provides step-by-step instructions for preparing and submitting Project 0 using CVS and Ant. It covers setting up the system, checking out the repository, creating directories and files, modifying the build.xml file, removing junk files, and testing the project locally and after submission.

bandrade
Télécharger la présentation

CVS/Ant Summary: Steps for Project 0 Submission

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CMSC 341 CVS/Ant Summary: steps for Project 0 submission • System prep: add following to .cshrc • setenv CVSROOT /afs/umbc.edu/users/y/p/ypeng/pub/cs341f12/Proj0 • // root for CVS repository for Proj 0 • // need to change for each project • set path = ( $path /afs/umbc.edu/users/y/p/ypeng/pub/341/bin ) • // path for cvs utility scripts • setenv JAVA_HOME /usr/local/jdk1.6.0 • set path = ($JAVA_HOME/bin $PATH)

  2. CMSC 341 CVS/Ant Summary: steps for submission • Checkout CVS repository • cvs checkout MyProj0 username • // create directory MyProj0 • // build,xml and a junk file checked out to MyProj0 • Create directories src and src/proj0 under MyProj0 • Write your Proj0.java at src/proj0 • first line of Proj0.javaMUST be package proj0; • Modify build.xml to be consistent with your proj0 directory structure • <property name="main.class" value="packageNames.ClassName"/>

  3. CMSC 341 CVS/Ant Summary: steps for submission • Remove junk file from your CVS repository • cvs remove –f junk_file1.txt • Check in modified build file and commit it • cvs add build.xml • cvs commit –m “” build.xml • Check in directories src and src/proj0 • cvs add src • cvs add src/proj0 • // cvs add for directories commit them by default • Check in Proj0.java • cvs add src/proj0/Proj0.java • cvs commit –m “” src/proj0/Proj0.java

  4. CMSC 341 CVS/Ant Summary: steps for submission • Testing • Local testing before checking in files: • Using javac and java • Using ant run • After checking in • Using cvs utilities • cvsbuild • cvsrun

More Related