Skip to content.
CCB > CCBSIGS > ShapeToolLibraryProgram > ShapeViewer > ShapeViewerCommandLine
Command line arguments to ShapeViewer

Argument Required Default Value Description Notes
-help no n/a Prints command line usage summary to console.  
-files file1 file2 ... file_n no n/a displays listed shape file(s)  
-filelist filelist no n/a displays files listed in a file named 'filelist' expects 1 file name per line
-directory directory no n/a display all files in a directory  
-scene scene_file no n/a recreate a scene saved in a scene file  
-verbose no n/a shows detailed information about the program's operations  
-version no n/a print version number of program  
-server no n/a Starts the ShapeViewer in 'server' mode  
-port no 1099 selects a port to which clients will initially connect to request an export port. requires '-server' option
-exportPort exportPortNum no n/a selects the port used to communicate with a client requires '-server' option
-codebase url no http://www.loni.ucla.edu/~librarian/shapetools/ShapeViewer.jar URL of an RMI codebase matching this application. requires '-server' option
-host no localhost sets IP address of the controlling ShapeViewer server requires '-client' option
-hostPort hostPortNum no n/a port of server to initially contact. requires '-client' option
-callbackPort no callbackPort A port unobstructed by a firewall Server will communicate to client via this port.
-nocallback no n/a Indicates client is shielded from internet by an impenetrable firewall A slower method of communicating with the server is used.
-updateRate seconds no 4 Delay, in seconds, between client requests to server for a status update. Requires '-nocallback' option.
-console no n/a enables writing of detailed status messages to the Console