Changeset 7839 in josm for trunk/windows


Ignore:
Timestamp:
2014-12-19T21:15:28+01:00 (5 years ago)
Author:
Don-vip
Message:

update Windows installer build script + make new target in build.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/windows/josm-setup-unix.sh

    r7838 r7839  
    1010#
    1111# Then download launch4j from http://launch4j.sourceforge.net/
    12 # wget http://softlayer-ams.dl.sourceforge.net/project/launch4j/launch4j-3/3.4/launch4j-3.4-linux.tgz
     12# wget http://softlayer-ams.dl.sourceforge.net/project/launch4j/launch4j-3/3.5/launch4j-3.5-linux.tgz
    1313# and unpack it to /usr/share/launch4j
    1414
     
    4242echo Using NSIS: $MAKENSIS
    4343
    44 if [ -n "$1" ]; then
     44if [ -n "$2" ]; then
     45  # 2 arguments: for Ant build.xml and Jenkins CI
     46  export VERSION=$1
     47  export JOSM_BUILD="no"
     48  export WEBKIT_DOWNLAD="yes"
     49  export JOSM_FILE=$2
     50elif [ -n "$1" ]; then
     51  # 1 argument: for official JOSM server
    4552  export VERSION=$1
    4653  export JOSM_BUILD="no"
     
    4855  export JOSM_FILE="/home/josm/www/download/josm-tested.jar"
    4956else
    50   svncorerevision=`svnversion -n ../core`
    51   #svnpluginsrevision=`svnversion -n ../plugins`
     57  # no argument: for everyone else
     58  svncorerevision=`svnversion -n ..`
     59  #svnpluginsrevision=`svnversion -n ../../plugins`
    5260  #svnrevision="$svncorerevision-$svnpluginsrevision"
    5361
Note: See TracChangeset for help on using the changeset viewer.