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 7
7
#
8
8
9
9
#
10
- # Run a WorldWind Demo
10
+ # Default to the ApplicationTemplate example if no arguments are provided
11
11
#
12
+ if [ $# -lt 1 ]
13
+ then
14
+ WWDEMO=gov.nasa.worldwindx.examples.ApplicationTemplate
15
+ else
16
+ WWDEMO=$*
17
+ fi
12
18
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
1
2
REM Copyright (C) 2012 United States Government as represented by the Administrator of the
2
3
REM National Aeronautics and Space Administration.
3
4
REM All Rights Reserved.
4
5
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=%* )
6
8
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