New to Ernie

7 views
Skip to first unread message

Ilango G

unread,
May 10, 2016, 10:52:17 AM5/10/16
to Ernie Report Generator Forum
Hi
I am new to Ernie. I stumbled across it, when I was looking for a way to embed the Birt engine into a Lift application.
What are some initial pointers that you have for me?

I have already visited the github site, Now I am trying to set it up. 

Thanks

mharnish

unread,
May 10, 2016, 12:45:12 PM5/10/16
to Ernie Report Generator Forum
Are you running into any specific problems?

Ilango G

unread,
May 10, 2016, 12:48:49 PM5/10/16
to Ernie Report Generator Forum
I have downloaded it and am in the process of setting up my workspace with it. I will report on what I find.
Hence, so far, I have no problems, 
Thanks

Ilango G

unread,
May 10, 2016, 1:24:05 PM5/10/16
to Ernie Report Generator Forum
I was inspecting the build.scala file and noticed "MavenBuild"
Also, in plugins.sbt, you have the Maven plugin.
So, the question is: Do I have to have the SBT-Maven plugin for me to be able to build the project?
I have not done "sbt compile" yet


thanks

Ilango G

unread,
May 10, 2016, 1:46:55 PM5/10/16
to Ernie Report Generator Forum
Edit:

I kept everything in place, with the exception of Scala version which I upped to 2.10.4
I ran into a unresolved dependency sbt.ResolveException \ com.github.shivawu#maven-plugin; 0.1.2 not found

Where can I find an updated version of that plugin

mharnish

unread,
May 10, 2016, 1:58:19 PM5/10/16
to Ernie Report Generator Forum
Forgive me - my memory is a bit foggy here: I haven't been inside the Ernie code base in several years. If memory serves: when we first build Ernie, we'd not fully converted to sbt from Maven, so the build was first created and Maven, and sbt support was added as an afterthought. I believe that support requires the SBT-Maven plugin, and there seem to be some unresolved dependencies there. I'm not sure where to find that plugin it.

Refreshing Ernie to use new versions of the JDK (it requires Java 7, which is now out of support), Scala, and Lift - not to mention converting the build to a native SBT build - is long overdue. Unfortunately, I haven't had the time to perform the refresh that is so sorely needed.

Ilango G

unread,
May 10, 2016, 2:07:27 PM5/10/16
to Ernie Report Generator Forum
I will try to google the latest SBT-Maven plugin. 
If that goes well, I will try to gradually refresh Ernie with newer versions of Scala, Lift,JDK, Jetty, etc..
It might be worthwhile trying to see if it will work with Scala 2.11.7 and Java 1.8..
Thanks for the direction...

I will let you know how my progress goes

Ilango G

unread,
May 13, 2016, 10:12:10 AM5/13/16
to Ernie Report Generator Forum
This is the farthest I have got:
It looks like I have almost got to the point where I can attempt a build with SBT.

However, to move forward, I am trying to find out what version of SBT Ernie uses. Then I could possibly fix the issue I have.
I tried: sbt -version, sbt sbtVersion, but to no avail. 

[info] Compiling 1 Scala source to C:\Users\ig\Lift\lift-lift_26_sbt-d71cccf\scala-210\ernie-
master
\project\target\scala-2.10\sbt-0.13\classes...
[error] C:\Users\lg\Lift\lift-lift_26_sbt-d71cccf\scala-210\ernie-master\project\Build.scala:
80: not found: value assemblySettings
[error]       buildSettings ++ assemblySettings ++
[error]                        ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?


Ilango G

unread,
May 16, 2016, 2:02:38 PM5/16/16
to Ernie Report Generator Forum
I have managed to compile the ernie project.
SBT 3.9 + JDK 1.8 + Scala 2.10.4.

I am going to try next steps now

Reply all
Reply to author
Forward
0 new messages