jruby from http://jruby.org
install ruby-maven gem
jruby -S gem install ruby-maven
now there is a
rmvn command available.
basically from rails point of view you just take the rails/rake commands and prefix them with 'rmvn'.
any rmvn command will place the gems for the application in the directory target/rubygems which is set as GEM_HOME and GEM_PATH by the
setup a fresh system
the first run of maven takes a while and for the rubygems part that is true too.
rmvn rake db:config db:migrate db:sessions:create
after that you will find the root and admin password in the file root
starting the server
run gwt development shell (with 32bit java only !!!!)
no need for compilation just start the server and developement shell with
now you can launch a browser directly from that shell.
first you need to compile the GWT application by
rmvn compile gwt:compile
then you can start the server
rmvn rails server
now use the url to start (html view):
run the test (rspec)
which can run single spec as well or the rake task
rmvn rake spec
each user belong to none, one or more groups. for each action on the controller you can declare the allowed groups. see
the current groups are
upload : can upload files in the upload section http://localhost:3000/containers/0
browse : can go through the files readonly http://localhost:3000/containers/0
users : user management
tickets : create download tickets http://localhost:3000/orders
taperoom: upload files and manage files and directory
root: master of the univers, i.e. is the all groups group
scaffold a new resource
rmvn rails2 generate ixtlan_datamapper_rspec_scaffold error name:string timestamp:datetime dump:string --skip -- -Djruby.fork=false