On Tue, Feb 25, 2020 at 11:49 PM Sven Reimers <[email protected]> wrote:
> Anybody any clue why cnd.antlr was nor donated? > I suspect it is the usual: not having sufficient rights to do so. (Which, frankly, makes sense, given this is a fork on the antlr project.) Anyway, I think it is a relatively small issue, compared to many others. Jan > Would it helpful to try to get it donated with the next donation? > > Just curious > > -Sven > > Jan Lahoda <[email protected]> schrieb am Di., 25. Feb. 2020, 21:19: > > > On Tue, Feb 25, 2020 at 11:24 AM Peter Kovacs <[email protected]> wrote: > > > > > I am sorry, no offense ment. I do not understand some of your > decisions. > > > > > > Can you maybe elaborate? Whatever your desicion is based on it is okay > > > for me. > > > > > > > > > Why did you start over and not based your work on GJs repo? > > > > > > > I tried to make it so that we can join histories (i.e. put the Emilian's > > repository based on the Mercurial version) below the apache/netbeans > > repository and have history for the files go as back as possible. It is > > entirely possible we might want/need to start over again. > > > > > > > > > > > > > why do you replace > > > > > > <specification-version>2.8</specification-version> > > > > > > with > > > > > > <specification-version>1.0</specification-version> > > > > > > in > > > > > > cnd/cnd.asm/nbproject/project.xml > > > < > > > > > > https://github.com/jlahoda/netbeans/commit/5d700b28fd371f940c195d24d932e70c6de7feb7#diff-58679d11d8852ddf2aaef67775925000 > > > > > > > > > > > > > > > ? > > > > > > > cnd.antlr was not donated. The direction that I took is to take a build > of > > cnd.antlr, and include it as a binary - it cannot be part of the Apache > > repo, but if there's a binary, Apache NetBeans can use it, as it was > under > > (among other) the CDDL license. To include it as a binary, I created a > new > > lib module, and simply started the versioning from 1.0. Not sure that's > > important at all - we can rename the module, change its version or > > anything, and does not change much. That module is likely to need some > > cleanup anyway. > > > > > > > I try to follow your guide to see if it builds for me. > > > > > > Maybe you should consider a pull request towards GJ so we get one > > > central cnd version that can be committed back into the main tree. > > > > > > > It would be IMO much better to have a shared repository (or at least a > > branch) under Apache. > > > > Jan > > > > > > > > > > Am 25.02.20 um 08:22 schrieb Jan Lahoda: > > > > FWIW, a few days ago, I tried to make CND buildable. The experiment > is > > > > available here: > > > > https://github.com/jlahoda/netbeans/tree/cnd-building > > > > > > > > A number of files need to be added to make the build work, see the > > > > description here: > > > > https://github.com/jlahoda/netbeans/blob/cnd-building/README.cnd > > > > > > > > (It would be useful if someone could try to build independently using > > the > > > > instructions, to find any issues with them.) > > > > > > > > The question is how to continue with this - bringing the CND source > > code > > > in > > > > line with Apache rules is going to be quite some work, maintaining > the > > > > C/C++ support will be some work also, and I don't think I have time > to > > > work > > > > on that much. > > > > > > > > Jan > > > > > > > > > > > > On Mon, Feb 24, 2020 at 7:20 PM Peter Kovacs <[email protected]> > wrote: > > > > > > > >> I am tried building Clank today. It seems I need the netbeans build > > > >> hearness. And I do not know how to set that up. > > > >> > > > >> The Message talks of > > > >> > > > >> Check that nbplatform.NetBeans_IDE_CND_Dev.netbeans.dest.dir and > > > >> nbplatform.NetBeans_IDE_CND_Dev.harness.dir are defined. > > > >> On a developer machine these are normally defined in > > > >> ${user.properties.file}=${netbeans.user}/build.properties > > > >> but for automated builds you should pass these properties to Ant > > > >> explicitly. > > > >> You may instead download the harness and platform: > > > >> -Dbootstrap.url=.../tasks.jar > -Dautoupdate.catalog.url=.../updates.xml > > > >> > > > >> > > > >> So I set the Variables to my netbeans Folder? Or would it make more > > > >> sense to move the Clank modules into the netbeans repository? > > > >> > > > >> Like the others? > > > >> > > > >> I am usure what would be the best way to proceed. The project is > under > > > >> LLVM License. > > > >> > > > >> > > > >> Thanks for your time. > > > >> > > > >> All the Best > > > >> > > > >> Peter > > > >> > > > >> > > > >> Am 14.02.20 um 09:50 schrieb Peter Kovacs: > > > >>> Hi Ivan, > > > >>> > > > >>> Am 14.02.20 um 07:30 schrieb Ivan Soleimanipour: > > > >>>> On 2/13/20 6:23 AM, Peter Kovacs wrote: > > > >>>>> Okay, > > > >>>>> > > > >>>>> I had to remove validation.nb.cluster.cnd=cnd.kit, too. > > > >>>>> > > > >>>>> Now I get the Target "all-cnd" does not exist in the project > > "main". > > > >>>>> error. > > > >>>>> > > > >>>>> However I get the same error when trying to build dlight. > > > >>>>> > > > >>>>> Now from the Jira I concluded that I might need to call ant > > > >>>>> differently. So I tried > > > >>>>> > > > >>>>> ant -f cnd/cnd.editor -Dcluster.config=cnd run > > > >>>>> > > > >>>>> Now I am stuck on the Issue > > > >>>>> > > > >>>>> netbeans/nbbuild/templates/projectized.xml:101: No dependent > module > > > >>>>> org.netbeans.libs.clank > > > >>>>> > > > >>>>> So next step would be to build clank from > > > >>>>> > > > >>>>> https://github.com/java-port/clank ? > > > >>>>> > > > >>>> I think that will feed the dependency avalanche. > > > >>> It does not have additional external dependencies. And its file > > > >>> structure shows it comes from netbeans. The License is however > > unclear. > > > >>> > > > >>> Also the code seems abandond. So I see other issues then > > dependencies. > > > >>> > > > >>> Also it is a link to a build tool (clang) which is handy. Some > people > > > >>> work with the toolset. > > > >>> > > > >>>> org.netbeans.libs.clank is just a bundle file (bundle files mostly > > > >>>> contain default i18n text) so it should just > > > >>>> build w/o any issues. I.e. _don't_ remove libs.clank from > > > >>>> nb.cluster.cnd > > > >>>> > > > >>>>> I tried to remove the dependency clank from the cluster, but ant > > > >>>>> stayed persistant in requesting clank. > > > >>>> "ant clean" to the rescue? > > > >>> Ohh yea did not try. :) Thanks for this beginner pointer. > > > >>>> > > > >>>>> Am 09.02.20 um 10:28 schrieb Geertjan Wielenga: > > > >>>>>> Thanks a lot for this history lesson -- so great that we have > > > >>>>>> people with > > > >>>>>> this long perspective on where the code came from and so on. > > > >>>> Hmm ... Geertjan ... I never received your reply. I'm only seeing > it > > > >>>> for the first time in Peters quote. > > > >>>> Case of Reply vs ReplyAll or ??? > > > >>> Yes, I did not notice too. Or I would have forwarded. > > > >>>>>> I have also seen "Target "all-cnd" does not exist in the project > > > >>>>>> "main"". > > > >>>>>> > > > >>>>>> But then sometimes it just goes away. > > > >>>> No such luck with me. > > > >>>> > > > >>>>>> Reminds me a bit of this discussion: > > > >>>>>> > > > >>>>>> > > > >> > > > > > > http://mail-archives.apache.org/mod_mbox/netbeans-dev/201809.mbox/%3ccackjaxssrrl66sua9heyqqxy4oyrxygkyemvg50rktrda-e...@mail.gmail.com%3E > > > >>>> Yeah, looks familiar but the resolution was "magical". > > > >>>> > > > >>>>>> If you/we can get further with this, that would be great > > > >>>> I poked at it some more and learned a bit more: > > > >>>> > > > >>>> The 'all-' list is built in the 'init' ant target. So you can > > > >>>> concentrate on the problem by just issuing > > > >>>> "ant -Dcluster.config=cnd init" and this is what you'll get: > > > >>>> Loading module list from /tmp/nb-scan-cache-2f523585-full.ser > > > >>>> [insert-module-all-targets] Cannot find build prerequisite > > > >>>> org.netbeans.modules.hibernate of > > > >>>> /home/open/nb-geertjan/contrib/hibernateweb > > > >>>> > > > >>>> I _think_ the contrib/hibernateweb error is a red herring ... it's > > > >>>> just a warning as it _doesn't_ abort the build. > > > >>> I did see the same error with same conclusion. > > > >>>> I took a look at my /tmp/nb-scan-cache-2f523585-full.ser. It's > > binary > > > >>>> but it's clear that it doesn't contain anything > > > >>>> relating to CND in it. I blew it away thinking it's stale but no > > joy. > > > >>>> In fact "ant clean" blows it away anyway. > > > >>>> > > > >>>> If you _do_ blow away your /tmp/nb-scan-cache-blah and try "ant > > > >>>> -Dcluster.config=cnd init" there's a bunch of stuff > > > >>>> that gets fetched from the cloud: > > > >>>> > > > >>>> [echo] Bootstrapping NetBeans-specific Ant extensions... > > > >>>> [javac] Compiling 95 source files to > > > >>>> /home/open/nb-geertjan/nbbuild/build/antclasses > > > >>>> [jar] Building jar: > > > >>>> /home/open/nb-geertjan/nbbuild/build/nbantext.jar > > > >>>> [configureproxy] Resetting proxyHost to empty string > > > >>>> [get] Getting: > > > >>>> > > > >> > > > > > > https://gitbox.apache.org/repos/asf?p=netbeans-jenkins-lib.git;a=blob_plain;f=meta/netbeansrelease.json > > > >>>> [get] To: > > > >>>> /home/open/nb-geertjan/nbbuild/build/netbeansrelease.json > > > >>>> [copy] Warning: Could not find file > > > >>>> /home/open/nb-geertjan/nbbuild/gitinfo.properties to copy. > > > >>>> [copy] Warning: Could not find file > > > >>>> /home/open/nb-geertjan/nbbuild/netbeansrelease.properties to copy. > > > >>>> > > > >>>> So ... is the netbeansrelease.json stuff on gitbox somehow lacking > > > >>>> CND? I poked around but it doesn't seem to > > > >>>> mention clusters anyway. > > > >>>> > > > >>>> nb-scan-cache is created by the ModuleListParser ant task. It uses > > > >>>> {nb.clusters.list} as input. Echoing {nb.clusters.list} > > > >>>> shows that it _does_ contain nb.cluster.cnd. > > > >>>> > > > >>>> That's where my investigations are at now.. > > > >>> Have you tried the following command? > > > >>> > > > >>> ant -f cnd/cnd.editor -Dcluster.config=cnd run > > > >>> > > > >>>>>> -- and please feel > > > >>>>>> free to provide pull requests to my fork. > > > >>>> Gladly but I don't have anything meaty yet. > > > >>>> > > > >>>> Peter, could you please try w/o removing the libs.clank > dependency? > > > >>> Yes, I have to integrate clank again. I hope I manage some time for > > > >>> this on the weekend. > > > >>> > > > >>> And I hope I get a license response. > > > >>> > > > >>> > > > >>> > --------------------------------------------------------------------- > > > >>> To unsubscribe, e-mail: [email protected] > > > >>> For additional commands, e-mail: [email protected] > > > >>> > > > >>> For further information about the NetBeans mailing lists, visit: > > > >>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >>> > > > >>> > > > >>> > > > >> > --------------------------------------------------------------------- > > > >> To unsubscribe, e-mail: [email protected] > > > >> For additional commands, e-mail: [email protected] > > > >> > > > >> For further information about the NetBeans mailing lists, visit: > > > >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >> > > > >> > > > >> > > > >> > > > > > >
