Git Product home page Git Product logo

rawr's Introduction

Rawr 1.6.0

James Britt, Logan Barnett, David Koontz

http://github.com/rawr/rawr

DESCRIPTION

Rawr is a packaging solution for JRuby applications. Rawr comes in two pieces:

  • a rawr command that creates a Java main file in your application and a configuration file that will be used by Rawr to build the final jar;
  • a Rake task file that you can include into your project's Rakefile to automate the creation of the packaged application.

SYNOPSIS

rawr install
rake rawr:jar
java -jar package/jar/your_jar_file.jar

REQUIREMENTS

  • JRuby >= 1.5
  • javac
  • Rake

INSTALL

sudo gem install rawr

STUFF

Rawr 1.6.0 adds support for compiling Mirah source code.

There was already code in place for duby files, but a) duby morphed in Mirah, and b) the compilation command is somewhat different.

There's a new build_configuration.rb option to define the root folder for your Mirah files, and the resulting compiled .class files end up where any .java files would go.

Rawr 1.4.2 introduced the use of Brian Marick's user-choices library to handle initial configuration properties.

What this means in practice is that there are multiple ways to configure how rawr handles the install command.

You can use command-line arguments much as before, or use a configuration file (~/.rawr), or environment variables.

Or all of them; you can mix and match.

For example, if you have a prefered name or location for the main Java class then you might want to stick that in the config file or some environment variables to avid having to pass them as command-line arguments on each invocation of rawr.

Please read the docs for user-choices, but one key thing to know is the precedence for options.

Any option value passed on the command-line overrules any previous value.

Any option defined in an environment variable overrules the value in a config files.

Option values in the config file will be used so long as they are not overridden by the above conditions.

LICENSE

Rawr is released under the Ruby License.

Feed your head.

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.