IreportServer 将本地文件夹绑定到报表服务器
这就是我想做的。我收集了大量的 jasper 报告,已编译完毕并准备就绪。 现在我已经在我的开发机器上设置了 jasperserver。我想知道是否有一种简单的方法可以将我的本地报告与 jasperserver 联系起来。因此,如果我执行 hg pull 并更新,它们将自动在 jasperserver 上更新。这可能吗?我已经看到您可以导入和导出,但这看起来不是一个理想的解决方案。
Here is what I want to do. I have a large collection of jasper reports, compiled and ready to go.
Now I have setup jasperserver on my dev machine. And I want to know if there is an easy way to tie my local reports to jasperserver. So if I do an hg pull and update they will automagically get updated on jasperserver. Is this possible? I have seen you can import and export but that looks like a less than Ideal solution.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
JasperReports Server(以前称为 JasperServer)旨在处理 .jrxml 文件,而不是 .jasper 文件。它自动将 jrxml 编译成 jaspers。
没有像您所描述的那样自动上传大量报告的方法。但有网络服务可用于上传报告。因此,您可以创建一个作业,使用这些 Web 服务来根据需要上传报告。最终结果应该正是您想要的,但需要一些编码。 Web 服务文档随服务器一起提供。
JasperReports Server (formerly known as JasperServer) is designed to handle .jrxml files, not .jasper files. It compiles the jrxmls into jaspers automatically.
There's no automated way to upload a bunch of reports like you're describing. But there are web services available to upload reports. So you could create a job that uses these web services to upload your reports however you want. The end result should be exactly what you want, but it will take some coding. The web services documentation ships with the server.