You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Simon IJskes - QCG <si...@qcg.nl> on 2018/07/02 16:40:36 UTC

external dependencies for ant

The ant email task will not work with the current trunk, when run with 
JDK10.

The solution would be according to ant-dev to download the JAF yourself.

A quick look at the license [1] and /home/legal [2] shows JAF has a CDDL 
license and this license is allowed for binary distribution by apache.

Does it make sense to work on including it in netbeans?

G. Simon

[1] https://github.com/javaee/activation/blob/master/LICENSE.txt
[2] https://www.apache.org/legal/resolved.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: external dependencies for ant

Posted by "William L. Thomson Jr." <wl...@o-sinc.com>.
On Mon, 2 Jul 2018 18:40:36 +0200
Simon IJskes - QCG <si...@qcg.nl> wrote:

> The ant email task will not work with the current trunk, when run
> with JDK10.
> 
> The solution would be according to ant-dev to download the JAF
> yourself.
> 
> A quick look at the license [1] and /home/legal [2] shows JAF has a
> CDDL license and this license is allowed for binary distribution by
> apache.
> 
> Does it make sense to work on including it in netbeans?

Something will need to be done  as JAF and others are removed from JDK
starting with Java 11.
http://jdk.java.net/11/release-notes#JDK-8190378

For JDK9-10 you can use 
--add-modules java.activation
Or
--add-modules  java.se.ee

More like 9+ but I cover some of that stuff here
https://github.com/Obsidian-StudiosInc/java9-cheat-sheet

I think it is safe to add now, just have to make sure the module in JDK
9 and 10 is not visible. Which usually is included with other modules
like java.se.ee in 9 and 10, but removed in 11.

There are a few modules that need new deps.
netbeans-openide-awt -> JAF
netbeans-editor-settings-lib -> JSR-222 jaxb-api

A bunch need javax.annotation-api, 114 of 302 I have packaged.

-- 
William L. Thomson Jr.