ucsb-cs56-projects / cs56-games-country-runner

-
2 stars 12 forks source link

Refactor to properly handle image display and build jar file #7

Closed pconrad closed 8 years ago

pconrad commented 11 years ago

(1) The images should be put into a resources subdirectory, and then read from the classpath.

(2) The build.xml so that it has a jar target that creates a dist subdirectory and puts a jar file under that subdirectory. Adjust the jar target so that the images are loaded into the jar in a way that the game can be run from the jar only, even in a different directory.

(3) Add a target "run-from-jar" that tests running the program from the resulting jar file.

(4) Test downloading the jar separately and running it (on a computer with Java, but without the rest of the directory hierarchy.)

andrewberls commented 10 years ago

~estimated 100

pconrad commented 10 years ago

@thetomcraig and @sdrhoads

jalexanderqed commented 8 years ago

F16 CLOSED: jar file generation is currently broken, but a new issue has been created (#53)