<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><br class=""><blockquote type="cite" class=""><div class=""><div class="">Well, Python/Java are ~7% of LOC in LibreOffice core repo, and less then 2%(?)<br class="">of the shipped core product.<br class=""></div></div></blockquote><div><br class=""></div>But if I want to make an executable within the IDE, or debug e.g. some of the unit test I still need it.</div><div><br class=""></div><div>One of the hard points for new people is actually to be able to debug unit tests.</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class="">The simple use case, of being able to develop/build/debug within the<br class="">IDE....especially debugging is important. setting breakpoints on the lines<br class="">and viewing variables is what students learn todo.<br class=""></blockquote><br class="">Thats already possible with existing IDE integrations. <br class=""></div></div></blockquote>At least not in the Xcode integration.</div><div><br class=""></div><div>for a couple of reasons (which might apply to windows as well, will test that later):</div><div>- the debugger cannot run, it has not main executable.</div><div>- make and Xcode puts objects in different places.</div><div>- Also it is important to see the relationship between modules (especially when searching for symbols).</div><div><br class=""></div><div><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class="">Students want to do all development within the IDE, and I do not see why it should be impossible.<br class=""></blockquote><br class="">"All development within the IDE" (including breakpoints and debugging) is already<br class="">the status quo.<br class=""><br class=""></div></div></blockquote>I might be doing something wrong, but I have until and including today, not being able to 1/ set a breakpoint 2/ press debug 3/ stop at the breakpoint, neither in windows nor in Xcode.</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div class="">1/ LibreOffice core development (in C++) as described above is already covered<br class=""> by existing solutions.</div></div></blockquote><div><br class=""></div>See above, right now the Xcode-ide-integration has another problem:</div><div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Jans-iMac:work jani$ make xcode-ide-integration</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make -j 8 -rs -f /Volumes/LIBREOFFICE/play/core/Makefile.gbuild gbuildtojson</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">cd /Volumes/LIBREOFFICE/play/core && /Volumes/LIBREOFFICE/play/core/bin/gbuild-to-ide --ide xcode --make make</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Traceback (most recent call last):</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> File "/Volumes/LIBREOFFICE/play/core/bin/gbuild-to-ide", line 1651, in <module></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> gbuildparser = GbuildParser(args.makecmd).parse()</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> File "/Volumes/LIBREOFFICE/play/core/bin/gbuild-to-ide", line 180, in parse</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> lib = self.__lib_from_json(json.load(f))</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> File "/Volumes/LIBREOFFICE/play/core/bin/gbuild-to-ide", line 131, in __lib_from_json</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> GbuildParser.libpattern.match(os.path.basename(json['MAKEFILE'])).group(1),</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">AttributeError: 'NoneType' object has no attribute 'group'</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Makefile:413: recipe for target 'xcode-ide-integration' failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make: *** [xcode-ide-integration] Error 1</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">which I will investigate and patch.</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><blockquote type="cite" class=""><div class=""><div class="">2/ Python/Java non-core development support is somewhat lacking. But the<br class=""> solution there is not fiddling around with gbuild -- rather rewriting the<br class=""> LibreOffice SDK (<a href="http://api.libreoffice.org/docs/install.html" class="">http://api.libreoffice.org/docs/install.html</a>) and make it<br class=""> trivial to install and use. C++ isnt a priority for that[1].<br class=""></div></div></blockquote>We should not be fiddling with the gbuild system, I never suggested that.</div><div><br class=""></div><div>But you forget that we have many unit tests written in Java and python, which we ask new people to debug when they have problems.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div class="">Also note for 1/ we really, really only want _one_ build system. The _current_<br class="">plethora of build configurations and platforms is already an major factor in<br class="">slowing down development and we really, really dont want to want to add more<br class="">"diversity" or TIMTOWTDI there[3].<br class=""></div></div></blockquote>I politely disagree here. we have 1 master build system and that is gbuild, but I cannot see anything hindering, that we use the ONE build system, to generate e.g. a IDE build system.</div><div><br class=""></div><div>I never suggested, and will not suggest to have a second build system as master.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div class="">So again: What usecase that isnt covered by existing solutions are you looking<br class="">for?<br class=""></div></div></blockquote>Simply put, to be able to debug in the IDE, make simple changes, run again and see the effect, which I still have not been able to do.</div><div><br class=""></div><div>rgds</div><div>jan i.</div><br class=""></body></html>