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.

Bug 221998

Summary: Set user per project using hgrc or equivalent
Product: platform Reporter: hiro2k
Component: TemplatesAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.1.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description hiro2k 2012-11-12 21:27:54 UTC
Going to Tools -> Templates -> Settings allows me to set a user for all of my templates but this user is the same for all of my project even though I have different email address or usernames for each project.

I work a lot with maven and mercurial and what I would like is a way to set a per project username using some kind hint for netbeans to use the username defined in my hgrc.
Comment 1 Martin Entlicher 2012-12-05 17:02:36 UTC
We'd need some bridge to VCS to get the user information.
Comment 2 Tomas Stupka 2012-12-06 10:41:48 UTC
maybe via a o.openide.loaders.CreateFromTemplateAttributesProvider