You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2012/01/15 21:03:31 UTC

svn commit: r1231739 [2/2] - in /incubator/lcf/trunk: ./ connectors/ connectors/activedirectory/ connectors/activedirectory/connector/src/main/resource/ connectors/alfresco/ connectors/cmis/ connectors/documentum/ connectors/documentum/connector/src/ma...

Modified: incubator/lcf/trunk/connectors/gts/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/gts/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/gts/build.xml (original)
+++ incubator/lcf/trunk/connectors/gts/build.xml Sun Jan 15 20:03:30 2012
@@ -15,60 +15,17 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="gts-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-    </target>
-
-    <target name="doc">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-        </javac>
-        <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-    </target>
+    <import file="../connector-build.xml"/>
 
-    <target name="jar-connector" depends="compile-connector">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-gts-connector.jar">
-        	<fileset dir="build/connector/classes"/>
-          <!-- fileset dir="connector/src/main/resource"/ -->
-        </jar>
-    </target>
-
-    <target name="lib" depends="jar-connector">
+    <target name="lib" depends="mcf-connector-build.lib,precompile-check" if="canBuild">
         <mkdir dir="dist/lib"/>
-        <copy todir="dist/lib" file="build/jar/mcf-gts-connector.jar"/>
-	<copy todir="dist/lib">
-	    <fileset dir="lib">
-	        <include name="poi*.jar"/>
-	    </fileset>
-	</copy>
-    </target>
-
-    <target name="build" depends="lib"/>
-    <target name="build-tests" depends="lib">
-      <mkdir dir="build/test-jar"/>
+        <copy todir="dist/lib">
+            <fileset dir="lib">
+                <include name="poi*.jar"/>
+            </fileset>
+        </copy>
     </target>
-    <target name="run-tests"/>
-    <target name="run-tests-derby"/>
-    <target name="run-tests-postgresql"/>
-    <target name="run-tests-mysql"/>
-    <target name="run-tests-HSQLDB"/>
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
     
 </project>

Modified: incubator/lcf/trunk/connectors/jcifs/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/jcifs/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/jcifs/build.xml (original)
+++ incubator/lcf/trunk/connectors/jcifs/build.xml Sun Jan 15 20:03:30 2012
@@ -15,12 +15,9 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="jcifs-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-    </target>
+    <import file="../connector-build.xml"/>
 
     <target name="calculate-condition">
         <available file="jcifs/jcifs.jar" property="jcifsStatus"/>
@@ -33,58 +30,21 @@
         <echo message="JCifs Connector cannot be built without jcifs.jar"/>
     </target>
 
-    <target name="doc" depends="precompile-check" if="canBuild">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="jcifs" includes="*.jar"/>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector" depends="precompile-check" if="canBuild">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="jcifs" includes="*.jar"/>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-        </javac>
-        <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-    </target>
-
-    <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-jcifs-connector.jar">
-        	<fileset dir="build/connector/classes"/>
-          <!-- fileset dir="connector/src/main/resource"/ -->
-        </jar>
-    </target>
+    <path id="connector-classpath">
+        <path refid="mcf-connector-build.connector-classpath"/>
+        <fileset dir="jcifs" includes="*.jar"/>
+    </path>
 
-    <target name="lib" depends="jar-connector,precompile-check" if="canBuild">
+    <target name="lib" depends="mcf-connector-build.lib,precompile-check" if="canBuild">
         <mkdir dir="dist/lib"/>
-        <copy todir="dist/lib" file="build/jar/mcf-jcifs-connector.jar"/>
         <copy todir="dist/lib">
             <fileset dir="jcifs" includes="*.jar"/>
         </copy>
     </target>
 
-    <target name="build" depends="lib"/>
-    <target name="build-tests" depends="lib">
-      <mkdir dir="build/test-jar"/>
-    </target>
-    <target name="run-tests"/>
-    <target name="run-tests-derby"/>
-    <target name="run-tests-postgresql"/>
-    <target name="run-tests-mysql"/>
-    <target name="run-tests-HSQLDB"/>
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
-
     <target name="download-jcifs">
-        <property name="version" value="1.3.17"/>
-        <get src="http://jcifs.samba.org/src/jcifs-${version}.jar" dest="jcifs/jcifs.jar"/>
+        <property name="jcifs-version" value="1.3.17"/>
+        <get src="http://jcifs.samba.org/src/jcifs-${jcifs-version}.jar" dest="jcifs/jcifs.jar"/>
     </target>
 
     <target name="download-dependencies" depends="download-jcifs"/>

Modified: incubator/lcf/trunk/connectors/jdbc/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/jdbc/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/jdbc/build.xml (original)
+++ incubator/lcf/trunk/connectors/jdbc/build.xml Sun Jan 15 20:03:30 2012
@@ -15,60 +15,17 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="jdbc-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-    </target>
-
-    <target name="doc">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-        </javac>
-        <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-    </target>
+    <import file="../connector-build.xml"/>
 
-    <target name="jar-connector" depends="compile-connector">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-jdbc-connector.jar">
-        	<fileset dir="build/connector/classes"/>
-          <!-- fileset dir="connector/src/main/resource"/ -->
-        </jar>
-    </target>
-
-    <target name="lib" depends="jar-connector">
+    <target name="lib" depends="mcf-connector-build.lib,precompile-check" if="canBuild">
         <mkdir dir="dist/lib"/>
-        <copy todir="dist/lib" file="build/jar/mcf-jdbc-connector.jar"/>
         <copy todir="dist/lib">
             <fileset dir="jdbc-drivers" includes="*.jar"/>
         </copy>
     </target>
 
-    <target name="build" depends="lib"/>
-    <target name="build-tests" depends="lib">
-      <mkdir dir="build/test-jar"/>
-    </target>
-    <target name="run-tests"/>
-    <target name="run-tests-derby"/>
-    <target name="run-tests-postgresql"/>
-    <target name="run-tests-mysql"/>
-    <target name="run-tests-HSQLDB"/>
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
-
     <target name="download-ojdbc"/>
 
     <target name="download-jtds">

Modified: incubator/lcf/trunk/connectors/livelink/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/livelink/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/livelink/build.xml (original)
+++ incubator/lcf/trunk/connectors/livelink/build.xml Sun Jan 15 20:03:30 2012
@@ -15,12 +15,9 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="livelink-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-    </target>
+    <import file="../connector-build.xml"/>
 
     <target name="calculate-condition">
         <available file="lapi/lapi.jar" property="lapiStatus"/>
@@ -33,53 +30,16 @@
         <echo message="LiveLink Connector cannot be built without lapi.jar"/>
     </target>
 
-    <target name="doc" depends="precompile-check" if="canBuild">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-                <fileset dir="lapi" includes="*.jar"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector" depends="precompile-check" if="canBuild">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-                <fileset dir="lapi" includes="*.jar"/>
-            </classpath>
-        </javac>
-        <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-    </target>
+    <path id="connector-classpath">
+        <path refid="mcf-connector-build.connector-classpath"/>
+        <fileset dir="lapi" includes="*.jar"/>
+    </path>
 
-    <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-livelink-connector.jar">
-        	<fileset dir="build/connector/classes"/>
-          <!-- fileset dir="connector/src/main/resource"/ -->
-        </jar>
-    </target>
-
-    <target name="lib" depends="jar-connector,precompile-check" if="canBuild">
+    <target name="lib" depends="mcf-connector-build.lib,precompile-check" if="canBuild">
         <mkdir dir="dist/lib"/>
         <copy todir="dist/lib">
-	    <fileset dir="build/jar" includes="*.jar"/>
 	    <fileset dir="lapi" includes="*.jar"/>
-	</copy>
+        </copy>
     </target>
 
-    <target name="build" depends="lib"/>
-    <target name="build-tests" depends="lib,precompile-check" if="canBuild">
-      <mkdir dir="build/test-jar"/>
-    </target>
-    <target name="run-tests"/>
-    <target name="run-tests-derby"/>
-    <target name="run-tests-postgresql"/>
-    <target name="run-tests-mysql"/>
-    <target name="run-tests-HSQLDB"/>
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
-    
 </project>

Modified: incubator/lcf/trunk/connectors/memex/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/memex/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/memex/build.xml (original)
+++ incubator/lcf/trunk/connectors/memex/build.xml Sun Jan 15 20:03:30 2012
@@ -15,12 +15,9 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="memex-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-    </target>
+    <import file="../connector-build.xml"/>
 
     <target name="calculate-condition">
         <available file="mxie-java/JavaMXIELIB.jar" property="mxieStatus"/>
@@ -33,49 +30,16 @@
         <echo message="Memex Connector cannot be built without JavaMXIELIB.jar"/>
     </target>
 
-    <target name="doc" depends="precompile-check" if="canBuild">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" classpath="mxie-java/JavaMXIELIB.jar:lib/servlet-api.jar:lib/jdbcpool-0.99.jar:lib/postgresql.jar:lib/commons-fileupload.jar:lib/serializer.jar:lib/log4j-1.2.jar:lib/commons-logging.jar:lib/commons-httpclient-lcf.jar:lib/mcf-core.jar:lib/mcf-agents.jar:lib/mcf-pull-agent.jar:lib/xml-apis.jar:lib/xalan2.jar:lib/commons-collections.jar:lib/commons-codec.jar:lib/commons-io.jar" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-                <fileset dir="mxie-java" includes="*.jar"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector" depends="precompile-check" if="canBuild">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" classpath="${classpath}" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-                <fileset dir="mxie-java" includes="*.jar"/>
-            </classpath>
-        </javac>
-    </target>
+    <path id="connector-classpath">
+        <path refid="mcf-connector-build.connector-classpath"/>
+        <fileset dir="mxie-java" includes="*.jar"/>
+    </path>
 
-    <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-memex-connector.jar" basedir="build/connector/classes"/>
-    </target>
-
-    <target name="lib" depends="jar-connector,precompile-check" if="canBuild">
+    <target name="lib" depends="mcf-connector-build.lib,precompile-check" if="canBuild">
         <mkdir dir="dist/lib"/>
-        <copy todir="dist/lib" file="build/jar/mcf-memex-connector.jar"/>
         <copy todir="dist/lib">
             <fileset dir="mxie-java" includes="*.jar"/>
         </copy>
     </target>
 
-    <target name="build" depends="lib"/>
-    <target name="build-tests">
-      <mkdir dir="build/test-jar"/>
-    </target>
-    <target name="run-tests"/>
-    <target name="run-tests-derby"/>
-    <target name="run-tests-postgresql"/>
-    <target name="run-tests-mysql"/>
-    <target name="run-tests-HSQLDB"/>
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
-    
 </project>

Modified: incubator/lcf/trunk/connectors/meridio/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/meridio/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/meridio/build.xml (original)
+++ incubator/lcf/trunk/connectors/meridio/build.xml Sun Jan 15 20:03:30 2012
@@ -15,12 +15,9 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="meridio-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-    </target>
+    <import file="../connector-build.xml"/>
 
     <target name="calculate-condition">
         <available file="wsdls/MeridioDMWS_axis.wsdl" property="meridioDMWS_axisStatus"/>
@@ -53,21 +50,6 @@
         <copy tofile="build/wsdls/MetaCartaWS.wsdl" file="wsdls/MetaCartaWS_axis.wsdl"/>
     </target>
     
-    <target name="classcreate-wsdl">
-        <mkdir dir="build/wsdljava"/>
-        <java classname="org.apache.axis.wsdl.WSDL2Java" fork="true">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-            <arg value="--timeout"/>
-            <arg value="0"/>
-            <arg value="--noImports"/>
-            <arg value="-o"/>
-            <arg value="build/wsdljava"/>
-            <arg value="${wsdlname}"/>
-        </java>
-    </target>
-    
     <target name="classcreate-wsdls" depends="copy-wsdls,precompile-check" if="canBuild">
         <antcall target="classcreate-wsdl">
             <param name="wsdlname" value="build/wsdls/MeridioDMWS.wsdl"/>
@@ -80,102 +62,23 @@
         </antcall>
     </target>
     
-    <target name="classcreate-xsd">
-        <mkdir dir="build/xsdjava"/>
-        <java classname="org.exolab.castor.builder.SourceGeneratorMain" fork="true">
-            <classpath>
-                <fileset dir="lib">
-                    <include name="*.jar"/>
-                </fileset>
-            </classpath>
-            <arg value="-i"/>
-            <arg value="${xsdname}"/>
-            <arg value="=f"/>
-            <arg value="-dest"/>
-            <arg value="build/xsdjava"/>
-            <arg value="-package"/>
-            <arg value="org.apache.manifoldcf.crawler.connectors.meridio.${packagename}"/>
-        </java>
-    </target>
-
     <target name="classcreate-xsds" depends="precompile-check" if="canBuild">
         <delete dir="build/xsdjava"/>
         <antcall target="classcreate-xsd">
             <param name="xsdname" value="build/wsdls/DMDataSet.xsd"/>
-            <param name="packagename" value="DMDataSet"/>
+            <param name="packagename" value="meridio.DMDataSet"/>
         </antcall>
         <antcall target="classcreate-xsd">
             <param name="xsdname" value="build/wsdls/RMClassificationDataSet.xsd"/>
-            <param name="packagename" value="RMClassificationDataSet"/>
+            <param name="packagename" value="meridio.RMClassificationDataSet"/>
         </antcall>
         <antcall target="classcreate-xsd">
             <param name="xsdname" value="build/wsdls/RMDataSet.xsd"/>
-            <param name="packagename" value="RMDataSet"/>
+            <param name="packagename" value="meridio.RMDataSet"/>
         </antcall>
     </target>
 
-
-    <target name="compile-wsdls" depends="classcreate-wsdls,precompile-check" if="canBuild">
-        <mkdir dir="build/wsdlclasses"/>
-        <javac srcdir="build/wsdljava" destdir="build/wsdlclasses" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-        </javac>
-    </target>
-
-    <target name="compile-xsds" depends="classcreate-xsds,precompile-check" if="canBuild">
-        <mkdir dir="build/xsdclasses"/>
-        <javac srcdir="build/xsdjava" destdir="build/xsdclasses" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-        </javac>
-    </target>
-
-    <target name="doc" depends="precompile-check,compile-wsdls,compile-xsds" if="canBuild">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-                <pathelement location="build/wsdljava"/>
-                <pathelement location="build/xsdjava"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector" depends="compile-wsdls,compile-xsds,precompile-check" if="canBuild">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-                <pathelement location="build/wsdlclasses"/>
-                <pathelement location="build/xsdclasses"/>
-            </classpath>
-        </javac>
-        <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-    </target>
-
-    <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-meridio-connector.jar">
-        	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource"/>
-        </jar>
-    </target>
-    
-    <target name="jar-wsdls" depends="compile-wsdls,precompile-check" if="canBuild">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-meridio-wsdlstub.jar" basedir="build/wsdlclasses"/>
-    </target>
-    
-    <target name="jar-xsds" depends="compile-xsds,precompile-check" if="canBuild">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-meridio-xsdstub.jar" basedir="build/xsdclasses"/>
-    </target>
-
-    <target name="integration">
+    <target name="integration" depends="precompile-check" if="canBuild">
         <mkdir dir="dist/integration"/>
         <copy todir="dist/integration">
           <fileset dir="integration">
@@ -187,14 +90,9 @@
         </copy>
     </target>
 
-    <target name="lib" depends="jar-connector,jar-wsdls,jar-xsds,precompile-check" if="canBuild">
+    <target name="lib" depends="mcf-connector-build.lib,precompile-check" if="canBuild">
         <mkdir dir="dist/lib"/>
         <copy todir="dist/lib">
-            <fileset dir="build/jar">
-                <include name="mcf-meridio-connector.jar"/>
-                <include name="mcf-meridio-wsdlstub.jar"/>
-                <include name="mcf-meridio-xsdstub.jar"/>
-            </fileset>
             <fileset dir="lib">
                 <include name="axis*.jar"/>
                 <include name="wsdl4j*.jar"/>
@@ -206,15 +104,4 @@
         </copy>
     </target>
 
-    <target name="build" depends="lib,integration"/>
-    <target name="build-tests" depends="lib,integration,precompile-check" if="canBuild">
-      <mkdir dir="build/test-jar"/>
-    </target>
-    <target name="run-tests"/>
-    <target name="run-tests-derby"/>
-    <target name="run-tests-postgresql"/>
-    <target name="run-tests-mysql"/>
-    <target name="run-tests-HSQLDB"/>
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
-    
 </project>

Modified: incubator/lcf/trunk/connectors/nullauthority/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/nullauthority/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/nullauthority/build.xml (original)
+++ incubator/lcf/trunk/connectors/nullauthority/build.xml Sun Jan 15 20:03:30 2012
@@ -15,55 +15,8 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="nullauthority-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-    </target>
+    <import file="../connector-build.xml"/>
 
-    <target name="doc">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-        </javac>
-        <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-    </target>
-
-    <target name="jar-connector" depends="compile-connector">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-nullauthority-connector.jar">
-        	<fileset dir="build/connector/classes"/>
-          <!-- fileset dir="connector/src/main/resource"/ -->
-        </jar>
-    </target>
-
-    <target name="lib" depends="jar-connector">
-        <mkdir dir="dist/lib"/>
-        <copy todir="dist/lib" file="build/jar/mcf-nullauthority-connector.jar"/>
-    </target>
-
-    <target name="build" depends="lib"/>
-    <target name="build-tests" depends="lib">
-      <mkdir dir="build/test-jar"/>
-    </target>
-    <target name="run-tests"/>
-    <target name="run-tests-derby"/>
-    <target name="run-tests-postgresql"/>
-    <target name="run-tests-mysql"/>
-    <target name="run-tests-HSQLDB"/>
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
-    
 </project>

Modified: incubator/lcf/trunk/connectors/nulloutput/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/nulloutput/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/nulloutput/build.xml (original)
+++ incubator/lcf/trunk/connectors/nulloutput/build.xml Sun Jan 15 20:03:30 2012
@@ -15,55 +15,8 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="nulloutput-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-    </target>
+    <import file="../connector-build.xml"/>
 
-    <target name="doc">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-        </javac>
-        <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-    </target>
-
-    <target name="jar-connector" depends="compile-connector">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-nulloutput-connector.jar">
-        	<fileset dir="build/connector/classes"/>
-          <!-- fileset dir="connector/src/main/resource"/ -->
-        </jar>
-    </target>
-
-    <target name="lib" depends="jar-connector">
-        <mkdir dir="dist/lib"/>
-        <copy todir="dist/lib" file="build/jar/mcf-nulloutput-connector.jar"/>
-    </target>
-
-    <target name="build" depends="lib"/>
-    <target name="build-tests" depends="lib">
-      <mkdir dir="build/test-jar"/>
-    </target>
-    <target name="run-tests"/>
-    <target name="run-tests-derby"/>
-    <target name="run-tests-postgresql"/>
-    <target name="run-tests-mysql"/>
-    <target name="run-tests-HSQLDB"/>
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
-    
 </project>

Modified: incubator/lcf/trunk/connectors/opensearchserver/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/opensearchserver/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/opensearchserver/build.xml (original)
+++ incubator/lcf/trunk/connectors/opensearchserver/build.xml Sun Jan 15 20:03:30 2012
@@ -15,56 +15,8 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="opensearchserver-connector" default="all">
 
-  <target name="clean">
-    <delete dir="build" />
-    <delete dir="dist" />
-  </target>
-
-    <target name="doc">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-  <target name="compile-connector">
-    <mkdir dir="build/connector/classes" />
-    <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-      <classpath>
-        <fileset dir="lib" includes="*.jar" />
-      </classpath>
-    </javac>
-    <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-  </target>
-
-  <target name="jar-connector" depends="compile-connector">
-    <mkdir dir="build/jar" />
-    <jar destfile="build/jar/mcf-opensearchserver-connector.jar">
-      <fileset dir="build/connector/classes" />
-          <fileset dir="connector/src/main/resources"/>
-    </jar>
-  </target>
-
-  <target name="lib" depends="jar-connector">
-    <mkdir dir="dist/lib" />
-    <copy todir="dist/lib" file="build/jar/mcf-opensearchserver-connector.jar" />
-  </target>
-
-  <target name="build" depends="lib" />
-  <target name="build-tests" depends="lib">
-    <mkdir dir="build/test-jar" />
-  </target>
-  <target name="run-tests" />
-  <target name="run-tests-derby" />
-  <target name="run-tests-postgresql"/>
-  <target name="run-tests-mysql"/>
-  <target name="run-tests-HSQLDB"/>
-
-  <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB" />
+    <import file="../connector-build.xml"/>
 
 </project>

Modified: incubator/lcf/trunk/connectors/rss/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/rss/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/rss/build.xml (original)
+++ incubator/lcf/trunk/connectors/rss/build.xml Sun Jan 15 20:03:30 2012
@@ -15,68 +15,10 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="rss-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-        <delete dir="test-output"/>
-    </target>
-
-    <target name="doc">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-        </javac>
-        <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-    </target>
-
-    <target name="jar-connector" depends="compile-connector">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-rss-connector.jar">
-        	<fileset dir="build/connector/classes"/>
-          <!-- fileset dir="connector/src/main/resource"/ -->
-        </jar>
-    </target>
-
-    <target name="lib" depends="jar-connector">
-        <mkdir dir="dist/lib"/>
-        <copy todir="dist/lib" file="build/jar/mcf-rss-connector.jar"/>
-    </target>
-
-    <target name="compile-connector-tests" depends="compile-connector">
-        <mkdir dir="build/connector-tests/classes"/>
-        <javac srcdir="connector/src/test/java" destdir="build/connector-tests/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                 <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset>
-                <pathelement location="build/connector/classes"/>
-            </classpath>
-        </javac>
-    </target>
-    
-    <target name="compile-tests" depends="compile-connector-tests"/>
-    
-    <target name="jar-connector-tests" depends="compile-connector-tests">
-        <mkdir dir="build/test-jar"/>
-        <jar destfile="build/test-jar/mcf-rss-connector-tests.jar" basedir="build/connector-tests/classes"/>
-    </target>
+    <import file="../connector-build.xml"/>
 
-    <target name="jar-tests" depends="jar-connector-tests"/>
-    
     <target name="run-tests" depends="compile-tests">
         <mkdir dir="test-output"/>
         <junit fork="true" maxmemory="128m" dir="test-output" outputtoformatters="true" showoutput="true" haltonfailure="true">
@@ -94,14 +36,4 @@
         </junit>
     </target>
 
-    <target name="build" depends="lib"/>
-    
-    <target name="build-tests" depends="jar-tests,lib"/>
-    
-    <target name="run-tests-derby"/>
-    <target name="run-tests-postgresql"/>
-    <target name="run-tests-mysql"/>
-    <target name="run-tests-HSQLDB"/>
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
-    
 </project>

Modified: incubator/lcf/trunk/connectors/sharepoint/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/sharepoint/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/sharepoint/build.xml (original)
+++ incubator/lcf/trunk/connectors/sharepoint/build.xml Sun Jan 15 20:03:30 2012
@@ -15,14 +15,10 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="sharepoint-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-    </target>
+    <import file="../connector-build.xml"/>
 
-    
     <target name="calculate-condition">
         <available file="wsdls/DspSts.wsdl" property="DspStsStatus"/>
         <available file="wsdls/Lists.wsdl" property="ListsStatus"/>
@@ -46,21 +42,6 @@
         <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"/>
-        <java classname="org.apache.axis.wsdl.WSDL2Java" fork="true">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-            <arg value="--timeout"/>
-            <arg value="0"/>
-            <arg value="--noImports"/>
-            <arg value="-o"/>
-            <arg value="build/wsdljava"/>
-            <arg value="${wsdlname}"/>
-        </java>
-    </target>
-    
     <target name="classcreate-wsdls" depends="precompile-check" if="canBuild">
         <antcall target="classcreate-wsdl">
             <param name="wsdlname" value="wsdls/DspSts.wsdl"/>
@@ -85,50 +66,6 @@
         </antcall>
     </target>
 
-    <target name="compile-wsdls" depends="classcreate-wsdls,precompile-check" if="canBuild">
-        <mkdir dir="build/wsdlclasses"/>
-        <javac srcdir="build/wsdljava" destdir="build/wsdlclasses" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-        </javac>
-    </target>
-
-    <target name="doc" depends="precompile-check,compile-wsdls" if="canBuild">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-                <pathelement location="build/wsdlclasses"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector" depends="compile-wsdls,precompile-check" if="canBuild">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-                <pathelement location="build/wsdlclasses"/>
-            </classpath>
-        </javac>
-        <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-    </target>
-
-    <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-sharepoint-connector.jar">
-        	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource"/>
-        </jar>
-    </target>
-    
-    <target name="jar-wsdls" depends="compile-wsdls,precompile-check" if="canBuild">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-sharepoint-wsdlstub.jar" basedir="build/wsdlclasses"/>
-    </target>
-
     <target name="integration">
         <mkdir dir="dist/integration"/>
         <copy todir="dist/integration">
@@ -140,13 +77,9 @@
         </copy>
     </target>
 
-    <target name="lib" depends="jar-connector,jar-wsdls,precompile-check" if="canBuild">
+    <target name="lib" depends="mcf-connector-build.lib,precompile-check" if="canBuild">
         <mkdir dir="dist/lib"/>
         <copy todir="dist/lib">
-            <fileset dir="build/jar">
-                <include name="mcf-sharepoint-connector.jar"/>
-                <include name="mcf-sharepoint-wsdlstub.jar"/>
-            </fileset>
             <fileset dir="lib">
                 <include name="axis*.jar"/>
                 <include name="wsdl4j*.jar"/>
@@ -155,17 +88,6 @@
         </copy>
     </target>
 
-    <target name="build" depends="lib,integration"/>
-    <target name="build-tests" depends="lib,integration,precompile-check" if="canBuild">
-      <mkdir dir="build/test-jar"/>
-    </target>
-    <target name="run-tests"/>
-    <target name="run-tests-derby"/>
-    <target name="run-tests-postgresql"/>
-    <target name="run-tests-mysql"/>
-    <target name="run-tests-HSQLDB"/>
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
-
     <target name="download-dependencies">
         <get src="http://www.wssdemo.com/_vti_bin/Permissions.asmx?wsdl=true" dest="wsdls/Permissions.wsdl"/>
         <get src="http://www.wssdemo.com/_vti_bin/DspSts.asmx?wsdl=true" dest="wsdls/DspSts.wsdl"/>

Modified: incubator/lcf/trunk/connectors/solr/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/solr/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/solr/build.xml (original)
+++ incubator/lcf/trunk/connectors/solr/build.xml Sun Jan 15 20:03:30 2012
@@ -15,45 +15,9 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="solr-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-    </target>
-    
-    <target name="doc">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-        </javac>
-        <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-    </target>
-
-    <target name="jar-connector" depends="compile-connector">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-solr-connector.jar">
-        	<fileset dir="build/connector/classes"/>
-          <!-- fileset dir="connector/src/main/resource"/ -->
-        </jar>
-    </target>
-
-    <target name="lib" depends="jar-connector">
-        <mkdir dir="dist/lib"/>
-        <copy todir="dist/lib" file="build/jar/mcf-solr-connector.jar"/>
-    </target>
+    <import file="../connector-build.xml"/>
 
     <target name="integration">
         <mkdir dir="dist/integration"/>
@@ -65,15 +29,4 @@
         </copy>
     </target>
     
-    <target name="build" depends="lib,integration"/>
-    <target name="build-tests" depends="lib,integration">
-      <mkdir dir="build/test-jar"/>
-    </target>
-    <target name="run-tests"/>
-    <target name="run-tests-derby"/>
-    <target name="run-tests-postgresql"/>
-    <target name="run-tests-mysql"/>
-    <target name="run-tests-HSQLDB"/>
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
-    
 </project>

Modified: incubator/lcf/trunk/connectors/webcrawler/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/webcrawler/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/webcrawler/build.xml (original)
+++ incubator/lcf/trunk/connectors/webcrawler/build.xml Sun Jan 15 20:03:30 2012
@@ -15,68 +15,10 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="web-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-        <delete dir="test-output"/>
-    </target>
-
-    <target name="doc">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-        </javac>
-        <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-    </target>
-
-    <target name="jar-connector" depends="compile-connector">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-web-connector.jar">
-        	<fileset dir="build/connector/classes"/>
-          <!-- fileset dir="connector/src/main/resource"/ -->
-        </jar>
-    </target>
-
-    <target name="lib" depends="jar-connector">
-        <mkdir dir="dist/lib"/>
-        <copy todir="dist/lib" file="build/jar/mcf-web-connector.jar"/>
-    </target>
-
-    <target name="compile-connector-tests" depends="compile-connector">
-        <mkdir dir="build/connector-tests/classes"/>
-        <javac srcdir="connector/src/test/java" destdir="build/connector-tests/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                 <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset>
-                <pathelement location="build/connector/classes"/>
-            </classpath>
-        </javac>
-    </target>
-    
-    <target name="compile-tests" depends="compile-connector-tests"/>
-    
-    <target name="jar-connector-tests" depends="compile-connector-tests">
-        <mkdir dir="build/test-jar"/>
-        <jar destfile="build/test-jar/mcf-web-connector-tests.jar" basedir="build/connector-tests/classes"/>
-    </target>
+    <import file="../connector-build.xml"/>
 
-    <target name="jar-tests" depends="jar-connector-tests"/>
-    
     <target name="run-tests" depends="compile-tests">
         <mkdir dir="test-output"/>
         <junit fork="true" maxmemory="128m" dir="test-output" outputtoformatters="true" showoutput="true" haltonfailure="true">
@@ -94,14 +36,4 @@
         </junit>
     </target>
 
-    <target name="build" depends="lib"/>
-    
-    <target name="build-tests" depends="jar-tests,lib"/>
-    
-    <target name="run-tests-derby"/>
-    <target name="run-tests-postgresql"/>
-    <target name="run-tests-mysql"/>
-    <target name="run-tests-HSQLDB"/>
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
-    
 </project>

Modified: incubator/lcf/trunk/connectors/wiki/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/wiki/build.xml?rev=1231739&r1=1231738&r2=1231739&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/wiki/build.xml (original)
+++ incubator/lcf/trunk/connectors/wiki/build.xml Sun Jan 15 20:03:30 2012
@@ -15,77 +15,10 @@
  limitations under the License.
 -->
 
-<project default="all">
+<project name="wiki-connector" default="all">
 
-    <target name="clean">
-        <delete dir="build"/>
-        <delete dir="dist"/>
-        <delete dir="test-derby-output"/>
-        <delete dir="test-postgresql-output"/>
-        <delete dir="test-mysql-output"/>
-        <delete dir="test-HSQLDB-output"/>
-    </target>
-
-    <target name="doc">
-        <mkdir dir="dist/doc"/>
-        <javadoc destdir="dist/doc" source="1.5">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-            <fileset dir="connector/src/main/java" includes="**/*.java"/>
-        </javadoc>
-    </target>
-
-    <target name="compile-connector">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector/src/main/java" destdir="build/connector/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                <fileset dir="lib" includes="*.jar"/>
-            </classpath>
-        </javac>
-        <native2ascii encoding="UTF-8" src="connector/src/main/native2ascii" dest="build/connector/classes" includes="**/*.properties" />
-    </target>
+    <import file="../connector-build.xml"/>
 
-    <target name="compile-connector-tests" depends="compile-connector">
-        <mkdir dir="build/connector-tests/classes"/>
-        <javac srcdir="connector/src/test/java" destdir="build/connector-tests/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
-            <classpath>
-                 <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset>
-                <pathelement location="build/connector/classes"/>
-            </classpath>
-        </javac>
-    </target>
-    
-    <target name="compile-tests" depends="compile-connector-tests"/>
-
-    <target name="jar-connector" depends="compile-connector">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/mcf-wiki-connector.jar">
-        	<fileset dir="build/connector/classes"/>
-          <!-- fileset dir="connector/src/main/resource"/ -->
-        </jar>
-    </target>
-
-    <target name="lib" depends="jar-connector">
-        <mkdir dir="dist/lib"/>
-        <copy todir="dist/lib" file="build/jar/mcf-wiki-connector.jar"/>
-    </target>
-
-    <target name="jar-connector-tests" depends="compile-connector-tests">
-        <mkdir dir="build/test-jar"/>
-        <jar destfile="build/test-jar/mcf-wiki-connector-tests.jar" basedir="build/connector-tests/classes"/>
-    </target>
-
-    <target name="build" depends="lib"/>
-    
-    <target name="build-tests" depends="jar-tests,lib"/>
-
-    <target name="jar-tests" depends="jar-connector-tests"/>
-
-    <target name="run-tests" depends="compile-tests"/>
-    
     <target name="run-tests-derby" depends="compile-tests">
         <mkdir dir="test-derby-output"/>
         <junit fork="true" maxmemory="128m" dir="test-derby-output" outputtoformatters="true" showoutput="true" haltonfailure="true">
@@ -155,6 +88,4 @@
         </junit>
     </target>
     
-    <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
-    
 </project>

Added: incubator/lcf/trunk/tests/activedirectory/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/activedirectory/build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/activedirectory/build.xml (added)
+++ incubator/lcf/trunk/tests/activedirectory/build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,40 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="activedirectory" default="all">
+
+    <import file="../test-build.xml"/>
+    
+    <target name="run-UI-derby" depends="mcf-test-build.run-UI-derby">
+        <mkdir dir="test-derby-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-derby-output" outputtoformatters="true" showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+
+            <test name="org.apache.manifoldcf.activedirectory_tests.NavigationDerbyUI" todir="test-derby-output"/>
+            <!-- MHL -->
+        </junit>
+    </target>
+
+
+</project>

Propchange: incubator/lcf/trunk/tests/activedirectory/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/activedirectory/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/alfresco/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/alfresco/build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/alfresco/build.xml (added)
+++ incubator/lcf/trunk/tests/alfresco/build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,45 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="alfresco" default="all">
+
+    <import file="../ino-test-build.xml"/>
+    
+    <target name="run-derby" depends="mcf-ino-test-build.run-derby">
+        <mkdir dir="test-derby-output"/>
+        <junit fork="true" dir="test-derby-output" outputtoformatters="true" showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <jvmarg value="-DalfrescoServerWarPath=../../../connectors/alfresco/build/alfresco-war/alfresco.war"/>
+            <jvmarg value="-Xms512m"/>
+            <jvmarg value="-Xmx1024m"/>
+            <jvmarg value="-Xss1024k"/>
+            <jvmarg value="-XX:MaxPermSize=256m"/>
+            <jvmarg value="-XX:NewSize=256m"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+              
+            <test name="org.apache.manifoldcf.alfresco_tests.APISanityIT" todir="test-derby-output"/>
+        	
+        </junit>
+    </target>
+
+</project>

Propchange: incubator/lcf/trunk/tests/alfresco/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/alfresco/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/cmis/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/cmis/build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/cmis/build.xml (added)
+++ incubator/lcf/trunk/tests/cmis/build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,58 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="cmis" default="all">
+
+    <import file="../ino-test-build.xml"/>
+    
+    <target name="run-derby" depends="mcf-ino-test-build.run-derby">
+        <mkdir dir="test-derby-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-derby-output" outputtoformatters="true" showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <jvmarg value="-DopenCmisServerWarPath=../../../lib/chemistry-opencmis-server-inmemory-war.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+	    
+            <test name="org.apache.manifoldcf.cmis_tests.APISanityIT" todir="test-derby-output"/>
+
+        </junit>
+    </target>
+
+    <target name="run-UI-derby" depends="mcf-ino-test-build.run-UI-derby">
+        <mkdir dir="test-derby-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-derby-output" outputtoformatters="true" showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <jvmarg value="-DopenCmisServerWarPath=../../../lib/chemistry-opencmis-server-inmemory-war.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+
+            <test name="org.apache.manifoldcf.cmis_tests.NavigationDerbyUI" todir="test-derby-output"/>
+
+        </junit>
+    </target>
+
+</project>

Propchange: incubator/lcf/trunk/tests/cmis/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/cmis/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/filesystem/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/filesystem/build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/filesystem/build.xml (added)
+++ incubator/lcf/trunk/tests/filesystem/build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,22 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="filesystem-connector" default="all">
+
+    <import file="../ino-test-build.xml"/>
+    
+</project>

Propchange: incubator/lcf/trunk/tests/filesystem/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/filesystem/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/gts/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/gts/build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/gts/build.xml (added)
+++ incubator/lcf/trunk/tests/gts/build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,22 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="gts-connector" default="all">
+
+    <import file="../ifs-test-build.xml"/>
+    
+</project>

Propchange: incubator/lcf/trunk/tests/gts/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/gts/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/ifs-test-build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/ifs-test-build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/ifs-test-build.xml (added)
+++ incubator/lcf/trunk/tests/ifs-test-build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,23 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Include file system connector in addition to the test connector -->
+<project name="mcf-ifs-test-build">
+
+    <import file="test-build.xml"/>
+    
+</project>

Propchange: incubator/lcf/trunk/tests/ifs-test-build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/ifs-test-build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/ino-test-build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/ino-test-build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/ino-test-build.xml (added)
+++ incubator/lcf/trunk/tests/ino-test-build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,55 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Include null output in addition to the test connector -->
+<project name="mcf-ino-test-build">
+
+    <import file="test-build.xml"/>
+
+    <path id="mcf-ino-test-build.test-classpath">
+        <path refid="mcf-test-build.test-classpath"/>
+        <fileset dir="../../connectors/nulloutput/dist/lib">
+            <include name="*.jar"/>
+        </fileset>
+        <fileset dir="../../connectors/nulloutput/build/test-jar">
+            <include name="*.jar"/>
+        </fileset>
+    </path>
+
+    <path id="test-classpath">
+        <path refid="mcf-ino-test-build.test-classpath"/>
+    </path>
+
+    <target name="run-derby" depends="mcf-test-build.run-derby"/>
+    <target name="run-postgresql" depends="mcf-test-build.run-postgresql"/>
+    <target name="run-HSQLDB" depends="mcf-test-build.run-HSQLDB"/>
+    <target name="run-HSQLDBext" depends="mcf-test-build.run-HSQLDBext"/>
+    <target name="run-mysql" depends="mcf-test-build.run-mysql"/>
+    
+    <target name="run-load-derby" depends="mcf-test-build.run-load-derby"/>
+    <target name="run-load-postgresql" depends="mcf-test-build.run-load-postgresql"/>
+    <target name="run-load-HSQLDB" depends="mcf-test-build.run-load-HSQLDB"/>
+    <target name="run-load-HSQLDBext" depends="mcf-test-build.run-load-HSQLDBext"/>
+    <target name="run-load-mysql" depends="mcf-test-build.run-load-mysql"/>
+    
+    <target name="run-UI-derby" depends="mcf-test-build.run-UI-derby"/>
+    <target name="run-UI-postgresql" depends="mcf-test-build.run-UI-postgresql"/>
+    <target name="run-UI-HSQLDB" depends="mcf-test-build.run-UI-HSQLDB"/>
+    <target name="run-UI-HSQLDBext" depends="mcf-test-build.run-UI-HSQLDBext"/>
+    <target name="run-UI-mysql" depends="mcf-test-build.run-UI-mysql"/>
+    
+</project>

Propchange: incubator/lcf/trunk/tests/ino-test-build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/ino-test-build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/jcifs/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/jcifs/build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/jcifs/build.xml (added)
+++ incubator/lcf/trunk/tests/jcifs/build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,22 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="jcifs-connector" default="all">
+
+    <import file="../ino-test-build.xml"/>
+    
+</project>

Propchange: incubator/lcf/trunk/tests/jcifs/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/jcifs/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/jdbc/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/jdbc/build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/jdbc/build.xml (added)
+++ incubator/lcf/trunk/tests/jdbc/build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,22 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="jdbc-connector" default="all">
+
+    <import file="../ino-test-build.xml"/>
+    
+</project>

Propchange: incubator/lcf/trunk/tests/jdbc/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/jdbc/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/rss/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/rss/build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/rss/build.xml (added)
+++ incubator/lcf/trunk/tests/rss/build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,22 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="rss-connector" default="all">
+
+    <import file="../ino-test-build.xml"/>
+    
+</project>

Propchange: incubator/lcf/trunk/tests/rss/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/rss/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/sharepoint/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/sharepoint/build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/sharepoint/build.xml (added)
+++ incubator/lcf/trunk/tests/sharepoint/build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,22 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="sharepoint-connector" default="all">
+
+    <import file="../ino-test-build.xml"/>
+    
+</project>

Propchange: incubator/lcf/trunk/tests/sharepoint/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/sharepoint/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/solr/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/solr/build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/solr/build.xml (added)
+++ incubator/lcf/trunk/tests/solr/build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,22 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="solr-connector" default="all">
+
+    <import file="../ifs-test-build.xml"/>
+    
+</project>

Propchange: incubator/lcf/trunk/tests/solr/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/solr/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/test-build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/test-build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/test-build.xml (added)
+++ incubator/lcf/trunk/tests/test-build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,93 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="mcf-test-build">
+
+    <import file="../common-build.xml"/>
+    
+    <target name="clean">
+        <delete dir="build"/>
+        <delete dir="test-derby-output"/>
+        <delete dir="test-postgresql-output"/>
+        <delete dir="test-mysql-output"/>
+        <delete dir="test-HSQLDB-output"/>
+        <delete dir="test-HSQLDBext-output"/>
+    </target>
+
+    <path id="mcf-test-build.test-classpath">
+        <fileset dir="../../framework/lib"> 
+            <include name="*.jar"/> 
+        </fileset>
+        <fileset dir="../../framework/build/jar">
+            <include name="*.jar"/>
+        </fileset>
+        <fileset dir="../../framework/build/test-jar">
+            <include name="*.jar"/>
+        </fileset>
+        <fileset dir="../../connectors/${ant.project.name}/dist/lib">
+            <include name="*.jar"/>
+        </fileset>
+        <fileset dir="../../connectors/${ant.project.name}/build/test-jar">
+            <include name="*.jar"/>
+        </fileset>
+    </path>
+    
+    <path id="test-classpath">
+        <path refid="mcf-test-build.test-classpath"/>
+    </path>
+
+    <target name="has-resources-check">
+        <available file="src/main/resources" property="hasResources"/>
+    </target>
+
+    <target name="compile-test-resources" depends="has-resources-check" if="hasResources">
+        <mkdir dir="build/test/classes"/>
+        <copy todir="build/test/classes">
+            <fileset dir="src/main/resources"/>
+        </copy>
+    </target>
+
+    <target name="compile-tests" depends="compile-test-resources">
+        <mkdir dir="build/test/classes"/>
+        <javac srcdir="src/test/java" destdir="build/test/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
+            <classpath>
+                <path refid="test-classpath"/>
+            </classpath>
+        </javac>
+    </target>
+
+    <target name="run-derby" depends="compile-tests"/>
+    <target name="run-postgresql" depends="compile-tests"/>
+    <target name="run-HSQLDB" depends="compile-tests"/>
+    <target name="run-HSQLDBext" depends="compile-tests"/>
+    <target name="run-mysql" depends="compile-tests"/>
+    
+    <target name="run-load-derby" depends="compile-tests"/>
+    <target name="run-load-postgresql" depends="compile-tests"/>
+    <target name="run-load-HSQLDB" depends="compile-tests"/>
+    <target name="run-load-HSQLDBext" depends="compile-tests"/>
+    <target name="run-load-mysql" depends="compile-tests"/>
+    
+    <target name="run-UI-derby" depends="compile-tests"/>
+    <target name="run-UI-postgresql" depends="compile-tests"/>
+    <target name="run-UI-HSQLDB" depends="compile-tests"/>
+    <target name="run-UI-HSQLDBext" depends="compile-tests"/>
+    <target name="run-UI-mysql" depends="compile-tests"/>
+    
+    <target name="all"/>
+    
+</project>

Propchange: incubator/lcf/trunk/tests/test-build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/test-build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/webcrawler/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/webcrawler/build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/webcrawler/build.xml (added)
+++ incubator/lcf/trunk/tests/webcrawler/build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,22 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="web-connector" default="all">
+
+    <import file="../ino-test-build.xml"/>
+    
+</project>

Propchange: incubator/lcf/trunk/tests/webcrawler/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/webcrawler/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/wiki/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/wiki/build.xml?rev=1231739&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/wiki/build.xml (added)
+++ incubator/lcf/trunk/tests/wiki/build.xml Sun Jan 15 20:03:30 2012
@@ -0,0 +1,22 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project name="wiki-connector" default="all">
+
+    <import file="../ino-test-build.xml"/>
+    
+</project>

Propchange: incubator/lcf/trunk/tests/wiki/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/wiki/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id