-
Notifications
You must be signed in to change notification settings - Fork 1
Creating a Runway Metadata Patch
rrowlands edited this page Feb 7, 2018
·
5 revisions
- Rebuild your runway database by using the [clean-gen,rebuild-database] launch in runwaysdk-test
- Run the [new-schema] launch to create a new timestamped XML file in runwaysdk-test/src/main/domain
- Import the schema file by running the [clean-gen,import-schema-diff] launch in runwaysdk-test.
- A SQL diff file will be created in runwaysdk-test/src/main/domain/ddl
- Open the SQL diff file and delete the first line, which modifies the dynamic_properties table. Because this task redirects standard out into this file, there may also be standard out lines in this file. Delete them.
- Move the sql file into src/main/domain/archive/sql, and move the xml file into src/main/domain/archive/xml.
- Copy the sql file into runwaysdk-server/src/main/resources/domain.
- Commit the files. DO NOT rebuild metadata.xml.
- You can test this in Geoprism by simply running the Geoprism patcher. It will read the new sql file from the classpath.
TODO