Git Product home page Git Product logo

torquebox's Introduction

Requirements

  • Maven 3
  • Configuration of the JBoss Maven repository in settings.xml

Building

Install the project using the provided settings.xml:

mvn -s build-support/settings.xml install

If you will be building the project often, you'll want to create/modify your own ~/.m2/settings.xml file.

If you're a regular JBoss developer, see:

Otherwise, see:

Once your repositories are configured, simply type:

mvn install

Layout

  • build-support/ Contains code related to building TorqueBox, but not involved at runtime.

  • components/ Includes all code required at runtime within the AS (Java-centric).

  • containers/ Includes outside-of-the-AS container code (Ruby-centric).

  • clients/ Includes client API gems (Ruby-centric).

  • assemblage/ Contains instructions for building the assembled final deliverables and distributions.

  • integration-tests/ Contains a series of Arquillian-based tests against the packaged distribution.

  • dist/ Contains the instructions for creating the final binary distributable in .zip format.

Development Tips

If you're actively developing portions of the TorqueBox codebase, it's useful to define $TORQUEBOX_HOME around the directory

./assemblage/assembly/target/stage/torquebox-${VERSION}

And then define JBOSS_HOME and JRUBY_HOME per usual

JBOSS_HOME=$TORQUEBOX_HOME/jboss
JRUBY_HOME=$TORQUEBOX_HOME/jruby

This assembly is created when you execute mvn install from the top-level project.

As you built integration projects using mvn install, they will install themselves into the assembly, if present. Likewise, dependency gems will be installed into the JRuby RubyGems path. Plus, changes to the VFS system will install itself into the JRuby lib directory and gem repository as-needed.

It's like magic.

torquebox's People

Contributors

bobmcwhirter avatar jcrossley3 avatar tobias avatar bbrowning avatar goldmann avatar deruelle avatar cschneid avatar bandwagon avatar craigmcnamara avatar calavera avatar rortian avatar 2potatocakes avatar

Stargazers

 avatar

Watchers

 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.