Re: [osgi-dev] Using Gradle or Maven on a new OSGi project

2019-07-25 Thread Raymond Auge via osgi-dev
On Thu, Jul 25, 2019 at 11:24 AM Stephen Schaub via osgi-dev < osgi-dev@mail.osgi.org> wrote: > Over on the bndtools list, Raymond Auge indicated that live code > deployment isn't supported in Eclipse with a standard Gradle project > structure. > Yet! :) but it's not too far away I would think.

Re: [osgi-dev] Using Gradle or Maven on a new OSGi project

2019-07-25 Thread Stephen Schaub via osgi-dev
Tim, You're right about live code deployment being possible with Eclipse + Bndtools + Gradle. I should have qualified my statement: I'm using a build setup that is a standard Gradle project structure (non-Bnd workspace), because I didn't want to have to adopt the Bnd workspace model. Over on the b

Re: [osgi-dev] Using Gradle or Maven on a new OSGi project

2019-07-25 Thread Tim Ward via osgi-dev
Interestingly this is the opposite conclusion that most people come to. Until recently Bndtools did not support Maven at all and was 100% Gradle. There has been a lot of work to bring Maven support up to the same level as Gradle by the team, but I don’t think that many of us would say that Maven

Re: [osgi-dev] Using Gradle or Maven on a new OSGi project

2019-07-25 Thread Stephen Schaub via osgi-dev
A brief follow-up to this thread, after another month into my project: I have found that although Gradle will work fine as a build tool for OSGi, it does seem that Maven is better supported for OSGi development in Eclipse. For example, the Eclipse bndtools plugins support live code deployment if y

Re: [osgi-dev] Using Gradle or Maven on a new OSGi project

2019-06-25 Thread Stephen Schaub via osgi-dev
Thanks to all for the helpful responses. I was concerned about using Gradle as a build tool because so many OSGi resources I was finding seemed to be using Maven, and the change of enRoute docs from Gradle to Maven seemed to communicate a move away from Gradle as a "preferred" build tool. But given

Re: [osgi-dev] Using Gradle or Maven on a new OSGi project

2019-06-25 Thread BJ Hargrave via osgi-dev
Bnd supports Gradle and Maven. So you can use Gradle if you prefer (I personally prefer Gradle.)   OSGi enRoute is now using Maven since it is, by far, much more popular than Gradle. But a Gradle variant of enRoute could also be made. But it is more work to dual maintain the variants. So with limit

Re: [osgi-dev] Using Gradle or Maven on a new OSGi project

2019-06-25 Thread Mark Hoffmann via osgi-dev
Hi Stephen, 1. Maven is very popular. So using maven makes it easy for a large audience to adopt OSGi. When there is an integration for the right build tool, people tend to rather try things out, then if they have to "learn" a new build tool. 2. You can also use gradle. We use only gradle to

Re: [osgi-dev] Using Gradle or Maven on a new OSGi project

2019-06-24 Thread Łukasz Dywicki via osgi-dev
Hey Stephen, Others can correct my points but from what I remember initial setup was based on gradle due to its flexibility. Since many things get promoted via Maven Central and Maven is still far more popular for traditional development [1], obvious choice was to introduce better support for Maven

[osgi-dev] Using Gradle or Maven on a new OSGi project

2019-06-24 Thread Stephen Schaub via osgi-dev
I'm new to OSGi and am starting a project. I found the enRoute material and noticed that the enRoute tutorials apparently at one time utilized Gradle as the build tool, but are now using Maven. I'm more familiar with Gradle and have worked out how to use Gradle to do what I need for the project, b