Giter Site home page Giter Site logo

Comments (3)

berezovskyi avatar berezovskyi commented on August 25, 2024

0a038e6 seems to be 0.0.61

009d3fc seems to be 0.0.60

ed0969a seems to be 0.0.57

from shaclex.

labra avatar labra commented on August 25, 2024

Thanks for your issue. I would be happy if you can include Shaclex in Eclipse Lyo. The only problem is that I don't know exactly how to do it at this moment.

Answering your questions:

Eclipse requires us to let their IP lawyers to review all the source code of the libraries we use and make sure there is no GPLed or copypasted source code.

Apart of the code that I wrote, the rest of the imported libraries are those that are listed in the build.sbt file:

https://github.com/labra/shaclex/blob/master/build.sbt

The libraries on which Shaclex depends are the following:

  • "org.antlr" % "antlr4"
  • "org.atnos" %% "eff" % effVersion
  • "io.circe" %% "circe-core" % circeVersion
  • "io.circe" %% "circe-generic" % circeVersion
  • "io.circe" %% "circe-parser" % circeVersion
  • "org.typelevel" %% "cats"
  • "ch.qos.logback" % "logback-classic"
  • "com.typesafe.scala-logging" % "scala-logging"
  • "org.scalactic" %% "scalactic"
  • "org.scalatest" %% "scalatest"
  • "org.http4s" %% "http4s-dsl"
  • "com.typesafe" % "config"
  • "org.apache.jena" % "jena-arq"
  • "com.lihaoyi" %% "scalatags"
  • "org.gnieh" %% "diffson-circe"
  • "xerces" % "xercesImpl"
  • "org.jgrapht" % "jgrapht-core"
  • "com.github.nikita-volkov" % "sext"

I usually upload the source jar I get from maven central for the review. The shaclex source jar I got from bintray has only 2 source files, does not include a license file and does not list its dependencies.

It seems that the packaged file you are looking at is the one that is packaged for the main module called "shaclex" which only contains the "main" method to execute shaclex online. The rest of the functionality is provided by the code in the different modules. Each module has his own folder under the modules folder:

https://github.com/labra/shaclex/tree/master/modules

One possible solution is to just take the source code of each of those modules. It is published in the same bintray with the corresponding name. For example, the code for version 0.0.63 of the shacl module is here:

https://bintray.com/labra/maven/shacl#files/es%2Fweso%2Fshacl_2.12%2F0.0.63

Is it possible to build more complete source jars? The closest I came in googling is here: http://www.scala-sbt.org/0.13/docs/Howto-Package.html

I was looking at it but it doesn't say how to include the sources from the modules. If you know how to do it, let me know.

I understand that what you need is to have a jar with all the source files from all the modules. I know how to create a whole binary jar with all the compiled classes. This is done by the "sbt-native-packager":

http://www.scala-sbt.org/sbt-native-packager/index.html

It seems that there is a universal-src configuration:

http://www.scala-sbt.org/sbt-native-packager/formats/universal.html#configurations

for creating bundles of source.

But I don't know how to use it yet. If you can give it a try, let me know. You can create a Pull request if you want.

Can you please tag ad6d3db as 0.0.62, please?

Done, I have also added tags to the other list that you sent.

One peding thing to do is to automate the process of publishing to bintray and adding a tag so I don't forget in the future.

Can you confirm that if I want to archive only the subset of the repository tree that contains the source that is shipped in the JARs, I should take /src and /modules directories (excluding src/test subdirectories)?

Yes. All the source code of the Shaclex library is contains in the src folder of the root module and in the same folder of all the modules directories.

I will keep this issue open until we are able to generate an aggregated source jar.

from shaclex.

labra avatar labra commented on August 25, 2024

I asked the question about generating source jar for multi-module projects to stack overflow

from shaclex.

Related Issues (20)

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.