Hello Documentation talk about File contents, as resources relative to the package of this declaration: http://137.254.56.27/8.0/javadoc/org-openide-loaders/org/netbeans/api/templates/TemplateRegistration.html#content()
But is there a way to declare file outside of the package? Thanks to help Le 29/12/2019 à 10:39, Bilu Al a écrit : > Hello, is there a way to specify Template registation (Project sample > declaration) content outside package declaration as my ressource is available > on the disk? This only work when resource relative to the package of this > declaration > > @TemplateRegistration( > folder = "Test", iconBase = "org/netbeans/modules/templatesui/x.png", > page = "org/netbeans/modules/templatesui/x.html", > content = "C:/Temp/content.zip" > ) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >