[jira] [Created] (OFBIZ-7613) commons.xml doesn't work

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

[jira] [Created] (OFBIZ-7613) commons.xml doesn't work

Nicolas Malin (Jira)
Pierre Smits created OFBIZ-7613:
-----------------------------------

             Summary: commons.xml doesn't work
                 Key: OFBIZ-7613
                 URL: https://issues.apache.org/jira/browse/OFBIZ-7613
             Project: OFBiz
          Issue Type: Bug
    Affects Versions: Release Branch 15.12, Trunk, Release Branch 14.12, Release Branch 13.07
            Reporter: Pierre Smits
            Priority: Critical


The commons.xml file in the root folder of the OFBiz r13.07 dev branch doesn't work, as it is missing something.

The culprit is:
{code}

    <if>
        <available file="${src.dir}"/>
        <then>
            <selector id="src-extra-set">
                <or>
                    <filename name="**/*.properties"/>
                    <filename name="**/*.groovy"/>
                    <filename name="**/*.xml"/>
                    <filename name="**/*.bsh"/>
                    <filename name="**/*.logic"/>
                    <filename name="**/*.js"/>
                    <filename name="**/*.js"/>
                    <filename name="**/*.jacl"/>
                    <filename name="**/*.py"/>
                    <filename name="META-INF/**"/>
                </or>
            </selector>
            <property name="src.extra.dir" value="${src.dir}"/>
        </then>            
        <else>
            <selector id="src-extra-set">
                <filename name="**" negate="true"/>
            </selector>
            <property name="src.extra.dir" value="."/>
        </else>
    </if>
{code}

This is not properly handled.



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