Re: Allowing top down approach was: Maven experiment

2019-09-16 Thread Dmitry Avtonomov
g the build > > > > > > > > If we show from outside: > > > > We should cache a index of maven central (it takes time to get it 12min > > on apache build). > > > > If we are knowing the build > > > > We may use central coordinate f

Re: Maven experiment

2019-09-13 Thread Tim Boudreau
I put some of them that I find useful and know to be working on my update server, which anyone can use: https://timboudreau.com/modules/ For the rest, yeah, just clone and build and install the resulting nbms. -Tim

Re: Maven experiment

2019-09-11 Thread Jean-Marc Borer
@Tim Great job with the contrib. If one wants to use some of them, how should he proceed? Clone the repo, build all projects and then load the generated NBMs in its NB IDE? Cheers On Tue, Sep 3, 2019 at 4:46 PM Robert Scholte wrote: > This is all very useful information. > > To answer this que

Re: Allowing top down approach was: Maven experiment

2019-09-11 Thread Jean-Marc Borer
tral coordinate from externals. > > > > Regards > > Eric > > > > De : Jaroslav Tulach > Envoyé : mercredi 4 septembre 2019 09:26 > À : dev ; Jan Lahoda ; Eric > Barboni > Objet : Allowing top down approach was: Maven experiment > > > > Hi. &g

RE: Allowing top down approach was: Maven experiment

2019-09-04 Thread Eric Barboni
Lahoda ; Eric Barboni Objet : Allowing top down approach was: Maven experiment Hi. Jan just explained me what is going on and contrary to his suggestion in the quoted email we ended up with an idea to start converting the top-most clusters first. Maybe `enterprise`, etc. To make that

Allowing top down approach was: Maven experiment

2019-09-04 Thread Jaroslav Tulach
Hi. Jan just explained me what is going on and contrary to his suggestion in the quoted email we ended up with an idea to start converting the top-most clusters first. Maybe `enterprise`, etc. To make that possible I suggest small improvement to `nbbuild/templates/common.xml`: Let's add there a tar

Re: Maven experiment

2019-09-03 Thread Robert Scholte
This is all very useful information. To answer this question: So part of the question is, do you want to do this to say "hey cool, see, it can be done" or so that the result actually *becomes* the NetBeans build system? I'd start with the first phrase. One can learn a lot from doing such e

Re: Maven experiment

2019-09-03 Thread Tim Boudreau
FYI, I have thought of taking on that project. About a year ago I converted the entire netbeans contrib repository to Maven - https://github.com/timboudreau/netbeans-contrib 95% of it was automated, with manual cleanup frequently needed. The tooling I used for it is basically my personal pile of

Re: Maven experiment

2019-09-02 Thread Geertjan Wielenga
Yes, if anyone can achieve this it will be Robert, Apache Maven PMC Chair. :-) Would be a great way for Maven and NetBeans to work together. Thanks for the info on where he might be able to start Jan. Indeed, the “platform” cluster on our GitHub, would be the first set of modules and there specific

Re: Maven experiment

2019-09-02 Thread Jan Lahoda
Hi Robert, I'd recommend to start with platform/openide.util.lookup - the code for it does not have any dependencies, the group of its test dependencies is fairly small and self-contained, and the resulting jar is useful by itself. It also shows what Lazslo mentioned - a semi-circular dependency i

Re: Maven experiment

2019-09-02 Thread Laszlo Kishalmi
If you have the courage, then go for it! Though I think it is currently far beyond what Maven can do, especially concerning some circular dependencies between modules on test configuration. Maven is simply not flexible enough for the Job. I have a branch to have the NetBeans work with Gradle a

Re: Maven experiment

2019-09-02 Thread Robert Scholte
With internal dependencies I mean: jars that are also part of Netbeans. I'd like to start with those parts of the project that doesn't have any Netbeans dependencies. If Netbeans has some jars with only APIs, those might be interesting parts to start with. Robert On Mon, 02 Sep 2019 23:37:1

Re: Maven experiment

2019-09-02 Thread Geertjan Wielenga
What do you mean by least amount of internal dependencies? Both Ant and Maven are supported out of the box, no dependencies or plugins from outside NetBeans are needed. Gj On Mon, 2 Sep 2019 at 23:24, Robert Scholte wrote: > Hi, > > this month I'll be giving a training about Maven. The last pa

Maven experiment

2019-09-02 Thread Robert Scholte
Hi, this month I'll be giving a training about Maven. The last part of the session I want to use to transform existing projects to Maven. Since Netbeans is still using Ant, it might be an interesting experiment to see if this project can ALSO be built with Maven. To increase the chance of suc