ilscipio/scipio-erp

View on GitHub
applications/accounting/build.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->

<project name="OFBiz - Accounting Component" default="jar" basedir=".">
    <import file="../../common.xml"/>

    <!-- ================================================================== -->
    <!-- Initialization of all property settings                            -->
    <!-- ================================================================== -->

    <property name="desc" value="Accounting Component"/>
    <property name="name" value="ofbiz-accounting"/>

    <path id="local.class.path">
        <fileset dir="../../framework/base/lib" includes="*.jar"/>
        <fileset dir="../../framework/base/build/lib" includes="*.jar"/>
        <fileset dir="../../framework/entity/lib" includes="*.jar"/>
        <fileset dir="../../framework/entity/build/lib" includes="*.jar"/>
        <fileset dir="../../framework/security/build/lib" includes="*.jar"/>
        <fileset dir="../../framework/service/lib" includes="*.jar"/>
        <fileset dir="../../framework/service/build/lib" includes="*.jar"/>
        <fileset dir="../../framework/minilang/build/lib" includes="*.jar"/>
        <fileset dir="../../framework/webapp/lib" includes="*.jar"/>
        <fileset dir="../../framework/webapp/build/lib" includes="*.jar"/>
        <fileset dir="../../framework/common/build/lib" includes="*.jar"/>
        <fileset dir="../../framework/widget/build/lib" includes="*.jar"/>
        <fileset dir="../content/build/lib" includes="*.jar"/>
        <fileset dir="../party/build/lib" includes="*.jar"/>
        <fileset dir="../product/build/lib" includes="*.jar"/>
        <fileset dir="../marketing/build/lib" includes="*.jar"/>
        <fileset dir="../order/build/lib" includes="*.jar"/>
        <!-- <fileset dir="lib/cybersource" includes="*.jar"/> -->
        <!-- <fileset dir="lib/securepay" includes="*.jar"/> -->
        <fileset dir="lib" includes="*.jar"/>
    </path>

    <target name="init">
        <condition property="verisign-exclude" value="org/ofbiz/accounting/thirdparty/verisign/**">
            <not><available file="lib/payflow.jar"/></not>
        </condition>
        <patternset id="src.exc.set">
            <!-- exclude the payment processor packages; comment this out to not exclude if you have libs -->
            <exclude name="${verisign-exclude}"/>
            <exclude name="org/ofbiz/accounting/thirdparty/cybersource/**"/>
            <exclude name="org/ofbiz/accounting/thirdparty/paypal/PayPalServices.java"/>
            <exclude name="org/ofbiz/accounting/thirdparty/orbital/**"/>
            <exclude name="org/ofbiz/accounting/thirdparty/securepay/**"/>
            <exclude name="org/ofbiz/accounting/thirdparty/ideal/**"/>
        </patternset>
    </target>

    <target name="jar" depends="classes">
        <main-jar/>
        <test-jar/>
    </target>
</project>