Default output to repository is impractical when you prefer storing to filesystem, e.g. to /var/local/reports/ directory. You can achieve that by editing following files:
in file scripts/scheduler/model/jobModel.js on two places change this one line:
saveToRepository: false,
to these two lines:
saveToRepository: false,
outputLocalFolder: "/var/local/reports/",
and in files:
optimized-scripts/scheduler/model/jobModel.js
optimized-scripts/scheduler/schedulerMain.js
change all occurences of this:
saveToRepository:!0
to this:
saveToRepository:0,outputLocalFolder:"/var/local/reports/"
and enjoy desired behaviour. JasperServer needs to have write permission to specified folder.
Prihlásiť na odber:
Zverejniť komentáre (Atom)
Žiadne komentáre:
Zverejnenie komentára