You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Giuseppe Barbieri <el...@gmail.com> on 2020/07/30 09:29:15 UTC
Re: Fwd: [Gradle] "Error Node: Source Package/Resource/Test Packages"
Hi,
basically Gradle java compilation is incredible slow (just a simple
variable value change trigger a recompile on the whole project, incremental
build seems broken)
So till Netbeans 8 we had a Gradle project (to handle all the dependencies)
and a plain project (to develop and debug)
Giuseppe
Il giorno mer 15 gen 2020 alle ore 15:51 Laszlo Kishalmi <
laszlo.kishalmi@gmail.com> ha scritto:
> Hi!
>
> You are most likely experiencing:
> https://issues.apache.org/jira/browse/NETBEANS-2629
>
> The wrong is the project layout. It seems you have some source folders
> which NetBeans detects to belong to at least two projects.
>
> We put out an error node instead of getting into confusion later on when
> files would be opened from that project.
>
> Right now project ownership is calculated as everything what is below the
> project folder belongs to the project..
>
> Please describe your use case if possible with some build files as well, I
> could probably come up a more precise implementation of file ownership
> detection.
> On 1/15/20 4:03 AM, Giuseppe Barbieri wrote:
>
> Hi,
>
>
> we have a fully working project (using Gradle) under Eclipse 8.2 and jdk8
>
> I updated it in order to use OpenJDK 11.05.
>
> It works flawless under Idea, but in Netbeans 11 I have the following
> error:
>
> https://imgur.com/f6StDVS
>
> I tried also Netbeans 11.2, same error
>
> What is wrong?
>
>
> Giuseppe
>
>
Re: Fwd: [Gradle] "Error Node: Source Package/Resource/Test Packages"
Posted by Laszlo Kishalmi <la...@gmail.com>.
On 7/30/20 2:29 AM, Giuseppe Barbieri wrote:
> Hi,
>
> basically Gradle java compilation is incredible slow (just a simple
> variable value change trigger a recompile on the whole project,
> incremental build seems broken)
>
> So till Netbeans 8 we had a Gradle project (to handle all the
> dependencies) and a plain project (to develop and debug)
>
This seems to be strange probably the build scripts needs to be
reevaluated. Try to run a Gradle build scan. Also if it is possible you
can send the project skeleton to me (build scripts, and basic directory
structure). So I can check what is going on.
>
> Giuseppe
>
> Il giorno mer 15 gen 2020 alle ore 15:51 Laszlo Kishalmi
> <laszlo.kishalmi@gmail.com <ma...@gmail.com>> ha scritto:
>
> Hi!
>
> You are most likely experiencing:
> https://issues.apache.org/jira/browse/NETBEANS-2629
>
> The wrong is the project layout. It seems you have some source
> folders which NetBeans detects to belong to at least two projects.
>
> We put out an error node instead of getting into confusion later
> on when files would be opened from that project.
>
> Right now project ownership is calculated as everything what is
> below the project folder belongs to the project..
>
> Please describe your use case if possible with some build files as
> well, I could probably come up a more precise implementation of
> file ownership detection.
>
> On 1/15/20 4:03 AM, Giuseppe Barbieri wrote:
>> Hi,
>>
>>
>> we have a fully working project (using Gradle) under Eclipse 8.2
>> and jdk8
>>
>> I updated it in order to use OpenJDK 11.05.
>>
>> It works flawless under Idea, but in Netbeans 11 I have the
>> following error:
>>
>> https://imgur.com/f6StDVS
>>
>> I tried also Netbeans 11.2, same error
>>
>> What is wrong?
>>
>>
>> Giuseppe
>