The bug that keeps on giving. --emi
-------- Original Message -------- On 3 February 2018 8:52 AM, Peter Hull <peterhul...@gmail.com> wrote: >On Fri, 2 Feb 2018 at 22:03 Emilian Bold emilian.b...@protonmail.ch wrote: > >>I believe OpenSUSE could get a bug report that just says 'Apache NetBeans >> cannot be built with your custom Ant'. >>Yes, you are entirely right. But the temptation for them will be to ignore > it and/or blame the NetBeans build scripts for the problem. > > I have made some progress. I've narrowed it down to the xjc tool in JAXB > (specifically their use of com.sun.istack.tools.ProtectedTask to mess > around with classloaders) and can produce an error using a build.xml with > only two tasks in it. I thought the version of JAXB (2.2.5, pretty old) > bundled with NB might be the issue, unfortunately the latest release has a > bug which prevents its use (already reported on GitHub). Argh! Anyway, I > tried to rebuild Fedora's ant using their source RPM and, guess what, no > error. Argh 2! However, this is an itch I have to scratch and I will get > there in the end... > Pete > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists