matthiasblaesing commented on PR #7938:
URL: https://github.com/apache/netbeans/pull/7938#issuecomment-2546801882

   Ok, tested and works for me. I did this:
   
   - check out this PR
   - add `is.eager=true` to `project.properties` in `svg` module
   - download the svg from 
https://github.com/apache/netbeans/pull/7938#issuecomment-2466238882 (icon 
provided by @eirikbakke )
   - placed it in tree as 
`ide/svg/src/org/netbeans/modules/svg/resources/svgLogo.svg`: 
   
![grafik](https://github.com/user-attachments/assets/494cf384-e7fc-494e-b918-4c61303fe8b3)
   - build from source
   - opened the `svg` module in IDE started with `ant tryme` and got this: 
   
![grafik](https://github.com/user-attachments/assets/d33c67ce-7407-4448-8d86-f6d22fbe26d2)
   
   To verify that the SVG is actually used, I ran with debug activated and 
placed a conditional break point in 
`platform/openide.util.ui/src/org/openide/util/ImageUtilities.java`, line 737, 
breaking on the condition `n.contains("svgLogo")`. That was matched and the 
loader code ine line 755 produced an icon.


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