I have a report designed in iReport, but now i don't know how to add the library to eclipse and generate the reports in pdf.
Old question but an answer for anyone else.
First, iReport is not using eclipse. That said, I'm going to show how to use JasperReports library in eclipse in a maven project.
Just add the following to pom.xml and update your project.