[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-8519) ?floor, ?ceiling and ?round are not recognized by FreeMarker IDE
Denis Golovin (JIRA)
jira-events at lists.jboss.org
Wed Mar 30 15:24:38 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-8519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denis Golovin updated JBIDE-8519:
---------------------------------
Fix Version/s: 3.3.0.M1
Affects Version/s: 3.2.0.Final
> ?floor, ?ceiling and ?round are not recognized by FreeMarker IDE
> ----------------------------------------------------------------
>
> Key: JBIDE-8519
> URL: https://issues.jboss.org/browse/JBIDE-8519
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: FreeMarker
> Affects Versions: 3.2.0.Final
> Environment: Ubuntu Linux
> Eclipse Helios Java EE (Build id: 20100917-0705)
> FreeMarker IDE 1.1.0.v20110215-1224-H22-GA
> Reporter: Rafal Piotrowski
> Assignee: Denis Golovin
> Priority: Minor
> Fix For: 3.3.0.M1
>
>
> Sample code:
> \[#ftl\]
> \[#assign testlist=[0, 1, -1, 0.5, 1.5, -0.5, -1.5, 0.25, -0.25, 1.75, -1.75] /\]
> \[#list testlist as result\]
> ${result} ?floor=${result?floor}
> ${result} ?ceiling=${result?ceiling}
> ${result} ?round=${result?round}
> \[/#list\]
> is causing parse errors in eclipse, because plugin is using freemarker 2.3.8. These functions are in Freemarker from version 2.3.13 (http://freemarker.sourceforge.net/docs/ref_builtins_number.html#ref_builtin_rounding).
> I have tried to add new freemarker library to plugin directory and change Bundle-ClassPath in META-INF/MANIFEST.MF, but it didn't work.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list