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 2020/10/16 15:26:26 UTC

[GitHub] [netbeans] JaroslavTulach opened a new pull request #2464: Using Incomplete classpath to indicate unloadable Gradle project

JaroslavTulach opened a new pull request #2464:
URL: https://github.com/apache/netbeans/pull/2464


   When a Gradle project is initially created/opened, it usually misses its JAR libraries. It makes little sense to parse its sources. For that one can use `getFlags() => Flag.INCOMPLETE` to prevent the Java parsing infrastructure from attempting to parse the source.
   
   Moreover the infrastructure adds a hint to the first line of the source file to show `ProjectProblems` dialog or, in case of VSCode, to build the workspace.
   
   After the (priming) build, the project state should be re-checked and the classpath should remove its `INCOMPLETE` flag.


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

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] JaroslavTulach edited a comment on pull request #2464: Using Incomplete classpath to indicate unloadable Gradle project

Posted by GitBox <gi...@apache.org>.
JaroslavTulach edited a comment on pull request #2464:
URL: https://github.com/apache/netbeans/pull/2464#issuecomment-711587936


   After opening a fresh [micronaut cli](http://micronaut.io/launch) project I see
   
   ![image](https://user-images.githubusercontent.com/26887752/96404352-fff94100-11da-11eb-931b-d6cdcbf1ed95.png)
   
   in VSCode. Good, we can start the build. However when the build is finished, the Gradle project doesn't fully refresh - one cannot invoke "Debug File" action. Restarting VSCode (and NBCode backend) helps. Investigating.


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

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] lkishalmi commented on pull request #2464: Using Incomplete classpath to indicate unloadable Gradle project

Posted by GitBox <gi...@apache.org>.
lkishalmi commented on pull request #2464:
URL: https://github.com/apache/netbeans/pull/2464#issuecomment-710190425


   About the test, I wish there would be sufficient infrastructure in the test. If a test would involve java parsing, then it would crash. However what's there might be enough to test the classpath implementation. At least it is able to load a project also with and without invoking Gradle.
   Any help improving the test infrastructure would be a great help!


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

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] JaroslavTulach commented on pull request #2464: Using Incomplete classpath to indicate unloadable Gradle project

Posted by GitBox <gi...@apache.org>.
JaroslavTulach commented on pull request #2464:
URL: https://github.com/apache/netbeans/pull/2464#issuecomment-710116252


   I can write try to write a test for this behavior, if there is some suitable infrastructure to re-use for testing behavior of Gradle Java projects.


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

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] JaroslavTulach commented on pull request #2464: Using Incomplete classpath to indicate unloadable Gradle project

Posted by GitBox <gi...@apache.org>.
JaroslavTulach commented on pull request #2464:
URL: https://github.com/apache/netbeans/pull/2464#issuecomment-711587936


   After opening a fresh [micronaut cli](http://micronaut.io/launch) project I see
   
   ![image](https://user-images.githubusercontent.com/26887752/96404352-fff94100-11da-11eb-931b-d6cdcbf1ed95.png)
   
   in VSCode. Good, we can start the build. However when the build is finished, the Gradle project doesn't fully refresh - one cannot invoke "Debug File" action. Investigating.


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

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] lkishalmi merged pull request #2464: Using Incomplete classpath to indicate unloadable Gradle project

Posted by GitBox <gi...@apache.org>.
lkishalmi merged pull request #2464:
URL: https://github.com/apache/netbeans/pull/2464


   


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

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