Skip to content

Unable to generate jar file for Fiesta-iot ontology #33

Description

@madhumithajanarthanan

Facing Compilation error while trying to generate jar file for fiesta ontology using OLGA

Steps to reproduce the behavior:

  1. Download fiesta-iot.owl from https://github.com/fiesta-iot/ontology
  2. Download and Unzip the OLGA Repo Master branch.
  3. Install the CORE and CLI packages,

Open command prompt from OLGA folder and give this command
java -jar OLGA-Cli/target/OLGA-Cli-0.0.6-with-dependencies.jar --code java --library rdf4j --name Fiesta --path OLGA-Cli/target/fiesta-iot.owl

I get the following error
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /G:/OLGA-master/OLGA-master/OLGA/fiesta-RDF4J-java/src/main/java/fiesta/rdf/model/Metadata.java:[17,8] class MetaData is public, should be declared in a file named MetaData.java
[ERROR] /G:/OLGA-master/OLGA-master/OLGA/fiesta-RDF4J-java/src/main/java/fiesta/rdf/model/IMetadata.java:[9,8] interface IMetaData is public, should be declared in a file named IMetaData.java
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

Could someone please take a look on this and provide solution as soon as possible, it will be very much helpful.
Thanks in advance.

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