This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 8.0 RC1 (Build 201402242200) Operating System = Linux version 3.13.6-200.fc20.x86_64 running on amd64 Java; VM; Vendor = 1.7.0_45 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Using the gradle 1.3.0 plugin, I have a simple JPA @Entity and the editor hint in the left margin insists that the persistence.xml is missing. There is a persistence.xml in <my-project-root>/src/main/resources/META-INF/persistence.xml. Using F6/Run, a 'main' test method that uses JPA from SE works fine. When I build a jar from the gradle project, the persistence.xml does show up correctly in the JAR's meta-inf folder. Can code hints NB be fixed so that other projects types like gradle projects can gain access to all meta data from the gradle file. Or if code-hints can use meta data from any project type, and it is gradle 1.3.0 plugin that is not publishing it...I/You can submit this boog/feature request to the gradle plugin maintainer. NOTE: same basic problem happens with beans.xml in WARs, EJBs, and CDI jars.
Created attachment 146005 [details] IDE log
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss