You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by GitBox <gi...@apache.org> on 2020/04/15 09:37:02 UTC

[GitHub] [freemarker] DreamSkyOk edited a comment on issue #63: 2.3.29 maintenance

DreamSkyOk edited a comment on issue #63: 2.3.29 maintenance
URL: https://github.com/apache/freemarker/pull/63#issuecomment-613925546
 
 
   > Looks like a quite special need. Can you tell about the use case?
   
   
   
   > Looks like a quite special need. Can you tell about the use case?
   
   for this, when use classic_compatible model, the #include in ftl file also can use relative path. I think this need maybe a normal need.
   
   the original src:
   freemarker.core.Environment#toFullTemplateName{
       if (isClassicCompatible() /* FM1 only had absolute names */ || baseName == null) {
               return targetName;
       }
   
       return _CacheAPI.toRootBasedName(configuration.getTemplateNameFormat(), baseName, targetName);
   }

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services