[ 
https://issues.apache.org/jira/browse/NETBEANS-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaroslav Tulach closed NETBEANS-4938.
-------------------------------------

I've just created new Java Frontend Application project with commit 
{color:#000000}cee80c2704dac3e35f71e5cefea67916a7ff7dc2{color}
and the result is great:

!image-2020-10-27-05-52-46-561.png!

Sources are visible, there are no errors, configurations are present. Thank you.

 

The only missing piece (compared to Maven) is the "Web Pages" node, but that's 
not a bug report, but a feature request for some future version of NetBeans.

> Missing sources & co. after creating Gradle Frontend App in 12.2-beta2
> ----------------------------------------------------------------------
>
>                 Key: NETBEANS-4938
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4938
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>    Affects Versions: 12.2
>            Reporter: Jaroslav Tulach
>            Assignee: Laszlo Kishalmi
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 12.2
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> I am trying to test
> "New Project/Java with Gradle/Java Frontend Application"
> on 12.2-beta2 of
> {code:java}
> bin/netbeans --userdir emptyud --jdkhome /jdk-11
> {code}
> the project is generated, but it only shows a single node "Build Scripts". 
> Why?
> Next step. Run "Build" from popup menu: "BUILD SUCCESSFUL". But still just a 
> single node "Build Scripts".
> Invoked "Reload Project". Now there are three nodes: "Configurations" (no 
> children), "Build Scripts" and "Sub Projects" (no children).
> Subsequent "Reaload Project" - shows "Sub Projects" children. Finally! 
> Opening the ":desktop" and ":web" projects seems to work OK.  Just 
> "DesktopMain" class contains an error (cannot find "Demo" class). The same 
> for "BrowserMain" class. Giving up and restarting.
> After the errors in "DesktopMain" and "BrowserMain" are gone. Moreover I can 
> also see the source packages for the main project (this time, it may not be 
> fully reliable).
> Creating another "New Project/Java with Gradle/Java Frontend Application" 
> seems to exhibit the same behavior. E.g. only project with "Builds 
> Scripts"... then two reload project actions - sub projects visible. But still 
> no sources...
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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