[jira] [Comment Edited] (OFBIZ-8250) SvnInfo.ftl and GitInfo.ftl are not generated by default

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-8250) SvnInfo.ftl and GitInfo.ftl are not generated by default

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-8250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15500917#comment-15500917 ]

Michael Brohl edited comment on OFBIZ-8250 at 9/18/16 12:33 PM:
----------------------------------------------------------------

This patch basically implements a functionality we had in the old ant build target:

{code:xml}
    <target name="build" depends="ofbiz-init">
        <echo message="[build] ========== Start Building (Compile) =========="/>
        <antcall target="build-dev"/>

        <antcall target="build-framework"/>
        <antcall target="build-applications"/>
        <antcall target="build-specialpurpose"/>
        <externalsubant>
            <fileset dir="${basedir}/themes">
                <include name="*/build.xml" />
            </fileset>
        </externalsubant>

        <hotdeployant/>
        <antcall target="clean-svninfo"/>
        <antcall target="clean-gitinfo"/>

        <echo message="[build] ========== Done Building (Compile) =========="/>
    </target>


    <target name="clean-svninfo">
        <echo message="Resetting svninfo..."/>
        <echo message=" " file="runtime/svninfo.ftl"/>
        <echo message="Done!"/>
    </target>
{code}




was (Author: mbrohl):
This patch basically implements a functionality we had in the old ant build target:

{code:xml}
    <target name="build" depends="ofbiz-init">
        <echo message="[build] ========== Start Building (Compile) =========="/>
        <antcall target="build-dev"/>

        <antcall target="build-framework"/>
        <antcall target="build-applications"/>
        <antcall target="build-specialpurpose"/>
        <externalsubant>
            <fileset dir="${basedir}/themes">
                <include name="*/build.xml" />
            </fileset>
        </externalsubant>

        <hotdeployant/>
        <antcall target="clean-svninfo"/>
        <antcall target="clean-gitinfo"/>

        <echo message="[build] ========== Done Building (Compile) =========="/>
    </target>
{code}



> SvnInfo.ftl and GitInfo.ftl are not generated by default
> --------------------------------------------------------
>
>                 Key: OFBIZ-8250
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8250
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS
>    Affects Versions: Trunk
>            Reporter: Michael Brohl
>            Assignee: Michael Brohl
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-8250-2.patch, OFBIZ-8250.patch
>
>
> The two files are not generated which results in an FTL stacktrace in the footer of the backend applications.



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