daust / JasperReportsIntegration

JasperReportsIntegration provides an interface to use the JasperReports reporting engine in an Oracle database application, specifically with Oracle Application Express (Oracle APEX).
BSD 3-Clause "New" or "Revised" License
55 stars 23 forks source link

Optimization for developers - adding your own .jar files #63

Closed daust closed 3 years ago

daust commented 3 years ago

Sometimes developers want to build their own custom version. In doing so, they sometimes want to add their own .jar libraries to support additional features and/or add packaged fonts.

Currently, the way to do it is to add the .jar files to the directory:

/JasperReportsIntegration/src/main/webapp/WEB-INF/lib

Then you would run:

<gradle command> build

The directory is different from the one they would assume to place it:

lib/additional

Thus, we need to add it to the documentation and/or rename the directories and update the build.gradle file:

lib/additional-war-libraries  // those .jar files will be added to the jri.war file into WEB-INF/lib
lib/commandline-libraries // those .jar files will be part of the installation .zip file in the directory "lib". They will only be used for the command line tools, but not at runtime from the j2ee application.