incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1228827 - in /incubator/lcf/trunk: ./ connectors/activedirectory/ connectors/alfresco/ connectors/cmis/ connectors/documentum/ connectors/filenet/ connectors/filesystem/ connectors/gts/ connectors/jcifs/ connectors/jdbc/ connectors/livelin...
Date Sun, 08 Jan 2012 11:21:55 GMT
Author: kwright
Date: Sun Jan  8 11:21:54 2012
New Revision: 1228827

URL: http://svn.apache.org/viewvc?rev=1228827&view=rev
Log:
First cut of gts UI test, and also reorganize test dependencies so that no thought is required to get them right.  Part of CONNECTORS-339.

Added:
    incubator/lcf/trunk/tests/gts/
    incubator/lcf/trunk/tests/gts/src/
    incubator/lcf/trunk/tests/gts/src/test/
    incubator/lcf/trunk/tests/gts/src/test/java/
    incubator/lcf/trunk/tests/gts/src/test/java/org/
    incubator/lcf/trunk/tests/gts/src/test/java/org/apache/
    incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/
    incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/
    incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/BaseUIDerby.java   (with props)
    incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/NavigationDerbyUI.java   (with props)
Modified:
    incubator/lcf/trunk/build.xml
    incubator/lcf/trunk/connectors/activedirectory/build.xml
    incubator/lcf/trunk/connectors/alfresco/build.xml
    incubator/lcf/trunk/connectors/cmis/build.xml
    incubator/lcf/trunk/connectors/documentum/build.xml
    incubator/lcf/trunk/connectors/filenet/build.xml
    incubator/lcf/trunk/connectors/filesystem/build.xml
    incubator/lcf/trunk/connectors/gts/build.xml
    incubator/lcf/trunk/connectors/jcifs/build.xml
    incubator/lcf/trunk/connectors/jdbc/build.xml
    incubator/lcf/trunk/connectors/livelink/build.xml
    incubator/lcf/trunk/connectors/meridio/build.xml
    incubator/lcf/trunk/connectors/nullauthority/build.xml
    incubator/lcf/trunk/connectors/nulloutput/build.xml
    incubator/lcf/trunk/connectors/opensearchserver/build.xml
    incubator/lcf/trunk/connectors/rss/build.xml
    incubator/lcf/trunk/connectors/sharepoint/build.xml
    incubator/lcf/trunk/connectors/solr/build.xml
    incubator/lcf/trunk/connectors/webcrawler/build.xml
    incubator/lcf/trunk/connectors/wiki/build.xml

Modified: incubator/lcf/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/build.xml (original)
+++ incubator/lcf/trunk/build.xml Sun Jan  8 11:21:54 2012
@@ -1968,6 +1968,15 @@
       </condition>
     </target>
 
+    <target name="calculate-gts-tests-condition" depends="calculate-filesystem-condition,calculate-gts-condition">
+      <condition property="gts-tests.include">
+        <and>
+            <isset property="filesystem.include"/>
+            <isset property="gts.include"/>
+        </and>
+      </condition>
+    </target>
+
     <target name="calculate-rss-tests-condition" depends="calculate-rss-condition,calculate-nulloutput-condition">
       <condition property="rss-tests.include">
         <and>
@@ -2067,16 +2076,13 @@
                  <fileset dir="framework/lib"> 
                     <include name="*.jar"/> 
                 </fileset>
-                <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/activedirectory/build/jar">
+	      <fileset dir="connectors/activedirectory/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/activedirectory/build/test-jar">
@@ -2093,22 +2099,19 @@
                  <fileset dir="framework/lib"> 
                     <include name="*.jar"/> 
                 </fileset>
-                <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/filesystem/build/jar">
+	      <fileset dir="connectors/filesystem/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/filesystem/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/solr/build/jar">
+	      <fileset dir="connectors/solr/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/solr/build/test-jar">
@@ -2118,6 +2121,35 @@
         </javac>
     </target>
 
+    <target name="compile-gts-tests" depends="build-framework,build-filesystem-connector,build-gts-connector,calculate-gts-tests-condition,build-tests-filesystem-connector,build-tests-gts-connector" if="gts-tests.include">
+        <mkdir dir="build/gts-tests/classes"/>
+        <javac srcdir="tests/gts/src/test/java" destdir="build/gts-tests/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
+            <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/filesystem/dist/lib">
+		<include name="*.jar"/>
+	      </fileset>
+	      <fileset dir="connectors/filesystem/build/test-jar">
+		<include name="*.jar"/>
+	      </fileset>
+	      <fileset dir="connectors/gts/dist/lib">
+		<include name="*.jar"/>
+	      </fileset>
+	      <fileset dir="connectors/gts/build/test-jar">
+		<include name="*.jar"/>
+	      </fileset>
+            </classpath>
+        </javac>
+    </target>
+
     <target name="compile-rss-tests" depends="build-framework,build-rss-connector,build-nulloutput-connector,calculate-rss-tests-condition,build-tests-rss-connector,build-tests-nulloutput-connector" if="rss-tests.include">
         <mkdir dir="build/rss-tests/classes"/>
         <javac srcdir="tests/rss/src/test/java" destdir="build/rss-tests/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
@@ -2125,22 +2157,19 @@
                  <fileset dir="framework/lib"> 
                     <include name="*.jar"/> 
                 </fileset>
-                <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/rss/build/jar">
+	      <fileset dir="connectors/rss/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/rss/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2157,22 +2186,19 @@
                  <fileset dir="framework/lib"> 
                     <include name="*.jar"/> 
                 </fileset>
-                <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/webcrawler/build/jar">
+	      <fileset dir="connectors/webcrawler/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/webcrawler/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2189,22 +2215,19 @@
                  <fileset dir="framework/lib"> 
                     <include name="*.jar"/> 
                 </fileset>
-                <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/wiki/build/jar">
+	      <fileset dir="connectors/wiki/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/wiki/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2227,13 +2250,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/sharepoint/build/jar">
+	      <fileset dir="connectors/sharepoint/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/sharepoint/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2250,28 +2273,19 @@
                  <fileset dir="framework/lib"> 
                     <include name="*.jar"/> 
                 </fileset>
-                <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/alfresco/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/alfresco/alfresco-ws-client">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/alfresco/build/jar">
+	      <fileset dir="connectors/alfresco/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/alfresco/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2288,25 +2302,19 @@
                  <fileset dir="framework/lib"> 
                     <include name="*.jar"/> 
                 </fileset>
-                <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/cmis/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/cmis/build/jar">
+	      <fileset dir="connectors/cmis/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/cmis/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2329,7 +2337,7 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/activedirectory/build/jar">
+	      <fileset dir="connectors/activedirectory/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/activedirectory/build/test-jar">
@@ -2357,19 +2365,19 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/filesystem/build/jar">
+	      <fileset dir="connectors/filesystem/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/filesystem/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nullauthority/build/jar">
+	      <fileset dir="connectors/nullauthority/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nullauthority/build/test-jar">
@@ -2400,19 +2408,19 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/filesystem/build/jar">
+	      <fileset dir="connectors/filesystem/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/filesystem/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nullauthority/build/jar">
+	      <fileset dir="connectors/nullauthority/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nullauthority/build/test-jar">
@@ -2440,13 +2448,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/filesystem/build/jar">
+	      <fileset dir="connectors/filesystem/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/filesystem/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2474,13 +2482,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/filesystem/build/jar">
+	      <fileset dir="connectors/filesystem/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/filesystem/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/solr/build/jar">
+	      <fileset dir="connectors/solr/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/solr/build/test-jar">
@@ -2495,6 +2503,40 @@
         </junit>
     </target>
 
+    <target name="run-gts-UI-tests-derby" depends="compile-gts-tests,calculate-gts-tests-condition" if="gts-tests.include">
+        <mkdir dir="test-derby-output/gts"/>
+        <junit fork="true" maxmemory="128m" dir="test-derby-output/gts" outputtoformatters="true" showoutput="true" haltonfailure="true">
+            <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/filesystem/dist/lib">
+		<include name="*.jar"/>
+	      </fileset>
+	      <fileset dir="connectors/filesystem/build/test-jar">
+		<include name="*.jar"/>
+	      </fileset>
+	      <fileset dir="connectors/gts/dist/lib">
+		<include name="*.jar"/>
+	      </fileset>
+	      <fileset dir="connectors/gts/build/test-jar">
+		<include name="*.jar"/>
+	      </fileset>
+                <pathelement location="build/gts-tests/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+
+            <test name="org.apache.manifoldcf.gts_tests.NavigationDerbyUI" todir="test-derby-output/gts"/>
+            <!-- MHL -->
+        </junit>
+    </target>
+
     <target name="run-rss-UI-tests-derby" depends="compile-rss-tests,calculate-rss-tests-condition" if="rss-tests.include">
         <mkdir dir="test-derby-output/rss"/>
         <junit fork="true" maxmemory="128m" dir="test-derby-output/rss" outputtoformatters="true" showoutput="true" haltonfailure="true">
@@ -2508,13 +2550,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/rss/build/jar">
+	      <fileset dir="connectors/rss/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/rss/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2542,13 +2584,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/rss/build/jar">
+	      <fileset dir="connectors/rss/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/rss/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2577,13 +2619,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/rss/build/jar">
+	      <fileset dir="connectors/rss/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/rss/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2612,13 +2654,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/rss/build/jar">
+	      <fileset dir="connectors/rss/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/rss/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2647,13 +2689,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/rss/build/jar">
+	      <fileset dir="connectors/rss/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/rss/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2682,13 +2724,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/webcrawler/build/jar">
+	      <fileset dir="connectors/webcrawler/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/webcrawler/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2716,13 +2758,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/wiki/build/jar">
+	      <fileset dir="connectors/wiki/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/wiki/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2752,13 +2794,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/wiki/build/jar">
+	      <fileset dir="connectors/wiki/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/wiki/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2787,13 +2829,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/wiki/build/jar">
+	      <fileset dir="connectors/wiki/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/wiki/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2826,19 +2868,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/alfresco/lib">
-		<include name="*.jar"/>
-	      </fileset>
-  	      <fileset dir="connectors/alfresco/alfresco-ws-client">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/alfresco/build/jar">
+	      <fileset dir="connectors/alfresco/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/alfresco/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2866,16 +2902,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/cmis/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/cmis/build/jar">
+	      <fileset dir="connectors/cmis/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/cmis/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2903,16 +2936,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/cmis/build/jar">
+	      <fileset dir="connectors/cmis/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/cmis/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/cmis/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2940,16 +2970,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/cmis/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/cmis/build/jar">
+	      <fileset dir="connectors/cmis/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/cmis/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -2976,16 +3003,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/alfresco/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/alfresco/build/jar">
+	      <fileset dir="connectors/alfresco/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/alfresco/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3012,13 +3036,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/sharepoint/build/jar">
+	      <fileset dir="connectors/sharepoint/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/sharepoint/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3045,13 +3069,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/sharepoint/build/jar">
+	      <fileset dir="connectors/sharepoint/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/sharepoint/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3078,13 +3102,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/filesystem/build/jar">
+	      <fileset dir="connectors/filesystem/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/filesystem/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3115,13 +3139,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/filesystem/build/jar">
+	      <fileset dir="connectors/filesystem/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/filesystem/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3152,13 +3176,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/filesystem/build/jar">
+	      <fileset dir="connectors/filesystem/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/filesystem/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3187,13 +3211,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/filesystem/build/jar">
+	      <fileset dir="connectors/filesystem/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/filesystem/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3222,13 +3246,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/wiki/build/jar">
+	      <fileset dir="connectors/wiki/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/wiki/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3256,13 +3280,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/wiki/build/jar">
+	      <fileset dir="connectors/wiki/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/wiki/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3290,13 +3314,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/wiki/build/jar">
+	      <fileset dir="connectors/wiki/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/wiki/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3325,13 +3349,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/wiki/build/jar">
+	      <fileset dir="connectors/wiki/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/wiki/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3360,16 +3384,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/alfresco/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/alfresco/build/jar">
+	      <fileset dir="connectors/alfresco/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/alfresco/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3396,16 +3417,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/alfresco/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/alfresco/build/jar">
+	      <fileset dir="connectors/alfresco/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/alfresco/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3432,16 +3450,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/cmis/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/cmis/build/jar">
+	      <fileset dir="connectors/cmis/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/cmis/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3468,16 +3483,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/cmis/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/cmis/build/jar">
+	      <fileset dir="connectors/cmis/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/cmis/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3504,16 +3516,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/cmis/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/alfresco/build/jar">
+	      <fileset dir="connectors/alfresco/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/alfresco/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3539,16 +3548,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/cmis/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/alfresco/build/jar">
+	      <fileset dir="connectors/alfresco/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/alfresco/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3574,16 +3580,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/cmis/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/cmis/build/jar">
+	      <fileset dir="connectors/cmis/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/cmis/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3610,16 +3613,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/cmis/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/cmis/build/jar">
+	      <fileset dir="connectors/cmis/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/cmis/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3646,13 +3646,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/filesystem/build/jar">
+	      <fileset dir="connectors/filesystem/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/filesystem/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3683,13 +3683,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/filesystem/build/jar">
+	      <fileset dir="connectors/filesystem/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/filesystem/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3718,13 +3718,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/wiki/build/jar">
+	      <fileset dir="connectors/wiki/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/wiki/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3752,13 +3752,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/wiki/build/jar">
+	      <fileset dir="connectors/wiki/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/wiki/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3786,13 +3786,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/sharepoint/build/jar">
+	      <fileset dir="connectors/sharepoint/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/sharepoint/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3819,13 +3819,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/sharepoint/build/jar">
+	      <fileset dir="connectors/sharepoint/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/sharepoint/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3852,13 +3852,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/sharepoint/build/jar">
+	      <fileset dir="connectors/sharepoint/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/sharepoint/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3885,13 +3885,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/sharepoint/build/jar">
+	      <fileset dir="connectors/sharepoint/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/sharepoint/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3918,16 +3918,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/alfresco/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/alfresco/build/jar">
+	      <fileset dir="connectors/alfresco/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/alfresco/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3955,16 +3952,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/cmis/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/cmis/build/jar">
+	      <fileset dir="connectors/cmis/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/cmis/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/libr">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -3994,16 +3988,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/alfresco/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/alfresco/build/jar">
+	      <fileset dir="connectors/alfresco/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/alfresco/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -4031,16 +4022,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-  	      <fileset dir="connectors/cmis/lib">
-		<include name="*.jar"/>
-	      </fileset>
-	      <fileset dir="connectors/cmis/build/jar">
+	      <fileset dir="connectors/cmis/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/cmis/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -4067,13 +4055,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/sharepoint/build/jar">
+	      <fileset dir="connectors/sharepoint/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/sharepoint/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -4100,13 +4088,13 @@
 	      <fileset dir="framework/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/sharepoint/build/jar">
+	      <fileset dir="connectors/sharepoint/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/sharepoint/build/test-jar">
 		<include name="*.jar"/>
 	      </fileset>
-	      <fileset dir="connectors/nulloutput/build/jar">
+	      <fileset dir="connectors/nulloutput/dist/lib">
 		<include name="*.jar"/>
 	      </fileset>
 	      <fileset dir="connectors/nulloutput/build/test-jar">
@@ -4285,7 +4273,7 @@
 
     <target name="ldtest" depends="load-dr,load-hs"/>
 
-    <target name="uitest" depends="run-filesystem-UI-tests-derby,run-activedirectory-UI-tests-derby,run-rss-UI-tests-derby,run-webcrawler-UI-tests-derby,run-wiki-UI-tests-derby,run-solr-UI-tests-derby,run-cmis-UI-tests-derby"/>
+    <target name="uitest" depends="run-filesystem-UI-tests-derby,run-activedirectory-UI-tests-derby,run-rss-UI-tests-derby,run-webcrawler-UI-tests-derby,run-wiki-UI-tests-derby,run-solr-UI-tests-derby,run-cmis-UI-tests-derby,run-gts-UI-tests-derby"/>
     
     <target name="all" depends="build,javadoc,doc,image,test-dr,test-hs"/>
 

Modified: incubator/lcf/trunk/connectors/activedirectory/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/activedirectory/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/activedirectory/build.xml (original)
+++ incubator/lcf/trunk/connectors/activedirectory/build.xml Sun Jan  8 11:21:54 2012
@@ -56,7 +56,7 @@
     </target>
 
     <target name="build" depends="lib"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib">
       <mkdir dir="build/test-jar"/>
     </target>
     <target name="run-tests"/>

Modified: incubator/lcf/trunk/connectors/alfresco/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/alfresco/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/alfresco/build.xml (original)
+++ incubator/lcf/trunk/connectors/alfresco/build.xml Sun Jan  8 11:21:54 2012
@@ -112,7 +112,7 @@
     
     <target name="build" depends="lib"/>
     
-    <target name="build-tests" depends="precompile-check" if="canBuild">
+    <target name="build-tests" depends="lib,precompile-check" if="canBuild">
         <mkdir dir="build/test-jar"/>
     </target>
     

Modified: incubator/lcf/trunk/connectors/cmis/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/cmis/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/cmis/build.xml (original)
+++ incubator/lcf/trunk/connectors/cmis/build.xml Sun Jan  8 11:21:54 2012
@@ -88,7 +88,7 @@
     </target>
 
     <target name="build" depends="lib"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib">
       <mkdir dir="build/test-jar"/>
     </target>
     

Modified: incubator/lcf/trunk/connectors/documentum/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/documentum/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/documentum/build.xml (original)
+++ incubator/lcf/trunk/connectors/documentum/build.xml Sun Jan  8 11:21:54 2012
@@ -222,7 +222,7 @@
     </target>
 
     <target name="build" depends="lib,server-process,registry-process"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib,server-process,registry-process,precompile-check" if="canBuild">
       <mkdir dir="build/test-jar"/>
     </target>
     <target name="run-tests"/>

Modified: incubator/lcf/trunk/connectors/filenet/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/filenet/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/filenet/build.xml (original)
+++ incubator/lcf/trunk/connectors/filenet/build.xml Sun Jan  8 11:21:54 2012
@@ -217,7 +217,7 @@
     </target>
 
     <target name="build" depends="lib,server-process,registry-process"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib,server-process,registry-process,precompile-check" if="canBuild">
       <mkdir dir="build/test-jar"/>
     </target>
     <target name="run-tests"/>

Modified: incubator/lcf/trunk/connectors/filesystem/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/filesystem/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/filesystem/build.xml (original)
+++ incubator/lcf/trunk/connectors/filesystem/build.xml Sun Jan  8 11:21:54 2012
@@ -145,7 +145,7 @@
     </target>
 
     <target name="build" depends="lib"/>
-    <target name="build-tests" depends="jar-tests"/>
+    <target name="build-tests" depends="jar-tests,lib"/>
     <target name="all" depends="build,doc,build-tests,run-tests,run-tests-derby,run-tests-HSQLDB"/>
     
 </project>

Modified: incubator/lcf/trunk/connectors/gts/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/gts/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/gts/build.xml (original)
+++ incubator/lcf/trunk/connectors/gts/build.xml Sun Jan  8 11:21:54 2012
@@ -61,7 +61,7 @@
     </target>
 
     <target name="build" depends="lib"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib">
       <mkdir dir="build/test-jar"/>
     </target>
     <target name="run-tests"/>

Modified: incubator/lcf/trunk/connectors/jcifs/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/jcifs/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/jcifs/build.xml (original)
+++ incubator/lcf/trunk/connectors/jcifs/build.xml Sun Jan  8 11:21:54 2012
@@ -72,7 +72,7 @@
     </target>
 
     <target name="build" depends="lib"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib">
       <mkdir dir="build/test-jar"/>
     </target>
     <target name="run-tests"/>

Modified: incubator/lcf/trunk/connectors/jdbc/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/jdbc/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/jdbc/build.xml (original)
+++ incubator/lcf/trunk/connectors/jdbc/build.xml Sun Jan  8 11:21:54 2012
@@ -59,7 +59,7 @@
     </target>
 
     <target name="build" depends="lib"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib">
       <mkdir dir="build/test-jar"/>
     </target>
     <target name="run-tests"/>

Modified: incubator/lcf/trunk/connectors/livelink/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/livelink/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/livelink/build.xml (original)
+++ incubator/lcf/trunk/connectors/livelink/build.xml Sun Jan  8 11:21:54 2012
@@ -72,7 +72,7 @@
     </target>
 
     <target name="build" depends="lib"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib,precompile-check" if="canBuild">
       <mkdir dir="build/test-jar"/>
     </target>
     <target name="run-tests"/>

Modified: incubator/lcf/trunk/connectors/meridio/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/meridio/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/meridio/build.xml (original)
+++ incubator/lcf/trunk/connectors/meridio/build.xml Sun Jan  8 11:21:54 2012
@@ -207,7 +207,7 @@
     </target>
 
     <target name="build" depends="lib,integration"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib,integration,precompile-check" if="canBuild">
       <mkdir dir="build/test-jar"/>
     </target>
     <target name="run-tests"/>

Modified: incubator/lcf/trunk/connectors/nullauthority/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/nullauthority/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/nullauthority/build.xml (original)
+++ incubator/lcf/trunk/connectors/nullauthority/build.xml Sun Jan  8 11:21:54 2012
@@ -56,7 +56,7 @@
     </target>
 
     <target name="build" depends="lib"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib">
       <mkdir dir="build/test-jar"/>
     </target>
     <target name="run-tests"/>

Modified: incubator/lcf/trunk/connectors/nulloutput/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/nulloutput/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/nulloutput/build.xml (original)
+++ incubator/lcf/trunk/connectors/nulloutput/build.xml Sun Jan  8 11:21:54 2012
@@ -56,7 +56,7 @@
     </target>
 
     <target name="build" depends="lib"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib">
       <mkdir dir="build/test-jar"/>
     </target>
     <target name="run-tests"/>

Modified: incubator/lcf/trunk/connectors/opensearchserver/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/opensearchserver/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/opensearchserver/build.xml (original)
+++ incubator/lcf/trunk/connectors/opensearchserver/build.xml Sun Jan  8 11:21:54 2012
@@ -56,7 +56,7 @@
   </target>
 
   <target name="build" depends="lib" />
-  <target name="build-tests">
+  <target name="build-tests" depends="lib">
     <mkdir dir="build/test-jar" />
   </target>
   <target name="run-tests" />

Modified: incubator/lcf/trunk/connectors/rss/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/rss/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/rss/build.xml (original)
+++ incubator/lcf/trunk/connectors/rss/build.xml Sun Jan  8 11:21:54 2012
@@ -96,7 +96,7 @@
 
     <target name="build" depends="lib"/>
     
-    <target name="build-tests" depends="jar-tests"/>
+    <target name="build-tests" depends="jar-tests,lib"/>
     
     <target name="run-tests-derby"/>
     <target name="run-tests-postgresql"/>

Modified: incubator/lcf/trunk/connectors/sharepoint/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/sharepoint/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/sharepoint/build.xml (original)
+++ incubator/lcf/trunk/connectors/sharepoint/build.xml Sun Jan  8 11:21:54 2012
@@ -156,7 +156,7 @@
     </target>
 
     <target name="build" depends="lib,integration"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib,integration,precompile-check" if="canBuild">
       <mkdir dir="build/test-jar"/>
     </target>
     <target name="run-tests"/>

Modified: incubator/lcf/trunk/connectors/solr/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/solr/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/solr/build.xml (original)
+++ incubator/lcf/trunk/connectors/solr/build.xml Sun Jan  8 11:21:54 2012
@@ -66,7 +66,7 @@
     </target>
     
     <target name="build" depends="lib,integration"/>
-    <target name="build-tests">
+    <target name="build-tests" depends="lib,integration">
       <mkdir dir="build/test-jar"/>
     </target>
     <target name="run-tests"/>

Modified: incubator/lcf/trunk/connectors/webcrawler/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/webcrawler/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/webcrawler/build.xml (original)
+++ incubator/lcf/trunk/connectors/webcrawler/build.xml Sun Jan  8 11:21:54 2012
@@ -96,7 +96,7 @@
 
     <target name="build" depends="lib"/>
     
-    <target name="build-tests" depends="jar-tests"/>
+    <target name="build-tests" depends="jar-tests,lib"/>
     
     <target name="run-tests-derby"/>
     <target name="run-tests-postgresql"/>

Modified: incubator/lcf/trunk/connectors/wiki/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/wiki/build.xml?rev=1228827&r1=1228826&r2=1228827&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/wiki/build.xml (original)
+++ incubator/lcf/trunk/connectors/wiki/build.xml Sun Jan  8 11:21:54 2012
@@ -80,7 +80,7 @@
 
     <target name="build" depends="lib"/>
     
-    <target name="build-tests" depends="jar-tests"/>
+    <target name="build-tests" depends="jar-tests,lib"/>
 
     <target name="jar-tests" depends="jar-connector-tests"/>
 

Added: incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/BaseUIDerby.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/BaseUIDerby.java?rev=1228827&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/BaseUIDerby.java (added)
+++ incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/BaseUIDerby.java Sun Jan  8 11:21:54 2012
@@ -0,0 +1,53 @@
+/* $Id$ */
+
+/**
+* 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.
+*/
+package org.apache.manifoldcf.gts_tests;
+
+import org.apache.manifoldcf.core.interfaces.*;
+import org.apache.manifoldcf.agents.interfaces.*;
+import org.apache.manifoldcf.crawler.interfaces.*;
+import org.apache.manifoldcf.crawler.system.ManifoldCF;
+
+import java.io.*;
+import java.util.*;
+import org.junit.*;
+
+/** Tests that run the "agents daemon" should be derived from this */
+public class BaseUIDerby extends org.apache.manifoldcf.crawler.tests.ConnectorBaseUIDerby
+{
+  protected String[] getConnectorNames()
+  {
+    return new String[]{"File Connector"};
+  }
+  
+  protected String[] getConnectorClasses()
+  {
+    return new String[]{"org.apache.manifoldcf.crawler.connectors.filesystem.FileConnector"};
+  }
+  
+  protected String[] getOutputNames()
+  {
+    return new String[]{"GTS Output"};
+  }
+  
+  protected String[] getOutputClasses()
+  {
+    return new String[]{"org.apache.manifoldcf.agents.output.gts.GTSConnector"};
+  }
+
+}

Propchange: incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/BaseUIDerby.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/BaseUIDerby.java
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/NavigationDerbyUI.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/NavigationDerbyUI.java?rev=1228827&view=auto
==============================================================================
--- incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/NavigationDerbyUI.java (added)
+++ incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/NavigationDerbyUI.java Sun Jan  8 11:21:54 2012
@@ -0,0 +1,190 @@
+/* $Id$ */
+
+/**
+* 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.
+*/
+package org.apache.manifoldcf.gts_tests;
+
+import org.apache.manifoldcf.core.interfaces.*;
+import org.apache.manifoldcf.agents.interfaces.*;
+import org.apache.manifoldcf.crawler.interfaces.*;
+import org.apache.manifoldcf.crawler.system.ManifoldCF;
+
+import java.io.*;
+import java.util.*;
+import org.junit.*;
+
+import org.apache.manifoldcf.core.tests.HTMLTester;
+
+/** Basic UI navigation tests */
+public class NavigationDerbyUI extends BaseUIDerby
+{
+
+  @Test
+  public void createConnectionsAndJob()
+    throws Exception
+  {
+    testerInstance.newTest(Locale.US);
+    
+    HTMLTester.Window window;
+    HTMLTester.Link link;
+    HTMLTester.Form form;
+    HTMLTester.Textarea textarea;
+    HTMLTester.Selectbox selectbox;
+    HTMLTester.Button button;
+    HTMLTester.Radiobutton radiobutton;
+    HTMLTester.Loop loop;
+    
+    window = testerInstance.openMainWindow("http://localhost:8346/mcf-crawler-ui/index.jsp");
+    
+    // Define an output connection via the UI
+    link = window.findLink(testerInstance.createStringDescription("List output connections"));
+    link.click();
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("Add an output connection"));
+    link.click();
+    // Fill in a name
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editconnection"));
+    textarea = form.findTextarea(testerInstance.createStringDescription("connname"));
+    textarea.setValue(testerInstance.createStringDescription("MyOutputConnection"));
+    link = window.findLink(testerInstance.createStringDescription("Type tab"));
+    link.click();
+    // Select a type
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editconnection"));
+    selectbox = form.findSelectbox(testerInstance.createStringDescription("classname"));
+    selectbox.selectValue(testerInstance.createStringDescription("org.apache.manifoldcf.agents.output.gts.GTSConnector"));
+    button = window.findButton(testerInstance.createStringDescription("Continue to next page"));
+    button.click();
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editconnection"));
+    // Visit the Throttling tab
+    link = window.findLink(testerInstance.createStringDescription("Throttling tab"));
+    link.click();
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editconnection"));
+    // Visit the GTS tabs - MHL
+    // Now save the connection.
+    window = testerInstance.findWindow(null);
+    button = window.findButton(testerInstance.createStringDescription("Save this output connection"));
+    button.click();
+    
+    // Define a repository connection via the UI
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("List repository connections"));
+    link.click();
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("Add a connection"));
+    link.click();
+    // Fill in a name
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editconnection"));
+    textarea = form.findTextarea(testerInstance.createStringDescription("connname"));
+    textarea.setValue(testerInstance.createStringDescription("MyRepositoryConnection"));
+    link = window.findLink(testerInstance.createStringDescription("Type tab"));
+    link.click();
+    // Select a type
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editconnection"));
+    selectbox = form.findSelectbox(testerInstance.createStringDescription("classname"));
+    selectbox.selectValue(testerInstance.createStringDescription("org.apache.manifoldcf.crawler.connectors.filesystem.FileConnector"));
+    button = window.findButton(testerInstance.createStringDescription("Continue to next page"));
+    button.click();
+    // Visit the Throttling tab
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("Throttling tab"));
+    link.click();
+    // Go back to the Name tab
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("Name tab"));
+    link.click();
+    // Now save the connection.
+    window = testerInstance.findWindow(null);
+    button = window.findButton(testerInstance.createStringDescription("Save this connection"));
+    button.click();
+    
+    // Create a job
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("List jobs"));
+    link.click();
+    // Add a job
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("Add a job"));
+    link.click();
+    // Fill in a name
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editjob"));
+    textarea = form.findTextarea(testerInstance.createStringDescription("description"));
+    textarea.setValue(testerInstance.createStringDescription("MyJob"));
+    link = window.findLink(testerInstance.createStringDescription("Connection tab"));
+    link.click();
+    // Select the connections
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editjob"));
+    selectbox = form.findSelectbox(testerInstance.createStringDescription("outputname"));
+    selectbox.selectValue(testerInstance.createStringDescription("MyOutputConnection"));
+    selectbox = form.findSelectbox(testerInstance.createStringDescription("connectionname"));
+    selectbox.selectValue(testerInstance.createStringDescription("MyRepositoryConnection"));
+    button = window.findButton(testerInstance.createStringDescription("Continue to next screen"));
+    button.click();
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editjob"));
+    // Visit all the GTS tabs
+    // MHL
+
+    // Save the job
+    button = window.findButton(testerInstance.createStringDescription("Save this job"));
+    button.click();
+
+    // Delete the job
+    window = testerInstance.findWindow(null);
+    HTMLTester.StringDescription jobID = window.findMatch(testerInstance.createStringDescription("<!--jobid=(.*?)-->"),0);
+    testerInstance.printValue(jobID);
+    link = window.findLink(testerInstance.createStringDescription("Delete this job"));
+    link.click();
+    
+    // Wait for the job to go away
+    loop = testerInstance.beginLoop(120);
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("Manage jobs"));
+    link.click();
+    window = testerInstance.findWindow(null);
+    HTMLTester.StringDescription isJobNotPresent = window.isNotPresent(jobID);
+    testerInstance.printValue(isJobNotPresent);
+    loop.breakWhenTrue(isJobNotPresent);
+    loop.endLoop();
+    
+    // Delete the repository connection
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("List repository connections"));
+    link.click();
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("Delete MyRepositoryConnection"));
+    link.click();
+    
+    // Delete the output connection
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("List output connections"));
+    link.click();
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("Delete MyOutputConnection"));
+    link.click();
+    
+    testerInstance.executeTest();
+  }
+  
+}

Propchange: incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/NavigationDerbyUI.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/trunk/tests/gts/src/test/java/org/apache/manifoldcf/gts_tests/NavigationDerbyUI.java
------------------------------------------------------------------------------
    svn:keywords = Id



Mime
View raw message