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/09/01 07:39:58 UTC

[GitHub] [netbeans] sdedic commented on pull request #4517: [Preview] Gradle project introspection

sdedic commented on PR #4517:
URL: https://github.com/apache/netbeans/pull/4517#issuecomment-1233874554

   > Back to Our original issue. Aren't you looking for the outgoing variants by chance? Do a gradlew oV in your project and see the output.
   > […](#)
   
   The PR targets two things. First, the ability to find out product(s) of the project. Outgoing variants could be useful, but on the sample project (micronaut project, that includes native-image build plugin), the `gradlew oV` output does not contain an information that such thing is produced:
   ```
   sdedic@sdedic-nb4:oci/microdemo5$ gradle oV  | grep build/
   Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
       - build/libs/microdemo-0.1.jar (artifactType = jar)
       - build/libs/microdemo-0.1.jar (artifactType = jar)
             - build/classes/java/main (artifactType = java-classes-directory)
             - build/resources/main (artifactType = java-resources-directory)
       - build/libs/microdemo-0.1-all.jar (artifactType = jar)
       - build/libs/microdemo-0.1-all.jar (artifactType = jar)
       - build/test-results/test/binary (artifactType = directory)
   ```
   There's no `build/native/nativeCompile/microdemo` in the output, althought the plugin is configured. That's natural, since it shows variant products for individual consumable configurations -- the `native-image` plugin does not create any specific configuration (maybe a deficiency ? especially in the .dll/.so scenario it could be).
   But as I see the output, it seems that the implementation of the project artifact query could be greatly improved following the OutgoingVariants report implementation - a theme for another PR!
   
   


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