chewiebug/GCViewer — pull request #34 by pbilstein (2012-08-30 09:36:44+00:00)
Title: Added command line interface

Here my mail again: ;-)

Hi Jörg,

sorry for not replying for months, I had no time to do further work
on the gcviewer.

About the comma replacement: I haven't changed the original
treatment in the parser. The part I was mentioning was inside the
export code. In this part I decided to use the locale formatting
of the maschine (meaning that a US machine will get the numbers
with decimal separator dot and a German machine with
decimal separator comma in the csv file).

About your two proposals: Currently I'm not planning to realize them,
but thats something I will keep in my backlog.

Basically I used the export to generate an automated summary only,
with information like memory throughput etc. (I use it in some
automated testing scenarios ;-)

Since my changes work quite well now, I will resend you the pull
request. It has no changes on the core functionallity and only adds
the cmd line export. The only additional thing that has changed,
is the introduction of a new Main class, which is already registered
in the manifest. This was necessary to allow gcviewer to run without
an graphical environment when using cmd line mode. The reason is,
that the old main class tried to initialize some awt stuff. After separation
it works in cmd line mode. Old behavior with UI has not changed.

Kind regards
Peter