Skip to content
sumin2000 edited this page Apr 14, 2013 · 9 revisions

Home

Download

ChkBugReport does not have an installer, to install it you just need to download the latest chkbugreport-*.jar (see Where-to-obtain-it) or build it yourself from the source code. Note: the Code/Downloads section has been removed by GitHub.

To execute it, just run java -jar chkbugreport.jar from a command line.

For example, (in case you are using Linux or Mac OSX in command line) if you downloaded it to $HOME/Downloads, and you have a bugreport at $HOME/tmp/bugreport.txt, from the command line run:

java -jar $HOME/Downloads/chkbugreport.jar $HOME/tmp/bugreport.txt

Wrapper script

If you are using Linux or Mac OSX, you could use the wrapper script:

#!/bin/sh

MC=Main
DIR=$HOME/bin
JAR=$DIR/chkbugreport.jar
CP=$JAR

if [ ! -f $JAR ]; then
  echo "For this script to work properly, copy the jar file to $JAR"
  exit 1
fi

java -classpath $CP $MC "$@"

To set up the script:

  • Save this script (or download it from http://sonyxperiadev.github.com/ChkBugReport/download/chkbugreport) in $HOME/bin/
  • Make it executable (chmod +x $HOME/bin/chkbugreport)
  • Download chkbugreport.jar at the same location
  • Make sure $HOME/bin is in your PATH (append export PATH=$HOME/bin:$PATH to $HOME/.profile. NOTE: you might need to log off and back in again for this to take effect.).

Then you could just execute chkbugreport bugreport.txt anywhere.

# ##
Clone this wiki locally