You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/08/03 16:07:00 UTC
[jira] [Updated] (NETBEANS-2925) Source Projects folder not showing
java classes in gradle project
[ https://issues.apache.org/jira/browse/NETBEANS-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated NETBEANS-2925:
-------------------------------------
Labels: pull-request-available (was: )
> Source Projects folder not showing java classes in gradle project
> -----------------------------------------------------------------
>
> Key: NETBEANS-2925
> URL: https://issues.apache.org/jira/browse/NETBEANS-2925
> Project: NetBeans
> Issue Type: Improvement
> Components: projects - Gradle
> Affects Versions: 11.0, 11.1
> Reporter: Peter Steele
> Assignee: Laszlo Kishalmi
> Priority: Major
> Labels: pull-request-available
> Attachments: GradleProjectNewSourceSet.zip
>
>
> Start with a new gradle project
>
> Edit build.gradle and add the following
>
> sourcesets {
> main {
> java
> { srcDirs = ['src','build/abc'] }
> }
>
> A new Source Packages folder appeared in projects view tab
>
> Create a new class under this new source package called testabc.java (under default package) and build the project
> * The new java file appears in the sounce pane and is editable
> * The new java file appears under the files tab under the chosen directory
> * After the build the class file appears in the build/classes folder
> * The new class doesn't appear in the new Source Packages folder. Instead a new default package is created but no java files underneath it.
>
> The issue is the last point
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists