ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OFBIZ-7942) GitInfo.ftl cannot be created when sources checkout using svn
Date Fri, 19 Aug 2016 12:25:20 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-7942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacques Le Roux closed OFBIZ-7942.
----------------------------------
       Resolution: Fixed
    Fix Version/s: Upcoming Branch

Simply check if the one of the 2 major versions managers used with OFBiz (Git or Subversion)
is used

> GitInfo.ftl cannot be created when sources checkout using svn
> -------------------------------------------------------------
>
>                 Key: OFBIZ-7942
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7942
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk
>            Reporter: Wai
>            Assignee: Jacques Le Roux
>             Fix For: Upcoming Branch
>
>         Attachments: mycomponent.tar.bz2
>
>
> When running a hot-deploy component and exception occurs. I have included the component
for reference purposes.
> Used the following steps to create the component...
> -ran $ gradlew  createComponent -PcomponentName=mycomponent -PcomponentResourceName=myrscname
-PwebappName=mywebapp -PbasePermission=NONE
> -added request and associated screen.
> -ran $ gradlew cleanAll loadDefault
> -ran $ gradlew ofbiz
> The console shows the following exception...
> {code}
> FreeMarker template error: Template inclusion failed (for parameter value "ofbizhome://runtime/SvnInfo.ftl"):
/home/wt/wt-mystuff/eclipse/workspace/ofbiz-trunk-test/runtime/SvnInfo.ftl (No such file or
directory) ---- FTL stack trace ("~" means nesting-related): - Failed at: #include "ofbizhome://runtime/SvnInfo...
[in template "component://tomahawk/template/Footer.ftl" at line 26, column 104] ---- Java
stack trace (for programmers): ---- freemarker.core._MiscTemplateException: [... Exception
message was already printed; see it above ...] at freemarker.core.Include.accept(Include.java:164)
at freemarker.core.Environment.visit(Environment.java:326) at freemarker.core.Environment.visit(Environment.java:332)
at freemarker.core.Environment.process(Environment.java:305) at org.apache.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:261)
at org.apache.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:167) at org.apache.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:216)
at org.apache.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140) at org.apache.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1321)
at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) at org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
at org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:780)
at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
at 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message