File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 77#
88
99#
10- # Run a WorldWind Demo
10+ # Default to the ApplicationTemplate example if no arguments are provided
1111#
12+ if [ $# -lt 1 ]
13+ then
14+ WWDEMO=gov.nasa.worldwindx.examples.ApplicationTemplate
15+ else
16+ WWDEMO=$*
17+ fi
1218
13- echo Running $1
14- java -Xmx1024m -classpath ./worldwind.jar:./worldwindx.jar:./gdal.jar:./jogl-all.jar:./gluegen-rt.jar $*
19+ #
20+ # Run a WorldWind Demo
21+ #
22+ echo Running $WWDEMO
23+ java -Xmx1024m -classpath " ./worldwind.jar;./worldwindx.jar;./gdal.jar;./jogl-all.jar;./gluegen-rt.jar" $WWDEMO
Original file line number Diff line number Diff line change 1+ @ echo off
12REM Copyright (C) 2012 United States Government as represented by the Administrator of the
23REM National Aeronautics and Space Administration.
34REM All Rights Reserved.
45
5- REM Run a WorldWind Demo
6+ REM Default to the ApplicationTemplate example if a class name is not provided
7+ IF " %1 " == " " (SET WWDEMO=gov.nasa.worldwindx.examples.ApplicationTemplate) ELSE (SET WWDEMO=%* )
68
7- @ echo Running %1
8- java -Xmx1024m -Dsun.java2d.noddraw=true -classpath .\worldwind.jar;.\worldwindx.jar;.\gdal.jar;.\jogl-all.jar;.\gluegen-rt.jar %*
9+ REM Run a WorldWind Demo
10+ @ echo Running %WWDEMO%
11+ java -Xmx1024m -Dsun.java2d.noddraw=true -classpath .\worldwind.jar;.\worldwindx.jar;.\gdal.jar;.\jogl-all.jar;.\gluegen-rt.jar %WWDEMO%
You can’t perform that action at this time.
0 commit comments