...
- /build.properties: tell the application where and how to install.
- /properties/config.properties: configure the application runtime.
- /properties/logging/log4j.properties: configure the logs of the backend.
- /properties/logging/log4j-batch.properties: configure the logs of the batch commands.
The folder tmpDir set in /properties/config.properties should be writable by the CUPS user (usually lp) as it used by esup-cupsbackend to store the states of the queues. The folder that contains the logs (see /properties/logging/log4j.properties) should also be writable by the CUPS user (the folder and not just the file, to allow log4j rotations).
Deploy
Simply run:
No Format |
---|
ant deploy |
...
Available models are hp, lexmark, xerox, toshiba, dell, jetdirectNoAccounting, jetdirectGenericSnmpAccounting, jetdirectGenericSnmpAccountingPjlInfo (have a look at /properties/domain/domain.xml to add your own models).
Options :
- socketPort=<socket_port> (jetdirect printers only)
- lpdPort=<lpd_port> (LPD printers only)
- lpdPath=<lpd_path> (LPD printers only)
- ippPort=<ipp_port> (IPP printers only)
- ippPath=<ipp_path> (IPP printers only)
- pjlPort=<pjl_port> (PJL printers only)
Upgrades
Download the latest version of your package and install beside your previous installation at the same filesystem level (/usr/local/src/esup-cupsbackend in our example).
...