Code Monkey home page Code Monkey logo

raox's Introduction

Build Status

Rao X

Summary

This project is an implementation of RAO modelling language in Eclipse, using Xbase.

Preparing

  • Install Ubuntu Desktop or any other linux distribution

  • Install Java 8

    IMPORTANT Latest version of openjdk at the moment of writing this (openjdk-8-jdk 8u66) crushes when usingSWT_AWT bridge. Oracle jdk distributions should be used instead. For debian-based linux distributions:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Check java version:

java -version

If output is different than (except version numbers):

java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

set it manually

sudo update-alternatives --config java
cd ~/Downloads
gunzip -c eclipse-dsl-neon-R-linux-gtk-x86_64.tar.gz  | tar xvf -
cd eclipse
./eclipse
  • Git clone raox repository
ssh-add ~/.ssh/github.openssh.private.key
git clone [email protected]:aurusov/raox.git

Installing

Setting up the workspace for Eclipse

  • File > Import > General > Existing Projects into Workspace``> Select root directory > /home/USERNAME/git/raox > Finish
  • Wait for the workspace to build and get tons of errors
  • ru.bmstu.rk9.rao/src/ru.bmstu.rk9.rao/Rao.xtext > Run As > Generate Xtext Artifacts > Proceed
  • *ATTENTION* It is recommended to use the ANTLR 3... press y
0    [main] INFO  lipse.emf.mwe.utils.StandaloneSetup  - Registering platform uri '/home/drobus/git/raox'
637  [main] INFO  lipse.emf.mwe.utils.StandaloneSetup  - Adding generated EPackage 'org.eclipse.xtext.common.types.TypesPackage'
644  [main] INFO  ipse.emf.mwe.utils.DirectoryCleaner  - Cleaning /home/drobus/git/raox/ru.bmstu.rk9.rao/../ru.bmstu.rk9.rao/src-gen
652  [main] INFO  ipse.emf.mwe.utils.DirectoryCleaner  - Cleaning /home/drobus/git/raox/ru.bmstu.rk9.rao/../ru.bmstu.rk9.rao/model
652  [main] INFO  ipse.emf.mwe.utils.DirectoryCleaner  - Cleaning /home/drobus/git/raox/ru.bmstu.rk9.rao/../ru.bmstu.rk9.rao.ui/src-gen
653  [main] INFO  ipse.emf.mwe.utils.DirectoryCleaner  - Cleaning /home/drobus/git/raox/ru.bmstu.rk9.rao/../ru.bmstu.rk9.rao.tests/src-gen
5720 [main] INFO  clipse.emf.mwe.utils.GenModelHelper  - Registered GenModel 'http://www.bmstu.ru/rk9/rao/Rao' from 'platform:/resource/ru.bmstu.rk9.rao/model/generated/Rao.genmodel'
27489 [main] INFO  text.generator.junit.Junit4Fragment  - generating Junit4 Test support classes
27496 [main] INFO  text.generator.junit.Junit4Fragment  - generating Compare Framework infrastructure
27550 [main] INFO  .emf.mwe2.runtime.workflow.Workflow  - Done.

[!] If your output differs from the one above by a lot of errors mentioning RULE_ANY_OTHER, you should run the generation process again and again until the bulid is succesfull. This is Xtext/Antlr bug caused by complex rules supporting unicode identifiers in grammar, sorry for the inconvenience

  • Run > Run Configurations... > Eclipse Application > New > Name =
  • raox
  • Run

Running

  • Window > Open Perspective > Other... > Rao
  • File > New > Project... > Rao > Rao Project > Next> > Project name: >
  • set project name
  • choose model template
  • Finish
  • Models examples

raox's People

Contributors

bogachev-pa avatar aurusov avatar k-alexandrovsky avatar lekaitow avatar alexchernov avatar kstrizhov avatar viktorrakhmatulin avatar smirnov-vs avatar kobzarvlad avatar asquad avatar goga9510 avatar olgablu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.