Publish customized development results

Feedback


After completing the back-end customized development of iPortal, you can publish the customized development results as follows:

Step 1: Open the cmd command line under the classes folder of the project directory (such as D:\SuperMap\eclipse-workspace\Custom_Portal) and enter the following command to package the development results:

jar cvf custom-api.jar ./com

Step 2: Copy custom-api.jar to %SuperMap iPortal_HOME%\webapps\iportal\WEB-INF\lib directory.

Step 3: Copy the Custom_Portal\resources\templates folder to the %SuperMap iPortal_HOME%\webapps\iportal\WEB-INF\classes directory.

Step 4: Copy Custom_Portal\WebContent\WEB-INF\config\extendPortalResources.xml to the %SuperMap iPortal_HOME%\webapps\iportal\WEB-INF\config directory.

Step 5: Start iPortal, then you can visit customized development results.