Wrappers to the Java pcm.jar
- Convert hash to an FList
CLASSPATH=$PIN_HOME/jars irb -I lib -r brm-jruby
hash = {
"PIN_FLD_POID" => "0.0.0.1 /service/pcm_client -1 0",
"PIN_FLD_LOGIN" => "root.0.0.0.1",
"PIN_FLD_PASSWD_CLEAR" => "password",
"PIN_FLD_CM_PTRS"=>{0=>{"PIN_FLD_CM_PTR"=>"ip localhost 11960"}},
"PIN_FLD_TYPE"=>1
}
flist = FList.from_hash(hash)
The following need to be on your classpath or JRuby's -I.
- pcm.jar
- pcmext.jar
- sudo gem install brm-jruby
rbenv install jruby-9.2.19.0 rbenv shell jruby-9.2.19.0 gem install bundler bundler exec guard -i
Run tests using the following:
$ PATH=~/local/jruby-9.2.13.0/bin:/etc/alternatives/java_sdk/bin:/usr/local/bin:/usr/bin:/bin jruby -S bundle exec guard -i
After checking out the source, run:
$ rake wtf
This task will install any missing dependencies, run the tests/specs, and generate the RDoc.
All rights reserved by author.