Use the edu.illinois.codingspectator.logstocsv program to generate the CSV file.
edu.illinois.codingspectator.logstocsv
Perform the following steps to import the CSV into the database:
cd CodingSpectator/plug-ins/edu.illinois.codingspectator.csvtosql/ant
ant clean; ant
cd bin
CS_CSV="/path/to/logs.csv" java -XX:MaxPermSize=512m -Xms40m -Xmx20G -jar csvtosql.jar
Follow the steps below to interact with the database from commond line. I found the following instructions on the web.
sqltool.jar
hsqldb.jar
CodingSpectator/plug-ins/org.hsqldb/ant/downloads/hsqldb-2.2.6/hsqldb/lib/
cd CodingSpectator/plug-ins/edu.illinois.codingspectator.csvtosql/ant/bin
java -XX:MaxPermSize=512m -Xms40m -Xmx20G -jar sqltool.jar --rcFile ../../hsqldb/sqltool.rc db_file
\i /path/to/CodingSpectator/scripts/sql-script.sql
There was an error while loading. Please reload this page.