Maybe it was in some corrupted stage from when i imported the subproject 
directly into netbeans initially. after deleting and cleaning the repo i was 
able to import the project successfully on the second try. First try still did 
not work. Now, it works always. Rather strange…
During my whole testing i did not restart netbeans; only closed the projects 
and opened again. Maybe there is some metadata keep about the projects that 
caused problems.
Anyway, I am now happily using my multi grade project in netbeans.
Thanks for the support.

Cheers,
Daniel
> On 24 Oct 2019, at 14:59, Laszlo Kishalmi <laszlo.kisha...@gmail.com> wrote:
> 
> Hi,
> 
> It would be really good to see your project structure with the build scripts. 
> Fortunately for the users Gradle is really flexible which is a bit 
> unfortunate for the tooling support to try to cover all the cases.
> 
> I'm guessing that your settings.gradle is not in the root folder of your root 
> project, that could be one reason for your symptoms as we do not support that 
> scenario right now. The build.gradle is tested for the root project only, 
> subprojects are allowed to be "scriptless" (unless I made a bug in somewhere 
> against that).
> On 10/24/19 4:39 AM, Daniel Platz wrote:
>> Having another issue now. When i open a subproject now by going to the “Sub 
>> Projects”, the subproject for whatever reason seems to be opened/recognized 
>> as a root project.
>> First it was using the default grade version instead of using the version 
>> from the wrapper. I “Fixed” that by going to the Preferences and setting the 
>> correct grade version for the project. The error i am seeing now is that on 
>> open it complains that “Project with path ‘:subproject2’ could not be found 
>> in root project ‘subproject1’.”
>> I am trying to reproduce this in a minimal example that i can share but 
>> still unsuccessful. Will try some more and let you know.
>> Maybe someone can share how the mechanism works or point me to the 
>> source-code-file that is doing the recognition if something is a project or 
>> subproject?
>> 
>> Cheers
>> Daniel
>> 
>> 
>>> On 24 Oct 2019, at 12:51, Geertjan Wielenga <geert...@apache.org 
>>> <mailto:geert...@apache.org>> wrote:
>>> 
>>> Good to hear, thanks. And a small enhancement potential for Laszlo.
>>> 
>>> Gj
>>> 
>>> On Thu, Oct 24, 2019 at 12:50 PM Daniel Platz <daniel.pl...@me.com 
>>> <mailto:daniel.pl...@me.com>> wrote:
>>> Figured out the problem.
>>> My project did not have a build.gradle in the root project. Only a 
>>> settings.gradle.
>>> I added an empty build.gradle now and it is recognised and imported. Looks 
>>> awesome.
>>> I guess it would make sense to not require a build.gradle and maybe test 
>>> for the presence of the settings.gradle as well/instead; at least a 
>>> build.gradle is not required/mandatory.
>>> 
>>> Cheers,
>>> Daniel
>>> 
>>>> On 24 Oct 2019, at 12:15, Geertjan Wielenga <geert...@apache.org 
>>>> <mailto:geert...@apache.org>> wrote:
>>>> 
>>>> Is it available somewhere or can be reproduced somehow, yes multi module 
>>>> projects are supported, Laszlo, the creator of all the amazing Gradle 
>>>> support, is probably sleeping in the US right now, and if you can provide 
>>>> a way for him to reproduce this, he'll be able to do so when he wakes up 
>>>> in the morning. :-)
>>>> 
>>>> Gj
>>>> 
>>>> On Thu, Oct 24, 2019 at 12:06 PM Daniel Platz <daniel.pl...@me.com.invalid 
>>>> <mailto:daniel.pl...@me.com.invalid>> wrote:
>>>> Hi,
>>>> I have been coming back to Netbeans now after some time and was positively 
>>>> surprised that there is out-of-the-box support for Gradle. :-)
>>>> I am wondering if also multi-projects are supported? I have a project with 
>>>> two sub-projects but Netbeans does not seem to recognise it as one 
>>>> project. I can only try to open the sub-projects but it will fail after 
>>>> trying.
>>>> 
>>>> Cheers,
>>>> Daniel
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org 
>>>> <mailto:users-unsubscr...@netbeans.apache.org>
>>>> For additional commands, e-mail: users-h...@netbeans.apache.org 
>>>> <mailto:users-h...@netbeans.apache.org>
>>>> 
>>>> For further information about the NetBeans mailing lists, visit:
>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists 
>>>> <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>>>> 
>>> 
>> 

Reply via email to