Geoportal Project from Compiled WAR
Pages 202
- Home
- 2009 Esri Federal UC
- 2009 Esri International UC
- 2010 Esri Federal UC
- 2010 Esri International UC
- 2011 Esri Federal UC
- 2012 Esri Federal UC
- 2013 Esri Federal GIS Conference
- 2013 Esri International User Conference
- 2015 SDI Special Interest Group
- Add a Custom Profile
- Add an OpenSearch endpoint for Federated Search
- Add Another Tab to the Geoportal Interface
- Add Custom Link to a Search Result
- Add Custom Search Criteria
- Add the Geoportal Search to a List of Search Providers
- Add v1.1.1 FGDC editor to a previous Geoportal release
- AGP TO AGP Harvesting with the Geoportal
- AGS TO AGP Harvesting with the Geoportal
- All gpt.xml file settings
- An Introduction to vi
- Apache Tomcat geoportal logging
- Being a Good Robot
- Best Practice for Edits to JSP files
- Biological or Remote Sensing FGDC xsds
- Browse Tree
- Cart Processor
- Catalog Service
- Clear the Tomcat Work Folder
- Collections
- Common problems and solutions
- Communities and live examples
- Components
- Configure a Directory Server for the Geoportal
- Configure geoportal User and Schema in the PostgreSQL Database
- Configure Previewable Filetypes
- Configure Searching of YouTube
- Configure the gpt.xml File
- Configure Widgets
- Connecting to a User Directory
- Create a user account
- Create Relationships between Resources
- Customizations
- Customize DCAT output
- Customize Metadata Validation
- Database problems
- Database Tables
- DataDownload Tab
- Deploy and Configure the Geoportal Web Application in Tomcat
- Deploy and Configure the Servlet Web Application
- Deploy the Geoportal Web Application
- Details of Lucene Indexing in the Geoportal
- Development topics
- Discovering Resources
- Eclipse Project from Compiled WAR
- Eclipse Project from Source Code
- Enable Search Using an Ontology Service
- Error Messages in the Geoportal Web Application
- Esri Geoportal Server LiveDVD
- Extending the Web Harvester
- Federated Search in Portal for ArcGIS
- Feedback
- FGDC Biological Profile and Remote Sensing Extension
- FGDC Service Checker Integration
- Geoportal Clients for ArcGIS
- Geoportal CSW Clients
- Geoportal Facets using Apache Solr
- Geoportal genie
- Geoportal Project from Compiled WAR
- Geoportal Publish Client
- Geoportal Server 1.2.5 What's New
- Geoportal Server 1.2.6 What's New
- Geoportal Server 1.2.7 What's New
- Geoportal server as a broker
- Geoportal Server Downloads
- Geoportal Server v 1.0 What's New
- Geoportal Server v 1.1 What's New
- Geoportal Server v 1.1.1 What's New
- Geoportal Server v 1.2 What's New
- Geoportal Server v 1.2.2 What's New
- Geoportal Server v 1.2.4 What's New
- Geoportal SPARQL Sample
- Geoportal User Interface Components
- Geoportal Web Application File Organization
- Geoportal XML Editor
- Get Assistance with an Implementation
- GXE Concepts
- GXE Crash Course
- GXE Structure
- GXE Workflow
- High Availability and Large Number of Records
- How to Browse for Resources
- How to Create and Manage My Profile
- How to find all documents of a particular metadata standard
- How to Leave a Resource Review
- How to Login and Manage my Password
- How to Manage and Edit Resources
- How to Publish Resources
- How to Restrict Access to Resources
- How to Search for Resources
- How to Search with an Ontology Service
- How to Set Up an Esri Geoportal Server on Linux
- How to Use Search Page Results
- How to Use the Data Download Feature
- How to View Resource Relationships
- IDE Topics
- Identity Components LDAP and Single Sign On
- Index All Metadata Content
- Indexing and Searching the Time Period of the Content
- Install Apache Tomcat 6
- Install Desktop Tools
- Install Esri Geoportal Server
- Install PostgreSQL 9.1.2
- Install the JDBC .jar Files
- Installation
- Installation Version 1.0
- Installation Version 1.1
- Installation Version 1.2
- Installation Version 1.2.2
- Installation Version 1.2.4
- Installation Version 1.2.5
- Installation Version 1.2.6
- Installation Version 1.2.7
- Installation Version 1.2.8
- Integrate with a Content Management System
- Integrate with the con terra Security Solution
- Localization
- Log In to the Geoportal
- Logging
- Look and Feel of the User Interface
- Main Page
- Map LDAP Attributes on the Registration Page
- Map Viewer
- Online form editing for all publication methods
- Open source acknowledgements
- Oracle WebLogic geoportal logging
- Orientation to the Create Metadata Page
- Perform Preinstallation Computer Setup
- Portal for ArcGIS Integration
- Post Deployment Actions
- Preinstallation
- Preinstallation 0.9
- Preinstallation 1.0 and 1.1.x
- Preinstallation 1.2
- Preinstallation 1.2.2
- Preinstallation 1.2.4
- Preinstallation 1.2.5
- Preinstallation 1.2.6
- Preinstallation 1.2.7
- Preinstallation 1.2.8
- Preview Function
- Publication Components
- Ratings and Comments for Search Results
- Register ArcGIS for Server with the Geoportal
- Release notes
- REST API Syntax
- Sample FGDC metadata.xml
- Scheduled tasks
- Search Components
- Search Map
- Search Widget for Flex
- Search Widget for HTML
- Search Widget for Silverlight
- Security Concepts
- Set Up Systemwide Environment Variables
- Set up the Geoportal Database
- Share Link
- Single Sign On
- Smoketest the Geoportal
- Standards Support
- Supported CSW Profiles for Synchronization
- Theme Library
- Troubleshooting
- Troubleshooting Tips
- Two geoportals on the same server
- Upgrade 1.x to 1.2 database
- Upgrading file system approach
- Upgrading Read This Overview
- Upgrading SVN approach
- Url filter customization
- Use an XSLT to Render the Details Page
- Use Ant to build Geoportal
- User Functions and Roles
- User Management Interface
- Using a geoportal
- Using Lucene Search Text Queries
- Version 0.9
- Version 1.0
- Version 1.1
- Version 1.1.1
- Version 1.2
- Version 1.2.2
- Version 1.2.4
- Version 1.2.5
- Version 1.2.6
- Version 1.2.7
- Version 1.2.8
- What is a geoportal and the geoportal server
- What is the esri geoportal server
- What's New
- wiki template
- WMC Client
- Show 187 more pages…
Clone this wiki locally
Introduction
Purpose: Create a Geoportal Server project in Eclipse from the geoportal.war distribution so that you can create an environment to edit and manage CUSTOM CONFIGURATION of your Geoportal Server implementation.
Intended Audience: Users who want a managed environment for making custom localization and configuration of their geoportal server.
- Benefits:
- no Java programming expertise
- only uses compiled distribution releases
- framework for testing configuration changes
- Prerequisites:
- You have downloaded and unzipped the Geoportal distribution files (available at https://github.com/Esri/geoportal-server/wiki/Geoportal-Server-Downloads)
- This example assumes you are using the Elipse Java EE IDE for Web Developers
Create Geoportal Server project in Eclipse
- Step 1. Create Workspace
- Eclipse uses a folder called a workspace to store project files. We are going to create one for storing your Geoportal Server project. Think about where you want to store your Geoportal Server project. Create a folder that you want to use for the workspace (e.g. ..\Documents\eclipse\workspaceGeoportalServer).
- Step 2. Tell Eclipse to use your workspace
- Start Eclipse.
- Go to the File menu
- Choose 'Switch Workspace' and then 'Other ...'
- In the dialog that opens, you need to select a workspace to use.
- Click the Browse button and navigate to and select the folder from Step 1 that you want to use
- Click OK
- Step 3. Import Geoportal WAR
- Go to the File menu
- Select 'Import...'
- (Import Select dialog opens)
- Choose 'Web', 'WAR file' in the Import Select dialog, and click 'Next'
- Next to 'WAR file:', click the Browse button and navigate/select geoportal.war from your unzipped distribution folder (under ../Web Applications/Geoportal)
- 'Web project:' should automatically get populated to 'geoportal'
- Select the 'Target runtime', or create a new target runtime (see link). Click Next
- On the WAR Import: Web libraries, make sure none of the web library jars are selected (Deselect All)
- Click Finish
Building your geoportal.war
When you are ready to build a new geoportal.war containing any custom configurations or custom JSP pages, you can simply:
- Right-click on 'geoportal' in the Project Explorer
- Select 'Export' and 'WAR file' from the context sensitive menu
- The WAR Export dialog will open and should display 'geoportal' as the Web project
- Click 'Browse' button and select a desination folder for your new geoportal.war
- Click the 'Save' button to complete the geoportal.war build and export
Where is my gpt.xml?
Once you have successfully imported the geoportal.war and created a geoportal project in Eclipse, you may be wondering where your configuration files have gone. The folder structure of the geoportal project will look different than the deployment folder structure.
The quick answer is the configuration files that are normally in the WEB-INF directory are now located in the Java Resources > src folder of the project. Expand 'Java Resources' in the Project Explorer window, then expand the 'src' folder. You will then find all the files that will end up getting deployed to WEB-INF/classes for your geoportal web app.
In Java Resources > src, the files are arranged in folders corresponding to the deployment path within WEB-INF/classes. For example, gpt.xml gets deployed to WEB-INF/classes/gpt/config will be found in the gpt.config folder of the src directory.
- Locations for other commonly accessed configuration files:
-
gpt.resourcesis in Java Resources > src > gpt.resources -
schemas.xmlis in Java Resources > src > gpt.metadata -
browse-catalog.xmlis in Java Resources > src > gpt.search.browse
-
Back to IDE Topics