Salvora can be configured at start-time using several command line options. More complex document collections, transformations and processes can be described using a mapping file.
The usual data, forms and xsltforms folders can be configured with the -d -f and -x options. The output port can be configured with -p (example: -p:8081). By default Salvora runs on the 8080 port. Also you can prevent connections from other computers with the -e:false flag.
Download and run the executable or Jar file in the desired folder. The following examples show you several configuration combinations:
- java -jar salvora-fat-<version>.jar (Params)*
- java -jar salvora-fat-<version>.jar -f:forms -x:xforms -p:8081
- java -jar salvora-fat-<version>.jar -p:8085 -e:true
Using the command line can be configured Salvora manages three folders with different functions:
- xsltforms [Read only Configurable] : Predefined xsltform folder, intended for storing and exposing the xsltforms distributions from www.agencexml.com/xsltforms.
- form [Read only Configurable] : Predefined folder for your form.
- data [Read + Write Configurable] : Predefined writeable data folder.
Once the server is started you can open a browser on http://localhos:8080/your_path and start browsing.
Example paths:
- http://localhos:8080/xsltforms/xsltforms.xslt
- http://localhos:8080/form/myform.xml
- http://194.12.45.68:8080/data/mydata.xml
Jump to content