X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;ds=sidebyside;f=README;h=c588d9867de4d58107cd1fc8ffb30f04de884d5b;hb=refs%2Fheads%2Fmaster;hp=dc7902bcf6c619a4a6042606c438a82b1740d7dd;hpb=9e29f745ef3385e4bcb371b99465ddee0f107711;p=jarrg-owen.git diff --git a/README b/README index dc7902b..c588d98 100644 --- a/README +++ b/README @@ -9,6 +9,7 @@ distribution: ./jpctb /path/to/yohoho/yohoho + Windows ------- @@ -23,19 +24,32 @@ one of two things: installing Puzzle Pirates. (Don't worry about reinstalling; you won't lose any of your pirates or pieces of eight!) + Source ------ To build from source you will need a Java SDK, version 6, and Apache ant, as well as NSIS to build the Windows installer package. - cd src - ant -f PCTB.xml +You can run the script "build-sh" do to the build: + ./build-sh + +It will create in the current directory (the top level of the build) +the .jar files for JPCTB and also the two distribution files: + jpctb-setup.exe the installer for windows users + jpctb.tar.gz a filtered tarball of this whole directory, for linux users + +Currently the build only seems to work with the Sun JDK, so the script +sets JAVA_HOME to /usr/lib/jvm/java-6-sun. If that's not what you +want, set JAVA_HOME yourself. -Currently this only seems to work with the Sun JDK. If your default -JDK is OpenJDK then the following rune may work better: +To make shipping the files a bit easier it prints a rune for rsyncing +the files to the test version on the distribution site. You can set +JPCTB_PUBLISH_BASE and ..._DIR to control the exact output. - JAVA_HOME=/usr/lib/jvm/java-6-sun ant -f PCTB.xml +If you want to clean out the build directory to make sure you get a +rebuild from scratch, say + git-clean -x -f -d Bugs