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.
I've just installed 8.1 and now found that all my templates are invalid. I would normally have: <#assign licensePrefix = " * "> <#assign dateFormat = "MMM d yyyy, HH:mm"> <#assign currentTime = "${date} ${time}"> /* ${licensePrefix}${nameAndExt} ${currentTime?datetime?string(dateFormat)} ${licensePrefix?replace(" +$", "", "r")} <#include "${project.licensePath}"> */ <#if package?? && package != ""> package ${package}; </#if> /** * * @author ${user} */ public class ${name} { } This will now fail as $time} previously only contained the time, now it contains the date and time. Is this a bug or an intentionally change? Personally I feel a new var of ${datetime} should be added that reflexts both the date and time if necessary.
Fixed by changeset: 292755:e5163e0adea4 http://hg.netbeans.org/core-main/rev/e5163e0adea4 http://hg.netbeans.org/core-main/rev/0332d7c37c1d
Integrated into 'main-silver', will be available in build *201510010328* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e5163e0adea4 User: mentlicher@netbeans.org Log: #254362: Put the time only into ${time} and proper string into {dateTime}.
Thanks man, all good now :)