manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r910671 - in /incubator/lcf/trunk/modules/connectors: documentum/build.xml filenet/build.xml jcifs/build.xml livelink/build.xml meridio/build.xml sharepoint/build.xml
Date Tue, 16 Feb 2010 20:09:22 GMT
Author: kwright
Date: Tue Feb 16 20:09:21 2010
New Revision: 910671

URL: http://svn.apache.org/viewvc?rev=910671&view=rev
Log:
Conditional builds now tell you what's missing.

Modified:
    incubator/lcf/trunk/modules/connectors/documentum/build.xml
    incubator/lcf/trunk/modules/connectors/filenet/build.xml
    incubator/lcf/trunk/modules/connectors/jcifs/build.xml
    incubator/lcf/trunk/modules/connectors/livelink/build.xml
    incubator/lcf/trunk/modules/connectors/meridio/build.xml
    incubator/lcf/trunk/modules/connectors/sharepoint/build.xml

Modified: incubator/lcf/trunk/modules/connectors/documentum/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/documentum/build.xml?rev=910671&r1=910670&r2=910671&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/documentum/build.xml (original)
+++ incubator/lcf/trunk/modules/connectors/documentum/build.xml Tue Feb 16 20:09:21 2010
@@ -4,13 +4,23 @@
         <delete dir="build"/>
     </target>
 
-    <target name="precompile-check">
+    <target name="calculate-condition">
         <available file="dfc/dfc.jar" property="dfcStatus"/>
+        <available file="dfc/dfcbase.jar" property="dfcbaseStatus"/>
+        <available file="dfc/dctm.jar" property="dctmStatus"/>
         <condition property="canBuild">
-            <isset property="dfcStatus"/>
+            <and>
+                <isset property="dfcStatus"/>
+                <isset property="dfcbaseStatus"/>
+                <isset property="dctmStatus"/>
+            </and>
         </condition>
     </target>
     
+    <target name="precompile-check" depends="calculate-condition" unless="canBuild">
+        <echo message="Documentum Connector cannot be built without dfc.jar, dfcbase.jar,
and dctm.jar"/>
+    </target>
+
     <target name="compile-interface" depends="precompile-check" if="canBuild">
         <mkdir dir="build/interface/classes"/>
         <javac srcdir="interface" destdir="build/interface/classes" classpath="" target="1.5"
source="1.4"/>

Modified: incubator/lcf/trunk/modules/connectors/filenet/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/filenet/build.xml?rev=910671&r1=910670&r2=910671&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/filenet/build.xml (original)
+++ incubator/lcf/trunk/modules/connectors/filenet/build.xml Tue Feb 16 20:09:21 2010
@@ -4,13 +4,17 @@
         <delete dir="build"/>
     </target>
 
-    <target name="precompile-check">
-        <available file="filenet-api/Jace.jar" property="filenetAPIStatus"/>
+    <target name="calculate-condition">
+        <available file="filenet-api/Jace.jar" property="JaceStatus"/>
         <condition property="canBuild">
-            <isset property="filenetAPIStatus"/>
+            <isset property="JaceStatus"/>
         </condition>
     </target>
 
+    <target name="precompile-check" depends="calculate-condition" unless="canBuild">
+        <echo message="FileNet Connector cannot be built without Jace.jar"/>
+    </target>
+
     <target name="compile-interface" depends="precompile-check" if="canBuild">
         <mkdir dir="build/interface/classes"/>
         <javac srcdir="interface" destdir="build/interface/classes" classpath="" target="1.5"
source="1.4"/>

Modified: incubator/lcf/trunk/modules/connectors/jcifs/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/jcifs/build.xml?rev=910671&r1=910670&r2=910671&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/jcifs/build.xml (original)
+++ incubator/lcf/trunk/modules/connectors/jcifs/build.xml Tue Feb 16 20:09:21 2010
@@ -4,13 +4,17 @@
         <delete dir="build"/>
     </target>
 
-    <target name="precompile-check">
+    <target name="calculate-condition">
         <available file="jcifs/jcifs.jar" property="jcifsStatus"/>
         <condition property="canBuild">
             <isset property="jcifsStatus"/>
         </condition>
     </target>
 
+    <target name="precompile-check" depends="calculate-condition" unless="canBuild">
+        <echo message="JCifs Connector cannot be built without jcifs.jar"/>
+    </target>
+
     <target name="compile-connector" depends="precompile-check" if="canBuild">
         <mkdir dir="build/connector/classes"/>
         <javac srcdir="connector" destdir="build/connector/classes" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:jcifs/jcifs.jar:lib/jakarta-poi.jar"
target="1.5" source="1.4"/>

Modified: incubator/lcf/trunk/modules/connectors/livelink/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/livelink/build.xml?rev=910671&r1=910670&r2=910671&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/livelink/build.xml (original)
+++ incubator/lcf/trunk/modules/connectors/livelink/build.xml Tue Feb 16 20:09:21 2010
@@ -4,13 +4,17 @@
         <delete dir="build"/>
     </target>
 
-    <target name="precompile-check">
+    <target name="calculate-condition">
         <available file="lapi/lapi.jar" property="lapiStatus"/>
         <condition property="canBuild">
             <isset property="lapiStatus"/>
         </condition>
     </target>
 
+    <target name="precompile-check" depends="calculate-condition" unless="canBuild">
+        <echo message="LiveLink Connector cannot be built without lapi.jar"/>
+    </target>
+
     <target name="compile-connector" depends="precompile-check" if="canBuild">
         <mkdir dir="build/connector/classes"/>
         <javac srcdir="connector" destdir="build/connector/classes" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lapi/lapi.jar:lib/commons-httpclient.jar:lib/commons-codec.jar:lib/commons-collections.jar"
target="1.5" source="1.4"/>

Modified: incubator/lcf/trunk/modules/connectors/meridio/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/meridio/build.xml?rev=910671&r1=910670&r2=910671&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/meridio/build.xml (original)
+++ incubator/lcf/trunk/modules/connectors/meridio/build.xml Tue Feb 16 20:09:21 2010
@@ -4,13 +4,27 @@
         <delete dir="build"/>
     </target>
 
-    <target name="precompile-check">
-        <available file="wsdls/MeridioDMWS_axis.wsdl" property="meridioStatus"/>
+    <target name="calculate-condition">
+        <available file="wsdls/MeridioDMWS_axis.wsdl" property="meridioDMWS_axisStatus"/>
+        <available file="wsdls/MeridioRMWS_axis.wsdl" property="meridioRMWS_axisStatus"/>
+        <available file="wsdls/DMDataSet.xsd" property="DMDataSetStatus"/>
+        <available file="wsdls/RMDataSet.xsd" property="RMDataSetStatus"/>
+        <available file="wsdls/RMClassificationDataSet.xsd" property="RMClassificationDataSetStatus"/>
         <condition property="canBuild">
-            <isset property="meridioStatus"/>
+            <and>
+                <isset property="meridioDMWS_axisStatus"/>
+                <isset property="meridioRMWS_axisStatus"/>
+                <isset property="DMDataSetStatus"/>
+                <isset property="RMDataSetStatus"/>
+                <isset property="RMClassificationDataSetStatus"/>
+            </and>
         </condition>
     </target>
 
+    <target name="precompile-check" depends="calculate-condition" unless="canBuild">
+        <echo message="Meridio Connector cannot be built without MeridioDMWS_axis.wsdl,
MeridioRMWS_axis.wsdl, DMDataSet.xsd, RMDataSet.xsd, and RMClassificationDataSet.xsd"/>
+    </target>
+
     <target name="classcreate-wsdl">
         <mkdir dir="build/wsdljava"/>
         <java classname="org.apache.axis.wsdl.WSDL2Java" fork="true" classpath="lib/axis.jar:lib/commons-logging.jar:lib/commons-discovery.jar:lib/saaj.jar:lib/wsdl4j.jar:lib/jaxrpc.jar:lib/activation.jar:lib/xml-apis.jar:lib/xercesImpl.jar">

Modified: incubator/lcf/trunk/modules/connectors/sharepoint/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/sharepoint/build.xml?rev=910671&r1=910670&r2=910671&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/sharepoint/build.xml (original)
+++ incubator/lcf/trunk/modules/connectors/sharepoint/build.xml Tue Feb 16 20:09:21 2010
@@ -4,12 +4,28 @@
         <delete dir="build"/>
     </target>
 
-    <target name="precompile-check">
-        <available file="wsdls/Permissions.wsdl" property="sharepointStatus"/>
+    <target name="calculate-condition">
+        <available file="wsdls/DspSts.wsdl" property="DspStsStatus"/>
+        <available file="wsdls/Lists.wsdl" property="ListsStatus"/>
+        <available file="wsdls/Permissions.wsdl" property="PermissionsStatus"/>
+        <available file="wsdls/usergroup.wsdl" property="usergroupStatus"/>
+        <available file="wsdls/versions.wsdl" property="versionsStatus"/>
+        <available file="wsdls/webs.wsdl" property="websStatus"/>
         <condition property="canBuild">
-            <isset property="sharepointStatus"/>
+            <and>
+                <isset property="DspStsStatus"/>
+                <isset property="ListsStatus"/>
+                <isset property="PermissionsStatus"/>
+                <isset property="usergroupStatus"/>
+                <isset property="versionsStatus"/>
+                <isset property="websStatus"/>
+            </and>
         </condition>
     </target>
+    
+    <target name="precompile-check" depends="calculate-condition" unless="canBuild">
+        <echo message="SharePoint Connector cannot be built without DspSts.wsdl, Lists.wsdl,
Permissions.wsdl, usergroup.wsdl, versions.wsdl, and webs.wsdl"/>
+    </target>
 
     <target name="classcreate-wsdl">
         <mkdir dir="build/wsdljava"/>



Mime
View raw message