Changes between Version 1 and Version 2 of DevelopersGuide/CreateBuild


Ignore:
Timestamp:
Nov 1, 2009 9:20:20 AM (4 years ago)
Author:
Gubaer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/CreateBuild

    v1 v2  
    1515}}} 
    1616 
    17 == Create a build ==  
     17== Creating a custom build ==  
    1818To create a build run  
    1919{{{ 
     
    2424This will create {{{josm-custom.jar}}} in the directory {{{./dist}}}. 
    2525 
    26 == The standard REVISION file ==  
     26=== The REVISION file === 
    2727If 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}}}). 
    2828 
     
    3131||Is-Local-Build||{{{true}}}. Indicates that this build isn't an "offical" release provided by josm.openstreetmap.de|| 
    3232 
    33 == Adding custom release information ==  
     33=== Adding custom release information === 
    3434If you maintain a specific JOSM distribution (i.e. for Ubuntu or any other Linux flavor) you may want to modify the {{{REVISION}}} file. 
    3535 
    36 Update the ant target {{{create-revision}}} in {{{build.xml}}} for your needs: 
     36Update the ant target {{{create-revision}}} in {{{build.xml}}} according to your needs: 
    3737{{{ 
    3838<echo file="${build.dir}/REVISION"> 
     
    4646Please '''always''' include an attribute {{{Revision}}}. Otherwise, JOSM may fail to detect dependencies to particular versions of plugins.  
    4747 
     48== Creating a standard build == 
     49The 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.  
    4850 
     51=== The REVISION file === 
     52Currently, 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{{{ 
     54Path: trunk 
     55URL: http://josm.openstreetmap.de/svn/trunk 
     56Repository Root: http://josm.openstreetmap.de/svn 
     57Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b 
     58Revision: 2255 
     59Node Kind: directory 
     60Last Changed Author: Gubaer 
     61Last Changed Rev: 2255 
     62Last 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