Skip to content

OwlLoadTask should always work #45

@mprather

Description

@mprather

Description

OML gradle tasks attempt to use caching to prevent repeated work; this is desired in most cases. OwlLoadTask can at times do nothing. This is problematic if you are using an in-memory database and you want to load data. The task will often times look at its dependencies, determine no change was made, and then skip the actual load.

Steps to Reproduce

The repro steps are scenario based.

  1. Make a change to an OML project.
  2. Setup a fuseki server to use a memory store (this could be an instance all by itself or the fuseki server that is typically managed by StartFusekiTask.
  3. Run tasks to build, load, and run a query.

Interim Result: everything works as planned/expected

  1. Stop the server. Since there are many different ways to do this, let's assume the server is not stopped by using StopFusekiTask.
  2. Start the server
  3. Run OwlLoadTask

Final Result: Nothing was loaded.

Expected Behavior

OwlLoadTask should not have logic that prevents it from calling the actual database load commands. When developing SPARQL queries or items that are database-centric, it is common for the project to remain static wrt vocabularies and descriptions. This means we may go through long periods of time where the task sees no changes and hence will not load a database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions