Git Product home page Git Product logo

Comments (4)

AndreasAntener avatar AndreasAntener commented on September 25, 2024

Do you think you want to fix/update stuff in la4j? Or do you need a reference to the latest source? If not, dependency management is the answer. la4j is pushed to Maven Central. We could try using Gradle for this (it would also replace Ant).

How's your experience with submodules (I have none..). From what I read: if jMAVlib is going to change regularly, submodules might be a bad idea.

from flightplot.

AndreasAntener avatar AndreasAntener commented on September 25, 2024

Ugh, I noticed that you really are referencing the latest source version of la4j (0.5.0) and it is not yet available on Maven central..
I added a Gradle build to test it:
https://github.com/AndreasAntener/FlightPlot/tree/gradle_build

To try this you need Maven and Gradle installed, then go into FlightPlot dir:

cd la4j
mvn clean install
cd ..
gradle clean build

The mvn command first builds the la4j library from source into your local Maven repository (so it is available for the Gradle build). This is of course very inconvenient now, but it's supposed to be in Maven Central (someone should ping the author about it). The gradle command then builds the whole thing which surprisingly worked for me :)

Also I deleted the IntelliJ project files. If you want to edit it with IntelliJ, just do

gradle idea

and it will generate project files for it. As soon as we get rid of the IntelliJ GUI stuff this will work for Eclipse as well.

In general, this is the way to go I think.

from flightplot.

DrTon avatar DrTon commented on September 25, 2024

la4j will be updated not frequently, I think we will be happy with some stable version. So I will try you approach, thank you.

But jMAVlib will be updated frequently and together with FlightPlot, and maybe it will be useful to have corresponding feature branches for FlightPlot and jMAVlib, so I think submodule is good here (e.g. you can specify which jMAVlib commit/branch should be used on specific FlightPlot branch). I use submodules some time and see that it's convinient for this situation. I already removed all project files from jMAVlib and it included as sources, also convinient when hacking FlightPlot, sometimes I need to hack quickly jMAVlib too.

from flightplot.

DrTon avatar DrTon commented on September 25, 2024

la4j removed from deps

from flightplot.

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.