Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We are constantly improving the software packages in the barna repository and create nightly builds every day. If you want to try out the latest and greatest, check the Nightly Build Folder to download the current builds. But please keep in mind that these are no releases and might be unstable. JavaDoc documentation for the current development branch can be found here

Source Code

The Flux Simulator source code can be accessed from our Git Repository. You can check out the repository using git:

Code Block
languagebash
git clone http://sammeth.net/bitbucket/scm/barna/barna.git

JavaDoc documentation  documentation for the current development branch release can be found herefound here

Building the Flux Capacitor from source

The Flux Simulator source is maintained in the develop branch in the git repository. In order to compile the latest development version, first clone the repository and switch to the develop branch:

 

$> cd barna
$> git checkout develop

 

Now switch into the barna.capacitory folder and build a distribution:

 

$> cd barna.capacitor
$> ../gradlew dist

 

When executed the first time, gradle will download a lot of dependencies, get a hot beverage, this might take a moment. The gradle script will compile the code and all dependencies, and finally a .tag.gz and a .zip file are created. You can find them in the build/distributions/ folder.These are the created bundles that contain the Flux Capacitor build from source.

Alternatively, you can also run ../gradlew distDir, which will not compress the distribution and create a folder in build/distributions/. You can run the capacitor directly from there.

 

Please make sure that you have a full jdk version installed, i.e., not just a runtime environment without the 'javac' compiler binary. You can check the presence of the compiler commnd in JAVA_HOME/bin. Also make sure that the JAVA_HOME environment variable is set to the root folder of your Java installation, by

 

export JAVA_HOME=/path/to/java

License

The Flux Simulator source code is available under the BSD 3-Clause License

...