Changes between Version 1 and Version 2 of DevelopersGuide/CreateBuild
- Timestamp:
- 2009-11-01T09:20:20+01:00 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopersGuide/CreateBuild
v1 v2 15 15 }}} 16 16 17 == Creat e abuild ==17 == Creating a custom build == 18 18 To create a build run 19 19 {{{ … … 24 24 This will create {{{josm-custom.jar}}} in the directory {{{./dist}}}. 25 25 26 == The standardREVISION file ==26 === The REVISION file === 27 27 If you build JOSM with JOSMs {{{build.xml}}} the distribution includes a file {{{REVISION}}}. {{{REVISION}}} is a collection of name/value-pairs, formatted in RFC822-style (i.e. {{{name: value}}}). 28 28 … … 31 31 ||Is-Local-Build||{{{true}}}. Indicates that this build isn't an "offical" release provided by josm.openstreetmap.de|| 32 32 33 == Adding custom release information == 33 === Adding custom release information === 34 34 If you maintain a specific JOSM distribution (i.e. for Ubuntu or any other Linux flavor) you may want to modify the {{{REVISION}}} file. 35 35 36 Update the ant target {{{create-revision}}} in {{{build.xml}}} foryour needs:36 Update the ant target {{{create-revision}}} in {{{build.xml}}} according to your needs: 37 37 {{{ 38 38 <echo file="${build.dir}/REVISION"> … … 46 46 Please '''always''' include an attribute {{{Revision}}}. Otherwise, JOSM may fail to detect dependencies to particular versions of plugins. 47 47 48 == Creating a standard build == 49 The scripts to create an "official" JOSM build (i.e. one of the builds published on http://josm.openstreetmap.de as {{{tested}}} or {{{latest}}}) are not publicly available. Please get in touch with stoeckr if you need more information. 48 50 51 === The REVISION file === 52 Currently, the build build procedures for a standard build generates a {{{REVISION}}} file too. Here's an example from one of the more recent JOSM builds: 53 {{{ 54 Path: trunk 55 URL: http://josm.openstreetmap.de/svn/trunk 56 Repository Root: http://josm.openstreetmap.de/svn 57 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b 58 Revision: 2255 59 Node Kind: directory 60 Last Changed Author: Gubaer 61 Last Changed Rev: 2255 62 Last Changed Date: 2009-10-07 21:25:15 +0200 (Wed, 07 Oct 2009) 63 }}} 64 65 * the '''absence''' of {{{Is-Local-Build}}} indicates that this is an "official" build 66 * note that {{{Revision}}} again denotes the SVN revision 67 68
