fop4apex/README.md
2023-01-16 14:59:48 +01:00

1.5 KiB

fop4apex Quality Gate StatusTechnical Debt

Servlet for Oracle APEX to run PDF Reports based on Apache FOP

Fahrdienst-Anwendung / Kostenblatt

Run tests

mvn test

Build

mvn package verify

Upgrade

  • set new version in pom.xml
  • check dependent libraries for updates
  • run tests and build

Release

  • create a tag with version number
  • create a github release

Installation

  • rename target/fop4apex*.war to fop4apex.war
  • copy fop4apex.war to tomcat webapps folder
  • Oracle APEX - Sample Settings
    • PrintServer External (Apache FOP)
    • Protocol HTTP / HTTPS
    • Host 127.0.0.1
    • Port 8080
    • Script: /fop4apex/pdf
    • Timeout 300

Debugging

Add to Tomcat logging.properties:

org.apache.tomcat.util.http.Parameters.level = ALL
de.pdv.apex.level = ALL

Deploy to tomcat 9.x (IntelliJ / Netbeans)

Run http://localhost:port/

Example: