source: osm/applications/editors/josm/nsis/josm-setup.sh@ 5164

Last change on this file since 5164 was 5120, checked in by ulf, 17 years ago

comment out osmarender:

  • needs Firefox which is not available on all Windows machines
  • pictures are often ugly, as SVG clippings don't work well
File size: 1.6 KB
Line 
1#!/bin/sh
2
3## settings ##
4
5VERSION=latest
6
7PROGRAM_FILES="/cygdrive/c/Program Files"
8
9LAUNCH4J_XML="C:\Dokumente und Einstellungen\ulfl\Eigene Dateien\svn.openstreetmap.org\applications\editors\josm\nsis\launch4j.xml"
10
11
12### download required files ###
13mkdir -p downloads
14cd downloads
15
16# get latest josm version (and license)
17wget -N http://josm.openstreetmap.de/download/josm-latest.jar
18wget -N http://josm.openstreetmap.de/browser/trunk/LICENSE?format=raw
19cp LICENSE?format=raw LICENSE
20
21# get latest plugin (and supporting files) versions
22#cp ../../plugins/annotation-tester/annotation-tester.jar .
23#wget -N http://josm.openstreetmap.de/download/plugins/tagging-preset-tester.jar
24cp ../../plugins/mappaint/mappaint.jar .
25# wget -N http://svn.openstreetmap.org/applications/editors/josm/plugins/mappaint/mappaint.jar
26cp ../../plugins/namefinder/namefinder.jar .
27# wget --N http://svn.openstreetmap.org/applications/editors/josm/plugins/namefinder/namefinder.jar
28#cp ../../plugins/osmarender/osmarender.jar .
29#wget -N http://josm.openstreetmap.de/download/plugins/osmarender.jar
30cp ../../plugins/validator/validator.jar .
31#wget -N http://personales.ya.com/osmfrsantos/validator/latest/validator.jar
32#cp ../../plugins/wmsplugin/wmsplugin.jar .
33wget -N http://chippy2005.googlepages.com/wmsplugin.jar
34
35cd ..
36
37### convert jar to exe ###
38# (makes attaching to file extensions a lot easier)
39# launch4j - http://launch4j.sourceforge.net/
40"$PROGRAM_FILES/Launch4j/launch4jc.exe" "$LAUNCH4J_XML"
41
42### create the installer exe ###
43# NSIS - http://nsis.sourceforge.net/Main_Page
44"$PROGRAM_FILES/nsis/makensis.exe" /DVERSION=$VERSION josm.nsi
Note: See TracBrowser for help on using the repository browser.