Hi,
# nb-javac
I don't see why a) and b) are exclusive. Let's ask the user if he wants
to download nb-javac or not at install time.
If he doesn't then let's add an option to download it later on
automatically from an update center, enabling other modules if required.
# the binaries
It seems to me we're going in circles about how to download binaries.
Either for the build system or for update centers. This is a recurring
problem we should tackle sooner or later. The sooner the better. Some
options I can think of (in brainstorming mode):
D1- Create Maven modules and upload them abusing Maven Central.
D2- Use Apache specific infrastructure to host binaries for NetBeans
(including weirdly licensed binaries). Is this possible?
D3- Ask Oracle for infrastructure to download binaries from.
D4- Buy some infrastructure to hold these binaries and make the users
pay for it.
D5- Ask a sponsor for this infrastructure.
Any other options someone? Which one of the above do you prefer and why?
Thanks
Antonio
El 14/11/17 a las 19:54, Jan Lahoda escribió:
Hello,
As we should be looking at working on the Java IDE part now (vote for the
platform release is running), I guess it is time to discuss what exactly we
do with nb-javac. Most of the Java editing features depend on a library
called "nb-javac" (features that are not Java related should work even
without nb-javac), which is basically a fork of javac from OpenJDK (under
GPLv2+CPE) with adjustments to make it work better inside NetBeans. This
cannot be distributed with Apache NetBeans, but my understanding is that
the user can add the library manually (and that the IDE can help with that):
https://issues.apache.org/jira/browse/LEGAL-279
So, I wonder what exactly do we do. There are two options:
a) just provide guidance to the user to manually download the library and
place it at the proper place. The current infrastructure mostly supports
this, we just might need to have some better texts in the initial dialog
about modules that cannot be enabled.
b) attempt to more automatically download the library - this would need
some more work I think, and I wonder if this is acceptable. (Also, there
may be proxy issues, as the IDE would not be really started at that point.)
Another aspect is from where to download the library: I assume we would
need a reasonably stable place to which we could point the users.
Are there any opinions on this?
Thanks,
Jan