Difference between revisions of "How To Submit"

From CMSC 420
(Updated with public tests)
(Updated with new submit method)
Line 1: Line 1:
You can submit from Eclipse using the [http://www.cs.umd.edu/~pugh/IntroProgramming/eclipseUpdate/ submit plugin]You will need the <code>.submit</code> file from the [https://www.glue.umd.edu/graceclass/spring2007/cmsc/420/0101/public/project/resources/publictests.jar public tests].
+
Download the [https://submit.cs.umd.edu:8443/data/DownloadProjectStarterFiles?projectPK=276 starter files] from the submit serverThen in Eclipse, right-click on your project root, choose Import, then Archive, then find the starter files you downloaded. Then import everything from the archive.
  
Spec Draft 1.1 is wrong; we are using the submit server, not GRACE. It should be accepting submissions shortly.
+
You can submit from Eclipse using the [http://www.cs.umd.edu/~pugh/IntroProgramming/eclipseUpdate/ submit plugin]. (You can also submit from the command-line using the same .submit file; grab the submit.jar from the public directory on GRACE.)
  
The old submission requirements are very similar though. You still need to have a Main class in the default package.  Your program will be tested with a command similar to:
+
Your code will be run from the <code>public static void main(String[])</code> method of the <code>Main</code> class in the default package. It will read in its input from stdin and write its output to stdout.
<code><pre>
 
java -classpath cmsc420util.jar:. Main < primary.input.xml > primary.output.xml
 
</pre></code>
 
  
You can see exactly how your code will be tested by downloading the [https://www.glue.umd.edu/graceclass/spring2007/cmsc/420/0101/public/project/resources/publictests.jar public tests].
+
You can see exactly how your code will be tested by examining the public tests.

Revision as of 04:35, 28 March 2007

Download the starter files from the submit server. Then in Eclipse, right-click on your project root, choose Import, then Archive, then find the starter files you downloaded. Then import everything from the archive.

You can submit from Eclipse using the submit plugin. (You can also submit from the command-line using the same .submit file; grab the submit.jar from the public directory on GRACE.)

Your code will be run from the public static void main(String[]) method of the Main class in the default package. It will read in its input from stdin and write its output to stdout.

You can see exactly how your code will be tested by examining the public tests.