summary steps for project 0 submission n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Summary: steps for Project 0 submission PowerPoint Presentation
Download Presentation
Summary: steps for Project 0 submission

Loading in 2 Seconds...

play fullscreen
1 / 4

Summary: steps for Project 0 submission

1 Vues Download Presentation
Télécharger la présentation

Summary: steps for Project 0 submission

- - - - - - - - - - - - - - - - - - - - - - - - - - - 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