[ 
https://issues.apache.org/jira/browse/NETBEANS-6366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17480939#comment-17480939
 ] 

Karl Bönisch commented on NETBEANS-6366:
----------------------------------------

thx, for the answer

so the root-project contains the settings.gradle ( but also in the same time 
sources).

It will be difficult for us to the recommended changes, because we have a lot 
more of other root-projects in/on the same directory level. 

Means: if we use the recommended structure( having all "subproject" under the 
root project), we need to make copies of a lot these subprojects.

 Making single (root)projects of the subprojects, which are used, is that's why 
difficult, because there are a lot of daily changes, so that they need to be 
changes in all other root projects :(

So the main question, can we expect that this( our structure) will work in the 
next release of NB or do we need to restucture everything. Then I need to 
calculate a bigger timeframe for restructuring. 

Thx for an answer.

 

> Gradle subproject are not shown and cannot be processed
> -------------------------------------------------------
>
>                 Key: NETBEANS-6366
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6366
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>    Affects Versions: 12.5, 12.6
>         Environment: WINDOWS 10
> LINUX SUSE Leap 15.3
>            Reporter: Karl Bönisch
>            Assignee: Laszlo Kishalmi
>            Priority: Major
>         Attachments: NETBEANS-6366.7z, image-2022-01-06-17-47-13-994.png, 
> image-2022-01-06-17-48-29-503.png
>
>
> Open a gradle project with Netbeans 8.2 everything is fine and we can work 
> with.
> After Netbeans 12( may be also before ) the same gradle project cannot be 
> opened or better can be opened, but subprojects are not shown and sources( 
> here swing incl. swingx screens cannot be opened)
> When moving the subproject under the root project everything is working ( 
> also > NB 12 ) !(Before I thought it was the Nullpointer - NETBEANS-6055 
> error).
> The source folders are only seen in the "Files" Tab.
> We have the following project structure
> Settings.gradle
> includeFlat "UniAccessConfig", \
>             "GL/GL/GLGL031", \
>             "GL/GU/GLGU050", \
>             "GL/GU/GLGU055", \
>             "GL/GU/GLGU060", \
>             "../GLSCommon/GLSCommon", \
>             "../GLSCommon/GLSGUI", \
>             "../GLSCommon/GLSUtils", \
>             "../GLSCommon/GLSResourceLib", \
>             "../GLSCommon/GLSFonts", \
>             "../GLSConstants"
> project (":UniAccessConfig").name = 'UniAccessConfig'
> project (":GL/GL/GLGL031").name = 'GLGL031'
> project (":GL/GU/GLGU050").name = 'GLGU050'
> project (":GL/GU/GLGU055").name = 'GLGU055'
> project (":GL/GU/GLGU060").name = 'GLGU060'
> project (":../GLSCommon/GLSCommon").name = 'GLSCommon'
> project (":../GLSCommon/GLSGUI").name = 'GLSGUI'
> project (":../GLSCommon/GLSUtils").name = 'GLSUtils'
> project (":../GLSCommon/GLSResourceLib").name = 'GLSResourceLib'
> project (":../GLSCommon/GLSFonts").name = 'GLSFonts'
> project (":../GLSConstants").name = 'GLSConstants'
> also does not work  doing in settings.gradle
> include "UniAccessConfig"
> include "GLGL031"
> include "GLGU050"
> include "GLGU055"
> include "GLGU060"
> include "GLSCommon"
> include "GLSGUI"
> include "GLSUtils"
> include "GLSResourceLib"
> include "GLSFonts"
> include "GLSConstants"
> project(":UniAccessConfig").projectDir = new 
> File("$rootDir/../UniAccessConfig")
> project(":GLGL031").projectDir = new File("$rootDir/../GL/GL/GLGL031")
> project(":GLGU050").projectDir = new File("$rootDir/../GL/GU/GLGU050")
> project(":GLGU055").projectDir = new File("$rootDir/../GL/GU/GLGU055")
> project(":GLGU060").projectDir = new File("$rootDir/../GL/GU/GLGU060")
> project(":GLSCommon").projectDir = new 
> File("$rootDir/../../GLSCommon/GLSCommon")
> project(":GLSGUI").projectDir = new File("$rootDir/../../GLSCommon/GLSGUI")
> project(":GLSUtils").projectDir = new 
> File("$rootDir/../../GLSCommon/GLSUtils")
> project(":GLSResourceLib").projectDir = new 
> File("$rootDir/../../GLSCommon/GLSResourceLib")
> project(":GLSFonts").projectDir = new 
> File("$rootDir/../../GLSCommon/GLSFonts")
> project(":GLSConstants").projectDir = new File("$rootDir/../../GLSConstants")
> I will attach some hardcopies to see the difference between NB 8.2 and 12.6
> NB 8.2:
> !image-2022-01-06-17-47-13-994.png!
> NB 12.6
> !image-2022-01-06-17-48-29-503.png!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to