BuildingPRSPlus - natowi/prs-plus GitHub Wiki

Instructions for versions 2.0.0+

  1. install Java
  2. download/install ant
  3. install mercurial
  4. checkout default repository: hg clone https://prs-plus.googlecode.com/hg/ . if you want the latest version or (recommended way ;)) hg clone -r <revision> https://prs-plus.googlecode.com/hg/ .
  5. change any files you want
  6. rename prsp.properties.sample to prsp.properties and edit it's content. You have to choose eBook model and give a name to your release.
  7. start ant in "build" subfolder. Installer will be created in build/dist.

Instructions for versions earlier than 2.0.0

  1. install Java
  2. download/install ant
  3. install mercurial
  4. checkout "build" repository: hg clone https://build.prs-plus.googlecode.com/hg/ . if you want the latest version or (recommended way ;)) hg clone -r <revision> https://build.prs-plus.googlecode.com/hg/ .
  5. rename prsp.properties.sample to prsp.properties and edit it's content. Note that "tip" is synonym to "the most actual revision"
  6. start ant in folder containing build.xml

Modifying files

If you want to modify some files you could:

  1. execute command: ant download
  2. modify files in tmp subfolder
  3. execute command: ant dobuild

PRS+ Installer corresponding to the versions you've selected in prsp.properties will be created in "dist" subfolder.

prsp.properties file

  • FW_VER => PRS+ firwmare revision to be extracted from repository
  • SC_VER => PRS+ script revision to be extracted from repository
  • PRSP_VER => just a name (actually free text) that will be given to the current installation
  • INSTALLER_VER => installer script revision to be extracted from repository

Notes

Current version of the build script works only on Windows platform.

Normally all revisions (FW_VER, SC_VER, INSTALLER_VER as well as checked out build revision) should match.

⚠️ **GitHub.com Fallback** ⚠️