Anonymous

Changes

From CMSC 420
947 bytes added ,  21:07, 1 April 2007
Add docs, submit script
Line 9: Line 9:  
# Right-click your project -> Properties -> Course Project Management -> check enable.  
 
# Right-click your project -> Properties -> Course Project Management -> check enable.  
 
* To submit: right-click the project and choose Submit.  You may get a weird message on your first submit, but it will still go through.
 
* To submit: right-click the project and choose Submit.  You may get a weird message on your first submit, but it will still go through.
 +
 +
[https://submit.cs.umd.edu:8443/docs/MarmosetHelp/StudentGuide/eclipseplugin.html Documentation on the Eclipse plugin] can be found on the submit server.
    
=== Method 2: Create a Jar file and Submit Via The Web ===
 
=== Method 2: Create a Jar file and Submit Via The Web ===
Line 22: Line 24:  
# Click 'submit' under project 2 and upload the .jar file you just created.
 
# Click 'submit' under project 2 and upload the .jar file you just created.
   −
You may find this [[Media:Export.xml|Ant build file]] useful for automating the process of creating a jar file.
+
 
 +
 
 +
You may find this [[Media:Export.xml|Ant build file]] useful for automating the process of creating a jar file.  Put it in your project root directory, then right-click it and choose Run As -> Ant Build.  It will create a file called meeshquest-part1-sp07-submission.jar in your project root directory, which you can then submit via the web.
    
== Hard-Core Command Line H4X0RZ ==
 
== Hard-Core Command Line H4X0RZ ==
Line 32: Line 36:  
# <code>java -jar ~/bin/submit.jar</code>
 
# <code>java -jar ~/bin/submit.jar</code>
 
* The first time you submit it will ask you for your password.  After that, it will store a "one-time password" (which can be used as many times as you want for a given project) unencrypted in a text file called .submitUser in your project root directory.  414 Pop Quiz: is this good security?
 
* The first time you submit it will ask you for your password.  After that, it will store a "one-time password" (which can be used as many times as you want for a given project) unencrypted in a text file called .submitUser in your project root directory.  414 Pop Quiz: is this good security?
 +
* Prior to version 1.6, Java did not have a way to avoid echoing characters to the console as you typed them.  If you run the command line submission tool, you may see the characters of your password briefly echoed to the screen, and then erased.  You don't need 414 to know that that's not good security.
 +
* Want to know how the submissions work under the hood, while not exposing your password or storing it in plaintext on your hard drive?  Check out [[Media:Msubmit.zip]].  Also interesting as an example of things that just shouldn't be done in shellcode.
    
For less hard-core Unix hackers, see the [https://submit.cs.umd.edu:8443/docs/MarmosetHelp/StudentGuide/commandlinesubmission.html Marmoset command line submission documentation].
 
For less hard-core Unix hackers, see the [https://submit.cs.umd.edu:8443/docs/MarmosetHelp/StudentGuide/commandlinesubmission.html Marmoset command line submission documentation].
36

edits