๐Ÿ“ฆ simono / scala-orp

Object-Relational Programming in Scala

โ˜… 3 stars โ‘‚ 0 forks ๐Ÿ‘ 3 watching โš–๏ธ Apache License 2.0
orpsbtscala
๐Ÿ“ฅ Clone https://github.com/simono/scala-orp.git
HTTPS git clone https://github.com/simono/scala-orp.git
SSH git clone git@github.com:simono/scala-orp.git
CLI gh repo clone simono/scala-orp
Simon Olofsson Simon Olofsson Add LICENSE f0ee2d5 8 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ bin
๐Ÿ“ orp-examples
๐Ÿ“ orp-framework
๐Ÿ“ orp-plugin
๐Ÿ“ project
๐Ÿ“„ .gitignore
๐Ÿ“„ .travis.yml
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Build Status

Setup instructions for Scala ORP

What you need

  • Java 7 or 8
  • sbt as build tool

IDE setup

  • Eclipse:
  • run sbt eclipse
  • import the Project
  • IntelliJ IDEA:
plugin
  • open the Project

Running the plugin

To run the plugin just execute: bin/run-plugin.sh

Directory layout

The main ORP project is aggregating three modules (orp-framework, orp-plugin and orp-examples). The build settings, dependencies and build instructions are described in project/Build.scala. project/plugins.sbt and project/assembly.sbt describe the required plugins.

bin: contains executables and scripts

orp-framework: project for the ORP Framework, contains definitions that are needed in client code and in the compiler plugin

orp-plugin: a plugin for the Scala compiler (scalac) that generates the required code

orp-examples: examples that use the orp-framework and the orp-plugin

target folders: these folders are excluded from version control and contain class-files and jars that sbt creates

License

This software is licensed under the Apache 2 license, quoted below.

Copyright 2012 Simon Olofsson

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.