You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/10/24 20:04:12 UTC

[GitHub] [netbeans] errael opened a new issue, #4851: Gradle issues, 1-ResolveProblem, 2-can't set main project

errael opened a new issue, #4851:
URL: https://github.com/apache/netbeans/issues/4851

   ### Apache NetBeans version
   
   Apache NetBeans 15
   
   ### What happened
   
   Zip of minimal project that show the problems:
   https://github.com/apache/netbeans/files/9847401/gradle-projects-compose.zip
   
   **=== problem 1 (minor problem)**
   
   0.  tar -x projects
   1.  clean userdir/cachedir
   2.  Open app,lib - trust yes, resolve problem
   3.  Observe lib resolves, not app.
   4.  Attempt to resolve app, Does not resolve app, no error indication or output.
   5.  Do app > build, see expected error
   ```
       Execution failed for task ':compileJava'.
       > Could not resolve all files for configuration ':compileClasspath'.
       > Could not find play:lib:1.0.0.
   ```
   `Resolve Problems` should show this rather than failing silently
   
   Execute task lib publishToMavenLocal
   Now app resolves as expected.
   
   Only problem is that step 4 does not show an error (which can be seen by manually running build as in step 5)
   
   **=== problem 2**
   
   With all problems resolved,
   right click on app, "SetMainProject" does not appear in context menu.
   
   
   ### How to reproduce
   
   See above
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Linux harmony 5.19.16-76051916-generic #202210150742166605324422.04~cf07008 SMP PREEMPT_DYNAMIC Tue O x86_64 x86_64 x86_64 GNU/Linux
   
   ### JDK
   
   openjdk 11.0.2 2019-01-15
   
   ### Apache NetBeans packaging
   
   Own source build
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] neilcsmith-net commented on issue #4851: Gradle issues, 1-ResolveProblem, 2-can't set main project

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4851:
URL: https://github.com/apache/netbeans/issues/4851#issuecomment-1290881763

   Did you try using the main menu `Run / Set Main Project / <project>`?  After doing this, check the contents of the project popup menu.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] errael commented on issue #4851: Gradle issues, 1-ResolveProblem, 2-can't set main project

Posted by GitBox <gi...@apache.org>.
errael commented on issue #4851:
URL: https://github.com/apache/netbeans/issues/4851#issuecomment-1291054473

   Restart NetBeans and the sub-menu mini-icons are corrected.
   
   The weird behavior with the project context menu and  `Set/Unset as Main Project` is not affected. Those entries only show up if there is a currently set main project.
   
   Possibly related. Do `Run > SetMainProject > None`. Then when `app` is selected in the `RunProject`/`DebugProject` buttons are enabled, otherwise they are disabled.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] errael commented on issue #4851: Gradle issues, 1-ResolveProblem, 2-can't set main project

Posted by GitBox <gi...@apache.org>.
errael commented on issue #4851:
URL: https://github.com/apache/netbeans/issues/4851#issuecomment-1291031222

   > try using the main menu `Run / Set Main Project / <project>`
   
   Didn't know (forgot?) about that. Doing `Run > SetMainProject > app` and then the project popup has `Set/Unset as Main Project` as appropriate. Then doing `Run > SetMainProject > None`, and they disappear from the project context menu.
   
   Interesting to note that the `Run > SetMainProject` list is
   ![RunSet1](https://user-images.githubusercontent.com/20450427/197861923-bb8244eb-66d9-46bb-9e1f-ab4f11147100.png)
   
   Notice that in the popup, the two projects have the golden triangle, but that does not appear in the `Projects` pane. Not that I have any idea whether or not that is related to this issue.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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