i don't think this will works as i can not generate the resource into a
package once the module is build and running that's why i would like to
generate it to a temp folder and fetch it each time the New project
wizard is called

Le 04/01/2020 à 15:06, Geertjan Wielenga a écrit :
>
> So generate it into a package in your module instead if generating it
> in your temp folder.
>
> Gj
>
> On Sat, 4 Jan 2020 at 11:00, Bilu <albi...@gmail.com
> <mailto:albi...@gmail.com>> wrote:
>
>     because the resource has to be generated dynamically. so i need to
>     generate it somewhere on the drive (lets say C:/Temp/) before make
>     it available to the New project Wizard each time to be sure to
>     have the last version of the resource.
>
>     Le 04/01/2020 à 14:17, Geertjan Wielenga a écrit :
>>
>>     Why?
>>
>>     Gj
>>
>>     On Sat, 4 Jan 2020 at 10:16, Bilu <albi...@gmail.com
>>     <mailto:albi...@gmail.com>> wrote:
>>
>>         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 
>>> <mailto:users-unsubscr...@netbeans.apache.org>
>>>         For additional commands, e-mail: users-h...@netbeans.apache.org 
>>> <mailto:users-h...@netbeans.apache.org>
>>>
>>>         For further information about the NetBeans mailing lists, visit:
>>>         https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>

Reply via email to