Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Aspose.PDF for Java Documentation Examples

This module contains runnable Java examples used by Aspose.PDF documentation.

Layout

Directory Description
src/main/java/com/aspose/pdf/examples Java example runners and operation classes.
sample-data Input and generated output files grouped by example category.
tools Scripts for running all registered example runners.

Build

From this directory:

mvn clean compile

From the repository root:

mvn -f examples/documentation/pom.xml clean compile

Run Examples

Run one example runner:

mvn -DskipTests exec:java "-Dexec.mainClass=com.aspose.pdf.examples.basicoperations.BasicOperationsExamples"

Run all registered runners:

tools/run-all-examples.sh
tools/run-all-examples.ps1

License

Examples can run without a license in evaluation mode. Provide a license with one of:

  • CLI argument: --license=/path/to/Aspose.PDF.lic
  • JVM property: -Daspose.pdf.license=/path/to/Aspose.PDF.lic
  • Environment variable: ASPOSE_PDF_LICENSE