previous next trail start tutorial home feedback openwings.org

The findclass command

If you know a class name but can't find the Jar file that contains it, use the findclass command.  You can specify a directory on the local file system to be searched.  Findclass searches the specified directory and any subdirectories, looking in every Jar file it encounters for the class name you typed. If no directory is specified, the current directory will be searched (you can change the current directory with the lcd command).

Syntax: findclass [<directory>] <class name>

To find a class anywhere in Openwings or in the installed components, specify the location of OW_HOME as your search directory.

Example:

Openwings@root\> findclass ..\lib UniqueIDFactory

Searching C:\openwings\openwings-1.0\bin\..\lib for UniqueIDFactory>
  jar: C:\openwings\openwings-1.0\bin\..\lib\ow_identity.jar
    entry: net/openwings/identity/UniqueIDFactory.class
  jar: C:\openwings\openwings-1.0\bin\..\lib\ow_openwings.jar
    entry: net/openwings/identity/UniqueIDFactory.class

Next: The quit command

back to top

© Copyright 2002, General Dynamics Decision Systems. All rights reserved.

previous next trail start tutorial home feedback openwings.org