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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to