Creating and Configuring Metadata Explorer requires running ANT,
which a utility that creates applications built with the Web ADF.
After you have run ANT, you can deploy the Metadata Explorer
application just like you would with a Web Mapping Application.
The steps for creating and configuring a Metadata Explorer
include:
- Execute ANT.
- Configure a Metadata Service.
- Configure a Gazetteer Service (optional).
- Configure a Search Map Service (optional).
- Deploy the application.
Execute ANT
- Linux and Unix: Source the file <Web ADF install
directory>/init_devkit_ims.csh or init_devkit_ims.sh.
- Open a console window.
- Navigate to the directory <Web ADF install
directory>/java/web/metadataexplorer_application.
On Windows an example is:
C:\Program Files\ArcGIS\java\web\metadataexplorer_application
On Linux and Unix, an example is:
<Web ADF install
directory>/java/web/metadataexplorer_application
- Run the ANT build command from the metadataexplorer_application
directory. You may need to reference the full path to the ANT batch
file. This file is located at <Web ADF install
directory>\java\tools\ant\bin\arcgisant.bat for Windows and
<Web ADF install directory>/java/tools/ant/bin/arcgisant for
Linux and Unix.
On Windows an example is:
"C:\Program Files\ ArcGIS\java\tools\ant\bin\arcgisant.bat"
build
On Linux and Unix an example is:
<prompt>: arcgisant build
Configure a Metadata Service
- Enter "2" to choose the ArcIMS Metadata Service for this
Metadata Explorer.
- Enter the server location where the Metadata Service resides.
- If you are connecting through your network using TCP, input the
server name.
- If you are connecting through HTTP, input the full URL.
- If you are using a TCP connection, input the ArcIMS Application
Server port number. The default value is 5300. Otherwise, add
nothing and press Enter.
- Input the Metadata Service name. The name is case sensitive.
- At the prompt asking if you want to add another resource, enter
"y" unless you do not plan to include a Gazetteer or Search Map
service. In this case, enter "n".
Configure a Gazetteer Service (optional)
The process for configuring a Gazetteer Service is the same as
for a Metadata Service. If you do not plan to include a Gazetter
Service, skip this section.
- Enter "2" to choose the ArcIMS Metadata Gazetteer Service.
- Enter the server location where the Gazetteer Service resides.
- If you are connecting through your network using TCP, input the
server name.
- If you are connecting through HTTP, input the full URL.
- If you are using a TCP connection, input the ArcIMS Application
Server port number. The default value is 5300. Otherwise, add
nothing and press Enter.
- Input the Gazetteer Service name. The name is case
sensitive.
- At the prompt asking if you want to add another resource, enter
"y" if you plan to include a Search Map. Otherwise, enter "n".
Configure a Search Map Service (optional)
The process for configuring a Search Map Service is the same as
for a Metadata or Gazetteer Service. You can use any Image or
ArcMap Image Service.
- Enter "6" to choose the service.
- Enter the server location where the service resides.
- If you are connecting through your network using TCP, input the
server name.
- If you are connecting through HTTP, input the full URL.
- If you are using a TCP connection, input the ArcIMS Application
Server port number. The default value is 5300. Otherwise, add
nothing and press Enter.
- Input the service name. The name is case sensitive.
- At the prompt asking if you want to add another resource, enter
"n" since you are done adding resources.
- The ANT script should now end. Check to make sure you get a
"Build Successful" message.
Deploy the application
Once you have completed running ANT, you now have an application
in the form of a .war file. The file is located in the build
directory under metadata_explorer.
This file can be deployed in your servlet engine or application
server. For more information on deploying your application, see
Deploying the application.