View unanswered posts | View active topics It is currently Tue Jan 23, 2018 4:34 am



Reply to topic  [ 9 posts ] 
How to run OpenLogViewer from source 
Author Message
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14960
Location: Home sweet home!
You need to have a JDK installed. If not, get the sun JDK from here:

http://www.oracle.com/technetwork/java/ ... index.html

Note, OpenJDK may work, but is not supported here. If you have troubles, report it to them.

Install Maven3:

http://maven.apache.org/download.html

Clone the source with git:

https://github.com/FreeEMS/OpenLogViewer - Tested commits
https://github.com/fredcooke/OpenLogViewer - Latest back end stuff from me
https://github.com/BenFenner/OpenLogViewer - Latest UI stuff from Ben

You can figure out who has the latest bleeding edge code from this:

https://github.com/gufi/OpenLogViewer/network

NOTE: Downloading a zip/tarball of source will NOT work, the build will fail. You MUST use git to clone a repo.

Enter the source directory in a console and type:

Code:
mvn -DskipTests

Easy.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Last edited by Fred on Wed Nov 14, 2012 3:24 pm, edited 3 times in total.

Remove ant for #511



Sat Feb 19, 2011 9:37 pm
Profile WWW
LQFP112 - Up with the play

Joined: Sun Apr 06, 2008 6:30 pm
Posts: 100
doesn't work for me:

dave@shrapnel:~/git/DataReader$ ant run
Buildfile: build.xml

BUILD FAILED
/home/dave/git/DataReader/build.xml:14: Cannot find nbproject/profiler-build-impl.xml imported from /home/dave/git/DataReader/build.xml

Total time: 0 seconds
dave@shrapnel:~/git/DataReader$

_________________
-- David
http://www.megatunix.com
http://megatunix.sourceforge.net


Sat Feb 19, 2011 11:50 pm
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14960
Location: Home sweet home!
Nor me, but he's fixing it now :-)

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Sun Feb 20, 2011 3:25 am
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14960
Location: Home sweet home!
This app is working and working pretty well as of commit hash 92f70870748ca215c0bdd055ed39cc58bb4ba1b1

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Wed Feb 23, 2011 6:40 am
Profile WWW
LQFP112 - Up with the play

Joined: Sun Feb 03, 2008 9:30 pm
Posts: 120
Location: Chicago, USA
Ok, does not run for me either. If I install maven2, it does, but not just ant.

Code:
Buildfile: /home/kgrider/Applications/OLV/build.xml

test-offline:

get-deps:
      [get] Getting: http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar
      [get] To: /home/kgrider/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar

compile:
    [javac] /home/kgrider/Applications/OLV/maven-build.xml:73: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

compile-tests:
    [javac] /home/kgrider/Applications/OLV/maven-build.xml:101: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

test-junit-present:

test-junit-status:

junit-missing:
     [echo] =================================== WARNING ===================================
     [echo]  JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.
     [echo] ===============================================================================

test:

package:

BUILD SUCCESSFUL
Total time: 0 seconds


at this point I have the jar file, but it will not run:
Code:
~/Applications/OLV/target$ java -jar OpenLogViewer-0.0.1-SNAPSHOT.jar
Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException
   at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)


If I install the huge pack called maven, it will compile and run, but I want to keep this lean. What do I need to run this?

Gearhead


Wed Jun 08, 2011 1:00 am
Profile
LQFP112 - Up with the play

Joined: Sun Feb 03, 2008 9:30 pm
Posts: 120
Location: Chicago, USA
Ok, If I install the huge package that is maven2, I can get it to run. Would like to know how to run it without all 200M of Maven2...

Who is developing this, currently?

It would be nice if it had values on the axes (X and Y) and a legend so that the individual traces could be followed. Also a bit more intuitive as to how to change the color of a trace.

Gearhead


Attachments:
OLV.png
OLV.png [ 563.07 KiB | Viewed 4033 times ]
Wed Jun 08, 2011 1:20 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14960
Location: Home sweet home!
Gearhead, because you're running a development version, you're using development tools. Maven3 (2 worked? cool, but you should be using 3...) is THE dev tool for Java stuff, ant used to work, gufi broke it. It was an autogenerated build script anyway, and the last generation was not a functional one.

Gufi and I are working on this, intermittently. He put in some UI commits last night, I've not tried them yet, could be good, could be bad.

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Wed Jun 08, 2011 11:10 am
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14960
Location: Home sweet home!
BUMP! I updated the first post :-)

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Thu Oct 27, 2011 11:34 am
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14960
Location: Home sweet home!
Bump again, I updated the first post again, to remove ant! Now totally unsupported. Use a release version or maven 3.

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Mon Feb 06, 2012 5:15 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.