This repository was archived by the owner on Apr 22, 2025. It is now read-only.
Repository navigation
Creating jar files
jarib edited this page Aug 14, 2010
·
1 revision
Celerity includes two rake tasks to build jar files of the library.
$ rake jar:fat $ rake jar:tiny
This will also work inside the gem dir, if you haven’t cloned the repo.
The fat jar will compile Celerity and create pkg/celerity-complete-X.X.X.jar, which includes HtmlUnit + all its dependecies inside the jar. To use it from your JRuby code:
require 'celerity-complete-X.X.X.jar' require 'celerity'
The tiny jar will compile Celerity and create pkg/celerity-X.X.X.jar. You will need to have HtmlUnit + dependencies somewhere handy (like your CLASSPATH), and then require them before you require "celerity".