GithubHelp home page GithubHelp logo

clejacquet / lod Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.53 MB

Repository containing all my work on Linked Open Data (LOD), supervised by professor Amagasa at KDE's lab (Tsukuba University, Japan)

License: MIT License

Java 85.44% JavaScript 9.11% CSS 1.17% Web Ontology Language 0.12% Ruby 4.16%

lod's Introduction

Linked Open Data (LOD)

Repository containing all my work on Linked Open Data (LOD), supervised by professor Amagasa at KDE's lab (Tsukuba University, Japan)

How to compile code to .jar

Prerequisites

  • This project is powered by Maven, a project management tool. (Install Maven)
  • (OPTIONAL) IntelliJ's project files are supplied for those who want to use it. (Install IntelliJ)

Configure with Maven

About configuration, you only need to install project dependencies which are required to build the differents .jar. This can be done by entering the following instruction when you are in the directory "LOD" :

mvn install

Now everything should be fine to compile every module.

Compile the different modules with Maven

  • In a command shell, go to "LOD/%MODULE_DIR%", where %MODULE_DIR% is the main directory of a module
  • Enter the following instruction :
mvn package

The .jar should be present at "LOD/%MODULE_DIR%/target"

For example, if you want to compile the jp.kde.lod.jacquet.fbexplorer.App Module :

  • Go to "LOD/jp.kde.lod.jacquet.fbexplorer.App"
  • Enter the following instruction :
mvn package

The .jar should be present at "LOD/jp.kde.lod.jacquet.fbexplorer.App/target"

Configure with IntelliJ

Open the project under IntelliJ

Launch IntelliJ and under "File/Open" select "LOD" directory

Create a configuration

If you don't want to use a command line shell to compile a module, you can create configurations under IntelliJ, whose purpose is to automate the build, or to execute any other command line you often use.

At the top-right of the application, click on the arrow of the build configuration as shown below.

Edit Configuration Image

Select "Edit configuration". The configurations dialog box should be open. Click on '+' to add a configuration and select :

  • If you want to make a build configuration which launch the .jar after compilation : "Application"
    • Fill the "Main Class" field with the name of the main class of the module you want to build (by convention, I always call them "jp.kde.lod.jacquet.fbexplorer.App")
    • Fill the "Working Directory" field with "$MODULE_DIR$"
    • In the list of the modules labelled by "Use classpath of mod ..." select the module you want to build.
    • In the "before launch" part, remove the "Make" goal and add a "Maven Goal" with the line command compile
  • If you want to make a Maven configuration : "Maven"
    • Fill the "Working Directory" field with the directory of the target module (you can choose directory of a specific module with the button at the right of the text field)
    • Fill the "Command line" field with the maven command line you want to execute (if you want to automate the maven command mvn package, just write package)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.