This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Sep 25 09:07:52 -0700 2008 | |
| |
.loadpath | Tue Sep 23 11:06:30 -0700 2008 | |
| |
.project | Tue Sep 23 11:06:30 -0700 2008 | |
| |
History.txt | Fri Aug 14 13:46:05 -0700 2009 | |
| |
License.txt | Wed Sep 24 11:17:35 -0700 2008 | |
| |
Manifest.txt | Wed Sep 24 11:17:35 -0700 2008 | |
| |
PostInstall.txt | Thu Sep 25 11:59:09 -0700 2008 | |
| |
README.txt | Thu Sep 25 11:59:09 -0700 2008 | |
| |
Rakefile | Tue Sep 23 11:06:30 -0700 2008 | |
| |
config/ | Thu Sep 25 11:59:09 -0700 2008 | |
| |
init.rb | Tue Sep 23 11:19:50 -0700 2008 | |
| |
jasperserver-client.gemspec | Fri Aug 14 14:09:43 -0700 2009 | |
| |
lib/ | Wed Oct 14 08:38:47 -0700 2009 | |
| |
script/ | Wed Sep 24 11:51:57 -0700 2008 | |
| |
setup.rb | Tue Sep 23 11:06:30 -0700 2008 | |
| |
tasks/ | Tue Sep 23 11:06:30 -0700 2008 | |
| |
test/ | Tue Sep 23 11:06:30 -0700 2008 | |
| |
website/ | Thu Sep 25 12:57:02 -0700 2008 |
README.txt
= JasperServer-Client * http://jasper-client.rubyforge.org * http://github.com/gunark/jasperserver-client == DESCRIPTION: JasperServer-Client is -- you guessed it -- a Ruby-based client for JasperServer. The library allows for requesting and fetching reports from a networked JasperServer over SOAP. == USAGE: Here we request a report to be generated in PDF format and then save the resulting data to a local file: # Create a new client instance for the JasperServer running at # http://example.com/jasperserver client = JasperServer::Client.new("http://example.com/jasperserver/services/repository", "jasperadmin", "secret!") # Create a request for a report. The first parameter is the full path of the # report unit, the second is the desired output format, and the last is an # optional hash of parameters to be fed into the report. request = JasperServer::Request.new("/example/my-report", "PDF", {'fruit' => 'apple'}) # Send the report request to the server and return the output data. pdf_data = client.request_report(request) # Write the report data to a file (instead you could send the data to the user's # browser if you're doing this in, for example, a Rails controller action). File.open('/tmp/report.pdf', 'w') do |f| f.puts(pdf_data) end == REQUIREMENTS: * A Ruby interpreter. * The *soap4r* gem, version 1.5.8 or greater. (This should be automatically installed as a dependency; otherwise run <tt>gem install soap4r</tt>.) * A running JasperServer instance. The client has been tested with versions 2.0 through to 3.0 of JasperServer. == INSTALL: * Via RubyGems: gem install jasperserver-client == LICENSE: JasperServer-Client is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. JasperServer-Client is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.







