Skip to main content
Windward

Running the Java Command Line Example

These files can be used to create a command-line .class file which is equivalent to the example located in the /test folder of the Java Engine installation directory as implemented in the run.bat file (java net.windward.xmlreport.RunReport template.rtf report.htm -xml order.xml). The RunReport application will accommodate a variety of data source types. 

Requirements

Edit section

 

Click Here to download the source code and PDF instructions for this example.

Video

Instructions

Open the Command Line Project

  1. Open Catapult. (Found under Start -> All Programs -> Windward Studios -> Windward Reports Java Engine -> Java Engine Help launcher)
  2. In the Catapult Menu, click the Command-Line Tab.
  3. Click the Comand Line IntelliJ Project File button.

Run the code

  1. On the toolbar on the top of the IntelliJ window, click the run icon.

    Note: If you get an error message stating ‘Cannot start compiler: the SDK is not specified for module “RunReport”’, your Java Development Kit is not correctly configured with IntelliJ. See our documentation on installing and Configuring IntelliJ for assistance.
  2. In the Command-Line tab in Catapult, click Source Directory.
  3. Open the Invoice.pdf file – your report output.
  • Was this article helpful?