comparison contrib/installer/example/RunExample.bat @ 324:5e7e6d99f997

Make mapserver install location version independent * src/java/de/intevation/mxd/writer/MapScriptWriter.java, mxd/connections/SDE/sde_areas.txt, contrib/installer/bin/ms_6.1-dev/Readme.txt, contrib/installer/bin/MXD2map-Shell.bat, INSTALL.txt HowTo-Release.txt: Make mapserver install location version independent s/ms-6.1-dev/mapserver/g
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 15 Oct 2012 09:02:01 +0000
parents c023b4978663
children
comparison
equal deleted inserted replaced
323:4051c39757db 324:5e7e6d99f997
19 @echo MXD2mapShell hideoci 19 @echo MXD2mapShell hideoci
20 goto setenv2 20 goto setenv2
21 21
22 :hideoci 22 :hideoci
23 @echo Hiding the OCI plugin library. 23 @echo Hiding the OCI plugin library.
24 if not exist %CD%\ms_6.1-dev\bin\gdal\plugins-optional mkdir %CD%\ms_6.1-dev\bin\gdal\plugins-optional 24 if not exist %CD%\mapserver\bin\gdal\plugins-optional mkdir %CD%\mapserver\bin\gdal\plugins-optional
25 if exist %CD%\ms_6.1-dev\bin\gdal\plugins\ogr_OCI.dll move %CD%\ms_6.1-dev\bin\gdal\plugins\ogr_OCI.dll %CD%\ms_6.1-dev\bin\gdal\plugins-optional\ogr_OCI.dll 25 if exist %CD%\mapserver\bin\gdal\plugins\ogr_OCI.dll move %CD%\mapserver\bin\gdal\plugins\ogr_OCI.dll %CD%\mapserver\bin\gdal\plugins-optional\ogr_OCI.dll
26 if exist %CD%\ms_6.1-dev\bin\gdal\plugins\gdal_GEOR.dll move %CD%\ms_6.1-dev\bin\gdal\plugins\gdal_GEOR.dll %CD%\ms_6.1-dev\bin\gdal\plugins-optional\gdal_GEOR.dll 26 if exist %CD%\mapserver\bin\gdal\plugins\gdal_GEOR.dll move %CD%\mapserver\bin\gdal\plugins\gdal_GEOR.dll %CD%\mapserver\bin\gdal\plugins-optional\gdal_GEOR.dll
27 27
28 REM SEE Details about the installation of arcobjects.jar!! 28 REM SEE Details about the installation of arcobjects.jar!!
29 REM http://forums.arcgis.com/threads/17398-Unable-to-initialize-ArcObjects-environment-%28Java-API%29 29 REM http://forums.arcgis.com/threads/17398-Unable-to-initialize-ArcObjects-environment-%28Java-API%29
30 REM http://forums.arcgis.com/threads/12833-ArcGIS-Server-initialize-license-%28Java-version%29 30 REM http://forums.arcgis.com/threads/12833-ArcGIS-Server-initialize-license-%28Java-version%29
31 REM SEE Details about the installation of arcobjects.jar!! 31 REM SEE Details about the installation of arcobjects.jar!!
32 :setenv2 32 :setenv2
33 SET PATH=C:\Program Files\ArcGIS\DeveloperKit10.0\java\jre\bin;C:\Program Files\Java\jdk1.6.0_26\bin;C:\Program Files\ArcGIS\Desktop10.0\bin;C:\Program Files\ArcGIS\Desktop10.0\java\lib;C:\Program Files\ArcGIS\DeveloperKit10.0\java\tools\ant\bin;%CD%\ms_6.1-dev\bin;%CD%\ms_6.1-dev\bin\gdal\python\osgeo;%CD%\ms_6.1-dev\bin\proj\apps;%CD%\ms_6.1-dev\bin\gdal\apps;%CD%\ms_6.1-dev\bin\ms\apps;%CD%\ms_6.1-dev\bin\gdal\csharp;%CD%\ms_6.1-dev\bin\ms\csharp;%CD%\ms_6.1-dev\bin\curl;%CD%\ms_6.1-dev\bin\ms\java;%PATH% 33 SET PATH=C:\Program Files\ArcGIS\DeveloperKit10.0\java\jre\bin;C:\Program Files\Java\jdk1.6.0_26\bin;C:\Program Files\ArcGIS\Desktop10.0\bin;C:\Program Files\ArcGIS\Desktop10.0\java\lib;C:\Program Files\ArcGIS\DeveloperKit10.0\java\tools\ant\bin;%CD%\mapserver\bin;%CD%\mapserver\bin\gdal\python\osgeo;%CD%\mapserver\bin\proj\apps;%CD%\mapserver\bin\gdal\apps;%CD%\mapserver\bin\ms\apps;%CD%\mapserver\bin\gdal\csharp;%CD%\mapserver\bin\ms\csharp;%CD%\mapserver\bin\curl;%CD%\mapserver\bin\ms\java;%PATH%
34 SET GDAL_DATA=%CD%\ms_6.1-dev\bin\gdal-data 34 SET GDAL_DATA=%CD%\mapserver\bin\gdal-data
35 SET GDAL_DRIVER_PATH=%CD%\ms_6.1-dev\bin\gdal\plugins 35 SET GDAL_DRIVER_PATH=%CD%\mapserver\bin\gdal\plugins
36 SET PYTHONPATH=%CD%\ms_6.1-dev\bin\gdal\python\osgeo 36 SET PYTHONPATH=%CD%\mapserver\bin\gdal\python\osgeo
37 SET PROJ_LIB=%CD%\bin\proj\SHARE 37 SET PROJ_LIB=%CD%\bin\proj\SHARE
38 SET CURL_CA_BUNDLE=C:\ms4w\Apache\conf\ca-bundle\cacert.pem 38 SET CURL_CA_BUNDLE=C:\ms4w\Apache\conf\ca-bundle\cacert.pem
39 SET JAVA_HOME=C:\Program Files\Java\jdk1.6.0_26 39 SET JAVA_HOME=C:\Program Files\Java\jdk1.6.0_26
40 40
41 java -jar mxd2map.jar -m example\example.mxd -t example\template.map -a "%HOMEDRIVE%%HOMEPATH%\MXD2map\example\output.map" 41 java -jar mxd2map.jar -m example\example.mxd -t example\template.map -a "%HOMEDRIVE%%HOMEPATH%\MXD2map\example\output.map"
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)