tree: 2260b4d23ecac88d419a1f379f2b913470a85932 [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
gui-editors/gui-editor-apex/README.md

Apex Editor

Compiling and running

As Apex Editor is a Spring Boot application, it may be compiled and run using:

mvn spring-boot:run

Alternatively, you may build and run a jar:

mvn clean install
java -jar target/gui-editor-apex-2.2.1-SNAPSHOT-exec.jar

Once started, navigate to http://localhost:8080/.

There are some sample models in src/test/resources/models

Build artifacts

Note maven produces two jars:

  • a regular jar that we can include in other modules: gui-editor-apex-VERSION.jar
  • an executable spring boot jar with the suffix 'exec': gui-editor-apex-VERSION-exec.jar

Setting upload URL and user ID

There are two Spring properties for Apex Editor:

  • apex-editor.upload-url sets the URL for the model upload feature.
  • apex-editor.upload-userid sets the default userId for uploads.

These may be set in a Spring properties file:

server.port=18989
apex-editor.upload-url=http://localhost:12345
apex-editor.upload-userid=DefaultUser

Overriding upload user ID at runtime

To override the upload userId for your session, append ?userId=YourId to the URL, e.g. http://localhost:18989/?userId=MyUser