Re: Initial success!!! was -> Packaging Netbeans 9 on Gentoo

2017-11-27 Thread William L. Thomson Jr.
On Mon, 27 Nov 2017 06:40:14 -0500 Emilian Bold wrote: > Congrats! Keep us posted. I'm really enjoying it. Thanks, I very much appreciate the assistance even just pointers. I would be no where without annotation processing that is for sure :) > I thought about using

Re: Initial success!!! was -> Packaging Netbeans 9 on Gentoo

2017-11-27 Thread Emilian Bold
uccess!!! was -> Packaging Netbeans 9 on Gentoo >Local Time: November 27, 2017 3:56 AM >UTC Time: November 27, 2017 1:56 AM >From: wlt...@o-sinc.com >To: dev@netbeans.incubator.apache.org > >Finally making some progress!!! > >http://www.enlightenment.org/ss/e-5a1b6f9f3dc736.756850

Re: Packaging Netbeans 9 on Gentoo

2017-11-27 Thread William L. Thomson Jr.
The fix for most resource issues like below is --source-path src Once I added that, resources were found :) On Sun, 26 Nov 2017 18:11:45 -0500 "William L. Thomson Jr." wrote: > On Sun, 26 Nov 2017 17:18:15 -0500 > "William L. Thomson Jr." wrote: > > >

Re: Initial success!!! was -> Packaging Netbeans 9 on Gentoo

2017-11-26 Thread William L. Thomson Jr.
Finally making some progress!!! http://www.enlightenment.org/ss/e-5a1b6f9f3dc736.75685030.jpg Getting lots of popups, exceptions to deal with still. I had to stop using the ActionProcessor for now. Like the StaticResources one. They seem to not find resources. I even turned on -verbose, and I

Re: Packaging Netbeans 9 on Gentoo

2017-11-26 Thread William L. Thomson Jr.
On Sun, 26 Nov 2017 18:11:45 -0500 "William L. Thomson Jr." wrote: > On Sun, 26 Nov 2017 17:18:15 -0500 > "William L. Thomson Jr." wrote: > > > On Sun, 26 Nov 2017 14:11:18 -0500 > > "William L. Thomson Jr." wrote: > > > > > There is

Re: Packaging Netbeans 9 on Gentoo

2017-11-26 Thread William L. Thomson Jr.
On Sun, 26 Nov 2017 17:18:15 -0500 "William L. Thomson Jr." wrote: > On Sun, 26 Nov 2017 14:11:18 -0500 > "William L. Thomson Jr." wrote: > > > There is also a StaticProcessor but seems only used by 1 class for > > icons. Also a LayerProcessor, which I

Re: Packaging Netbeans 9 on Gentoo

2017-11-26 Thread William L. Thomson Jr.
On Sun, 26 Nov 2017 17:41:20 -0500 Emilian Bold wrote: > It's not moot how they are generated. If you copy-paste by hand then > will get out of sync when the NetBeans sources change. Why do some sources have them in the first place then? Seems they should be

Re: Packaging Netbeans 9 on Gentoo

2017-11-26 Thread Emilian Bold
have to get those annotation processors right. --emi > Original Message >Subject: Re: Packaging Netbeans 9 on Gentoo >Local Time: November 26, 2017 9:14 PM >UTC Time: November 26, 2017 7:14 PM >From: wlt...@o-sinc.com >To: dev@netbeans.incubator.apache.org >

Re: Packaging Netbeans 9 on Gentoo

2017-11-26 Thread William L. Thomson Jr.
On Sun, 26 Nov 2017 14:11:18 -0500 "William L. Thomson Jr." wrote: > > > There are many processors, see ServiceProviderProcessor for > > @ServiceProvider annotations then we have annotations for actions, > > etc. > > I grepped for AbstractProcessor usage. I only found a

Re: Packaging Netbeans 9 on Gentoo

2017-11-26 Thread William L. Thomson Jr.
On Sun, 26 Nov 2017 14:11:18 -0500 "William L. Thomson Jr." wrote: > > 9.0_alpha_rc2-os-xtoo] org.netbeans.api.progress.nb [1.48 > 9.0_alpha_rc2-os-xtoo] org.netbeans.api.progress [1.48 > 9.0_alpha_rc2-os-xtoo] org.netbeans.api.java [1.66 > 9.0_alpha_rc2-os-xtoo]

Re: Packaging Netbeans 9 on Gentoo

2017-11-26 Thread William L. Thomson Jr.
On Sun, 26 Nov 2017 14:11:18 -0500 "William L. Thomson Jr." wrote: > > > > There are many processors, see ServiceProviderProcessor for > > @ServiceProvider annotations then we have annotations for actions, > > etc. > > I grepped for AbstractProcessor usage. I only found a

Re: Packaging Netbeans 9 on Gentoo

2017-11-26 Thread William L. Thomson Jr.
Latest road block, maybe a missing java module not sure. org.xml.sax.SAXException: java.net.MalformedURLException: unknown protocol: nbres at org.netbeans.core.startup.layers.ParsingLayerCacheManager.startElement(ParsingLayerCacheManager.java:210) at

Re: Packaging Netbeans 9 on Gentoo

2017-11-26 Thread Antonio
El 26/11/17 a las 10:33, William L. Thomson Jr. escribió: But before digging into that, how are you going to build the patched external binaries NetBeans requires to run? Have you given a thought to that? Which ones do you mean? Worse case I can package those as well. Some NetBeans

Re: Packaging Netbeans 9 on Gentoo

2017-11-26 Thread Emilian Bold
ct: Re: Packaging Netbeans 9 on Gentoo >Local Time: November 26, 2017 11:33 AM >UTC Time: November 26, 2017 9:33 AM >From: wlt...@o-sinc.com >To: dev@netbeans.incubator.apache.org > >On Sun, 26 Nov 2017 07:33:35 +0100 > Antonio anto...@vieiro.net wrote: >>That's because you're not

Re: Packaging Netbeans 9 on Gentoo

2017-11-26 Thread William L. Thomson Jr.
On Sun, 26 Nov 2017 07:33:35 +0100 Antonio wrote: > That's because you're not running the annotation processors. I am using NbBundleProcessor. Is there another? I can look. The static one used in 1 place for 2 icons I bypassed. It was having problems finding the icons in its

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread Antonio
That's because you're not running the annotation processors. But before digging into that, how are you going to build the patched external binaries NetBeans requires to run? Have you given a thought to that? Cheers, Antonio El 26/11/17 a las 02:28, William L. Thomson Jr. escribió: On Sat,

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread William L. Thomson Jr.
On Sat, 25 Nov 2017 12:29:30 -0500 "William L. Thomson Jr." wrote: > > Presently stuck at > > java.lang.AssertionError: Has to be NbRepository: > org.openide.filesystems.Repository@3ab8ef5a > at org.netbeans.core.startup.Main.start(Main.java:281) > at >

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread Antonio
Upload one or more resulting jars, for we to review. Our pleasure helping out! :-) El 25/11/17 a las 22:39, William L. Thomson Jr. escribió: On Sat, 25 Nov 2017 22:33:17 +0100 Antonio wrote: Hi, Please upload the result somewhere so we can take a look by tomorrow.

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread William L. Thomson Jr.
On Sat, 25 Nov 2017 16:48:59 -0500 "William L. Thomson Jr." wrote: > I was missing openide.filesystems.compat8 > > With that I get new errors, proress!!! False alarm... That just caused an exception with asm missing. Once I added that, back to error... g :(

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread William L. Thomson Jr.
I was missing openide.filesystems.compat8 With that I get new errors, proress!!! On Sat, 25 Nov 2017 12:29:30 -0500 "William L. Thomson Jr." wrote: > > Presently stuck at > > java.lang.AssertionError: Has to be NbRepository: > org.openide.filesystems.Repository@3ab8ef5a >

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread William L. Thomson Jr.
On Sat, 25 Nov 2017 22:24:38 +0100 Antonio wrote: > > _ALL_ the files. This includes nested directories and their contents. > META-INF/services/* is key for NetBeans to run. There may be some > other files there as well. Keep the structure as is. I am copying them over as

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread Antonio
Hi, Please upload the result somewhere so we can take a look by tomorrow. Cheers, Antonio El 25/11/17 a las 22:29, William L. Thomson Jr. escribió: Fixed warning, but still fails. Thinking something is missing from /usr/share/netbeans-9/config/Modules/ Or its not seeing modules in

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread William L. Thomson Jr.
Fixed warning, but still fails. Thinking something is missing from /usr/share/netbeans-9/config/Modules/ Or its not seeing modules in /usr/share/netbeans-9/modules/ I put the auto files when they exist in /usr/share/netbeans-9/config/ModuleAutoDep/ Not sure but clearly something is missing

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread Antonio
El 25/11/17 a las 22:09, William L. Thomson Jr. escribió: On Sat, 25 Nov 2017 22:03:06 +0100 Antonio wrote: El 25/11/17 a las 21:46, William L. Thomson Jr. escribió: Great thanks, but that is not needed as much as other stuff. Though I may need to know what modules I

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread William L. Thomson Jr.
On Sat, 25 Nov 2017 22:03:06 +0100 Antonio wrote: > El 25/11/17 a las 21:46, William L. Thomson Jr. escribió: > > Great thanks, but that is not needed as much as other stuff. Though > > I may need to know what modules I should link into a default minimal > > install. Still

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread Antonio
El 25/11/17 a las 21:46, William L. Thomson Jr. escribió: Great thanks, but that is not needed as much as other stuff. Though I may need to know what modules I should link into a default minimal install. Still working on getting that started. No UI atm. Though I think I know why. Duplicate

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread William L. Thomson Jr.
On Sat, 25 Nov 2017 21:13:26 +0100 Antonio wrote: > > The problem when trying to compile NetBeans modules is handling > dependencies properly. You need to compile some modules before some > others. Yes but that works itself out. As I build one piece, it needs stuff from

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread Antonio
Hi, Some comments inlined below. El 25/11/17 a las 20:20, William L. Thomson Jr. escribió: On Sat, 25 Nov 2017 18:59:47 +0100 Antonio <anto...@vieiro.net> wrote: Hi, I'm afraid I'm confused. The subject of your email says "Packaging NetBeans 9 on Gentoo" but then you'

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread William L. Thomson Jr.
On Sat, 25 Nov 2017 18:59:47 +0100 Antonio <anto...@vieiro.net> wrote: > Hi, > > I'm afraid I'm confused. > > The subject of your email says "Packaging NetBeans 9 on Gentoo" but > then you're not packaging NetBeans 9 on Gentoo, but packaging > NetBean

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread William L. Thomson Jr.
On Sat, 25 Nov 2017 13:15:51 -0500 Emilian Bold wrote: > Antonio, he's not using our ant build system at all. Basically trying > to build NetBeans using only our sources and the Gentool build > scripts/-specific tools. > > It's extra work but doable in the end. Might

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread Emilian Bold
ct: Re: Packaging Netbeans 9 on Gentoo >Local Time: November 25, 2017 7:59 PM >UTC Time: November 25, 2017 5:59 PM >From: anto...@vieiro.net >To: dev@netbeans.incubator.apache.org > >Hi, > > I'm afraid I'm confused. > > The subject of your email says "Packagin

Re: Packaging Netbeans 9 on Gentoo

2017-11-25 Thread Antonio
Hi, I'm afraid I'm confused. The subject of your email says "Packaging NetBeans 9 on Gentoo" but then you're not packaging NetBeans 9 on Gentoo, but packaging NetBeans in "abnormal ways" using the Gentoo packaging system. Why are you packaging NetBeans in &

Packaging Netbeans 9 on Gentoo

2017-11-25 Thread William L. Thomson Jr.
Greetings all, Just starting a thread here since I did on the old mailing list. Just to recap for those who missed it. I am packaging Netbeans in abnormal ways using Gentoo packaging system. I am not using Netbeans ant build system. That was in use on Gentoo but is to cumbersome. This new