svn commit: r901982 - /ofbiz/trunk/applications/accounting/build.xml

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

svn commit: r901982 - /ofbiz/trunk/applications/accounting/build.xml

doogie-3
Author: doogie
Date: Fri Jan 22 04:10:54 2010
New Revision: 901982

URL: http://svn.apache.org/viewvc?rev=901982&view=rev
Log:
Make the verisign/payflow detection smarter; to enable verisign now, all
you have to do is drop payflow.jar into lib, and compile.

Modified:
    ofbiz/trunk/applications/accounting/build.xml

Modified: ofbiz/trunk/applications/accounting/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/build.xml?rev=901982&r1=901981&r2=901982&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/build.xml (original)
+++ ofbiz/trunk/applications/accounting/build.xml Fri Jan 22 04:10:54 2010
@@ -52,9 +52,12 @@
     </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="org/ofbiz/accounting/thirdparty/verisign/**"/>
+            <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/**"/>