source: osm/applications/nsis/openstreetmap-setup.sh@ 2855

Last change on this file since 2855 was 2855, checked in by ulf, 18 years ago

fix mappaint URL

File size: 1.3 KB
Line 
1#!/bin/sh
2
3## settings ##
4
5VERSION=0.0.6
6
7PROGRAM_FILES="/cygdrive/c/Program Files"
8
9LAUNCH4J_XML="C:\Dokumente und Einstellungen\ulfl\Eigene Dateien\proj\gps\osm\svn.openstreetmap.org\applications\nsis\launch4j.xml"
10
11
12### download required files ###
13mkdir -p downloads
14cd downloads
15
16# get latest josm version (and license)
17wget -nc http://josm.eigenheimstrasse.de/download/josm-latest.jar
18wget -nc http://josm.eigenheimstrasse.de/browser/LICENSE?format=raw
19cp LICENSE?format=raw LICENSE
20
21# get latest plugin (and supporting files) versions
22wget -nc http://svn.openstreetmap.org/applications/editors/josm/plugins/mappaint/mappaint.jar
23# wget -nc http://www.free-map.org.uk/downloads/josm/mappaint.jar
24# wget -nc http://www.free-map.org.uk/downloads/josm/elemstyles.xml
25wget -nc http://www.eigenheimstrasse.de/josm/plugins/osmarender.jar
26wget -nc http://www.eigenheimstrasse.de/josm/plugins/annotation-tester.jar
27wget -nc http://chippy2005.googlepages.com/wmsplugin.jar
28
29cd ..
30
31### convert jar to exe ###
32# (makes attaching to file extensions a lot easier)
33# launch4j - http://launch4j.sourceforge.net/
34"$PROGRAM_FILES/Launch4j/launch4jc.exe" "$LAUNCH4J_XML"
35
36### create the installer exe ###
37# NSIS - http://nsis.sourceforge.net/Main_Page
38"$PROGRAM_FILES/nsis/makensis.exe" /DVERSION=$VERSION openstreetmap.nsi
Note: See TracBrowser for help on using the repository browser.