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.
Summary: | Cannot assign value to ${user} macro for templates | ||
---|---|---|---|
Product: | platform | Reporter: | tkellerer <tkellerer> |
Component: | Data Systems | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | jpokorsky, mpetras |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
tkellerer
2007-04-06 11:05:26 UTC
Reassigning to Editor - Options for evaluation. There have been some changes in the way how templates are implemented in Nb6 and perhaps this was somehow addressed by the new framework. I don't have the IZ # handy, but it's java anyway. Right, java templates were migrated to the new scripting support. I cannot agree it relates to java. Nowadays the ${user} is supplied by the openide/loaders module that reads it from the system property user.name. So using -J-Duser.name=YourName is the only way to customize it AFAIK. I am not aware of any plans for template attributes UI. Reassigning to openide that exports the attribute. *** This issue has been marked as a duplicate of 107725 *** |