Jump to content
Changes to the Jaspersoft community edition download ×
  • This documentation is an older version of JasperReports Server Source Build Guide. View the latest documentation.

    The procedure forBuilding JasperReports Server Source Code loads core data required to start the application, but it doesn't create sample data, such as sample reports to run and sample databases. Follow the steps below to create and load sample data.

    Load Sample Data

    The buildomatic scripts can load sample resources and sample databases. Note: In the procedure below, your jasperserver database will be deleted and re-created unless you choose ‘n’ for No when prompted.

    Your default_master.properties should already be created.

    1. Start your database server.
    2. Stop your application server.
    3. Run the commands shown below:

     

    Commands

    Description

    cd <js-src>/jasperserver/buildomatic

    js-ant create-load-all-dbs-pro

    Creates and loads the jasperserver database

    Imports core bootstrap resources

    Creates and loads sample databases

    Imports sample resources

    (Choose ‘n’ when prompted if you do not want to recreate your jasperserver database.)

    Generate Your Own Sample Resources

    To generate sample resources from scratch, execute the sample creation code found in the following folder:

    <js-src>/jasperserver-pro/production-tests

    This procedure generates the same resources imported and used by the released version of JasperReports Server. Your jasperserver database will be deleted and re-created.

    Your default_master.properties should have already been created.

    1. Start your database server.
    2. Stop your application server.
    3. Run the commands shown below:

    Commands

    Description

    cd <js-src>/jasperserver/buildomatic

    js-ant re-init-js-db-pro

    Drop, create, and initialize the jasperserver database

    js-ant run-production-data-pro

    Generate sample resources using the processing logic from the production-test source code.

     


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...