<commit_before>Xtext 2 Java 2 Objc
===================

This project is a demo on how to transpile to Obj C from Xtend.

While using advanced concepts like [active annotations](http://todo).

How to get this project up and running
--------------------------------------

In a (tmux) terminal:

**Prepare j2objc-gradle**

1. First, downgrade your java 1.7: `cd j2objc-gradle ; ./install-osx-jdk7.sh`, otherwise you will get a _café babe_.
2. Build the project: `JAVA_HOME=$(/usr/libexec/java_home --failfast --version 1.7) ./gradlew clean build`
3. run `./systemTests/install.sh && ./systemTests/run-all.sh` to verify you have a working system

**Prepare Xtendroid**

1. Determine the development branch on Xtendroid: `cd Xtendroid ; git branch --all`
2. Change to the development branch:
    `git checkout $(git branch --all | egrep -o "v[0-9]+\.[0-9]+_development") ; ./gradlew :Xtendroid:clean :Xtendroid:build`

<commit_msg>Found out the hard way that one shouldn't use the `install-osx-jdk7.sh` script.<commit_after>Xtext 2 Java 2 Objc
===================

This project is a demo on how to transpile to Obj C from Xtend.

While using advanced concepts like [active annotations](http://todo).

How to get this project up and running
--------------------------------------

In a (tmux) terminal:

**Prepare j2objc-gradle**

0. Install [brew](http://brew.sh/)
1. First, install java jdk 1.7: `brew tap caskroom/versions ; brew cask install caskroom/versions/java7`, otherwise you will get a _café babe_. Caveat: **Do not run the install-osxjdk7.sh** script unless you want to lose all your JDKs.
2. Build the `cd j2objc-gradle ; JAVA_HOME=$(/usr/libexec/java_home --failfast --version 1.7) ./gradlew clean build`
3. run `./systemTests/install.sh && ./systemTests/run-all.sh` to verify you have a working system

**Prepare Xtendroid**

1. Determine the development branch on Xtendroid: `cd Xtendroid ; git branch --all`
2. Change to the development branch:
    `git checkout $(git branch --all | egrep -o "v[0-9]+\.[0-9]+_development") ; ./gradlew :Xtendroid:clean :Xtendroid:build`


{'fraction_non_alphanumeric': 0.16938579654510558, 'fraction_numerical': 0.01871401151631478, 'mean_word_length': 3.380252100840336, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3415109', 'n_tokens_mistral': 707, 'n_tokens_neox': 669, 'n_words': 252}