我一直在尝试找到一个“不错的”报告工具(引擎?)来覆盖游戏框架。在探索了几个选项之后,我决定尝试 BIRT ......
不幸的是,我发现它不可能在依赖级别上集成到 Play 中!
我在 /lib 目录中添加了所有 BIRT jars(取自 eclipse 插件文件夹),编译,eclipsified(并看到 .classpath 被注入了 jars)。
但是当我尝试导入说:“org.eclipse.birt.core.*”时,我得到:
[info] Loading project definition from D:\dev\Play\reporting\project
[info] Set current project to reporting (in build file:/D:/dev/Play/reporting/)
[info] About to create Eclipse project files for your project(s).
[info] Compiling 1 Java source to D:\dev\Play\reporting\target\scala-2.9.1\classes...
[error] D:\dev\Play\reporting\app\controllers\Application.java:8: package org.eclipse.birt.core does not exist
[error] import org.eclipse.birt.core.*;
[error] ^
[error] 1 error
[error] {file:/D:/dev/Play/reporting/}reporting/compile:compile: javac returned nonzero exit code
[error] Could not create Eclipse project files:
[error] Error evaluating task 'dependency-classpath': error
另一方面,尝试了另一个罐子......就像谷歌的收集,它工作......
我究竟做错了什么 ?