frah / ubiPos

ユビ研購買システム

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UbiPos

This is the payment system for Ubiquitous Computing Systems Lab at NAIST.

System Requirements

  • JDK 7
  • Smart Card Reader (tested with SCL010)
  • MySQL server
  • Twitter account

Usage

$ ant jar
$ cd dist & java -jar ubiPos.jar

Setting Files

/twitter4j.properties

Java properties file for twitter4j.

  • debug - Debug flag (Default: false)
  • oauth.consumerKey - Twitter consumer key
  • oauth.consumerSecret - Twitter consumer secret key
  • oauth.accessToken - Twitter access token
  • oauth.accessTokenSecret - Twitter access token secret key

/META-INF/settings.properties

Java properties file for general settings.

  • graphic.folder - location of folder stored picture
  • sound.AUTH_SOUND - location of sound of authentication success
  • sound.DENY - location of sound of failing any operations
  • sound.END - location of sound of payment
  • sound.SAISOKU - location of sound of insufficient funds

/META-INF/db.properties

Java properties file for database.

  • db.driver - JDBC driver class
  • db.host - Hostname (Default: localhost)
  • db.port - Port number (Default: 3306)
  • db.name - Database name
  • db.user - Login user name
  • db.pass - Login password

/META-INF/logging.properties (Optional)

Java properties file for java.util.logging package.

  • handlers - Log handler (Default: java.util.logging.FileHandler (stored to local file))
  • java.util.logging.FileHandler.pattern - a pattern for generating the output file name (Default: %h/ubipos%u.log)
  • java.util.logging.FileHandler.append - append onto any existing files (Default: true)
  • java.util.logging.FileHandler.limit - an approximate maximum amount to write (in bytes) to any one file (Default: 10240)
  • java.util.logging.FileHandler.count - how many output files to cycle through (Default: 7)
  • java.util.logging.FileHandler.formatter - the name of a Formatter class to use (Default: java.util.logging.SimpleFormatter)
  • .level - logging level (Default: CONFIG)

About

ユビ研購買システム


Languages

Language:Java 100.0%