-
Notifications
You must be signed in to change notification settings - Fork 63
Setup Catalog in an IDE
Marten edited this page Apr 8, 2024
·
1 revision
Setup geoportal server catalog project within an IDE
In Progress
- JRE or JDK 8.x
- Apache NetBeans
- Apache Maven
- A Java Application Server such as Apache Tomcat
- Clone the github repository to a local destination
- Go to https://github.com/Esri/geoportal-server-catalog
- Copy github repository url (e.g. https://github.com/Esri/geoportal-server-catalog.git)
- Within NetBeans, go to menu Team > Git > Clone
- Paste the URL to the Repository URL field
- Enter github user and password
- Set the destination folder for the local repository
- Select which remote branch to be cloned > Next
- Click on "Finish" to clone the repository
- Build the project
- Right click on the "geoportal-server-catalog/geoportal/pom.xml" file > Run Maven
- Set "Goals" to "clean install"
- Click "Ok" to compile and build the harvester
- Add Apache Tomcat to the list of servers to be used if not already having one
- Go to Menu "Tools" > Servers > "Add Server..."
- Select "Apache Tomcat or TomEE"
- Choose the Tomcat Server instance location, enter username and password for the Tomcat administrator account created when installing Tomcat
- Click on "Finish" to add the server
- Recompile the project
- After all the edits are complete, recompile the entire project following steps in "Build the project" section above
- Retrieve the output (e.g. NetBeansProjects\geoportal-server-catalog\geoportal-application\geoportal\target\geoportal-2.7.1.1.war) for distribution/deployment/testing.