Skip to content

Latest commit

 

History

History
78 lines (49 loc) · 1.81 KB

File metadata and controls

78 lines (49 loc) · 1.81 KB

Welcome to HyperBird Play application

This file is packaged with the current Play application when using play dist.

Managed dependencies

Check build.sbt, project/plugins.sbt, and project/Build.scala

Copy play-2.2.6/repository/local in ~/.ivy2/

Add the following to ~/.sbt/repositories

[repositories]
local
maven-central: https://repo1.maven.org/maven2
typesafe: https://repo.typesafe.com/typesafe/releases
bintray: https://dl.bintray.com/sbt/sbt-plugin-release
sbt-plugin-releases: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases

Unmanaged dependencies

XQJ driver: A standard Java interface to XML DataSources which support XQuery 1.0.

XQJ driver files for eXist XML database http://www.exist-db.org downloaded from http://xqj.net/exist/ are located in project at:

lib/exist-xqj-1.0.1.jar lib/xqj2-0.0.1.jar lib/xqjapi.jar

XQS XQuery for Scala

XQS is found at https://github.com/fancellu/xqs and is a single file. This file XQS.scala is included in the source code "as is" and should only be used by objects or classes located in ch.bsisa.hyperbird.dao package. Note that XQS.scala depends on lib/xqjapi.jar at compile time.

How to run

Prerequisites are:

Tested environment:

  • Open JDK java version "1.7.0_25"
  • SBT version 0.13.0

If SBT is not yet installed check:

SBT install http://www.scala-sbt.org/release/docs/Getting-Started/Setup.html

For MaxOSX there are homebrew and macport packages, c.f. above link.

Then in the hb-api project type: sbt play run

http://localhost:9000/ should direct you to the login page