Changeset 7839 in josm


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

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r7837 r7839  
    177177            <param name="bundle.jar" value="dist/josm-custom.jar"/>
    178178        </antcall>
     179    </target>
     180    <!-- Windows target -->
     181    <target name="distwin" depends="dist">
     182        <exec dir="windows" executable="josm-setup-unix.sh">
     183            <arg value="${version.entry.commit.revision}"/>
     184            <arg value="../dist/josm-custom.jar"/>
     185        </exec>
    179186    </target>
    180187    <target name="javacc" depends="init" unless="javacc.notRequired">
  • 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.