add the dependcies to your maven pom.xml

                <dependency>
                        <groupId>org.chenillekit</groupId>
                        <artifactId>chenillekit-quartz</artifactId>
                </dependency>

and add the contribuition to your application service

        /**
         * configuring the jasperreports service.
         *
         * @param configuration configuration map
         */
        public void contributeReportsService(OrderedConfiguration<URL> 
configuration)
        {
                String fileName = applConfigDir + "/jasperreports.properties";
                File file = new File(fileName);
                if (!file.canRead())
                        throw new RuntimeException(String.format("can't read 
file '%s'",
file.getAbsolutePath()));

                try
                {
                        configuration.add("configuration", 
file.toURI().toURL());
                }
                catch (MalformedURLException e)
                {
                        throw new RuntimeException(e);
                }
        }

with regards
Sven Homburg
Founder of the Chenille Kit Project
http://chenillekit.codehaus.org





2011/3/17 degressor <paulgam...@yahoo.com>:
> Hi,
>
> I'm new in tapestry, and trying to integrate JasperReports. I can run simple
> report, with empty datasoeuce, but for more complex issues I need a custom
> datasource class. Do I realy need to write a service, because I can't use
> new.
>
> I tried to work with Chenillekit-reports, but I don't know how to integrate
> a module into my app, are there some tutorials or help?
>
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Questions-Chenillekit-reports-Services-tp3877500p3877500.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to