thirumalesh.143142 Posted September 26, 2016 Share Posted September 26, 2016 where are the jar file of lib folder of jasperreport-6.3.0-project.zip Link to comment Share on other sites More sharing options...
hozawa Posted September 26, 2016 Share Posted September 26, 2016 JasperReports 6.3.0 is using Ivy. Look at ivy.xml file to find all the dependencies. Link to comment Share on other sites More sharing options...
Pixel Posted September 28, 2016 Share Posted September 28, 2016 Disclaimer: I haven't ever really learned or used Ivy (or Maven or other dependency managers). This might not be best practice, it's just me flailing to try to get something to work, especially at step 7.Since there is no longer a proper distribution that contains the required files, my attempt at getting all of the necessary dependencies went like this:1. Download Apache Ant from http://ant.apache.org/.2. Download Apache Ivy from http://ant.apache.org/ivy/3. According to http://stackoverflow.com/questions/12677816/ant-target-failing-antlib-or-ivy-issue you should copy the ivy JAR file into ANT:copy C:devapacheivyapache-ivy-2.4.0ivy-2.4.0.jar C:devapacheantapache-ant-1.9.7lib4. Make sure the "bin" folder under ANT is in your path, and that you have JAVA_HOME set to your favorite JDK (1.7 or higher).5. Change into the unzipped jasperreport-6.3.0-project.zip folder, and type "ant -p" to see what targets are available.6. Try "ant retrievelibs". Ant should then use ivy to download a bunch of files. It took about 80 seconds on my machine. FYI: If you really want to build JasperReports jars, try "ant alljars".At this step, I had problems with errors. I removed my .ivy2 folder ("rd /s C:Usersmyuserfolder.ivy2") and tried it again, and it seemed to build. Then "dir /s *.jar" reveals only the jasperreports jars, not the dependencies.7. Since I started with a clean .ivy2 folder, I can dir a "dir /s C:Usersmyuserfolder.ivy2*.jar" and get a list of only the JAR files it downloaded for building JasperReports. I don't know what the best practice is, but I individually copied out the following files:groovy-all-2.4.5.jarcommons-logging-1.1.1.jarcommons-digester-2.1.jarcommons-collections-3.2.2commons-beanutils-1.9.0poi-3.10.1.jarjfreechart-1.0.19.jarjcommon-1.0.23.jarDepending on what features you are using in your reports, you may need more or fewer JAR files. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now