manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r912147 [3/4] - in /incubator/lcf/trunk/modules: ./ connectors/documentum/ connectors/filenet/ connectors/filesystem/ connectors/gts/ connectors/jcifs/ connectors/jdbc/ connectors/livelink/ connectors/lucene/ connectors/memex/ connectors/me...
Date Sat, 20 Feb 2010 16:49:51 GMT
Modified: incubator/lcf/trunk/modules/connectors/meridio/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/meridio/build.xml?rev=912147&r1=912146&r2=912147&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/meridio/build.xml (original)
+++ incubator/lcf/trunk/modules/connectors/meridio/build.xml Sat Feb 20 16:49:50 2010
@@ -1,207 +1,268 @@
-<project default="all">
-
-    <target name="clean">
-        <delete dir="build"/>
-    </target>
-
-    <target name="calculate-condition">
-        <available file="wsdls/MeridioDMWS_axis.wsdl" property="meridioDMWS_axisStatus"/>
-        <available file="wsdls/MeridioRMWS_axis.wsdl" property="meridioRMWS_axisStatus"/>
-        <available file="wsdls/DMDataSet.xsd" property="DMDataSetStatus"/>
-        <available file="wsdls/RMDataSet.xsd" property="RMDataSetStatus"/>
-        <available file="wsdls/RMClassificationDataSet.xsd" property="RMClassificationDataSetStatus"/>
-        <condition property="canBuild">
-            <and>
-                <isset property="meridioDMWS_axisStatus"/>
-                <isset property="meridioRMWS_axisStatus"/>
-                <isset property="DMDataSetStatus"/>
-                <isset property="RMDataSetStatus"/>
-                <isset property="RMClassificationDataSetStatus"/>
-            </and>
-        </condition>
-    </target>
-
-    <target name="precompile-check" depends="calculate-condition" unless="canBuild">
-        <echo message="Meridio Connector cannot be built without MeridioDMWS_axis.wsdl, MeridioRMWS_axis.wsdl, DMDataSet.xsd, RMDataSet.xsd, RMClassificationDataSet.xsd, activation.jar, and mailapi.jar"/>
-    </target>
-
-    <target name="classcreate-wsdl">
-        <mkdir dir="build/wsdljava"/>
-        <java classname="org.apache.axis.wsdl.WSDL2Java" fork="true" classpath="lib/axis.jar:lib/commons-logging.jar:lib/commons-discovery.jar:lib/saaj.jar:lib/wsdl4j.jar:lib/jaxrpc.jar:lib/activation.jar:lib/xml-apis.jar:lib/xercesImpl.jar">
-            <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/MeridioDMWS_axis.wsdl"/>
-        </antcall>
-        <antcall target="classcreate-wsdl">
-            <param name="wsdlname" value="wsdls/MeridioRMWS_axis.wsdl"/>
-        </antcall>
-        <antcall target="classcreate-wsdl">
-            <param name="wsdlname" value="wsdls/MetaCartaWS_axis.wsdl"/>
-        </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.lcf.crawler.connectors.meridio.${packagename}"/>
-        </java>
-    </target>
-
-    <target name="classcreate-xsds" depends="precompile-check" if="canBuild">
-        <mkdir dir="build/xsdjava"/>
-        <antcall target="classcreate-xsd">
-            <param name="xsdname" value="wsdls/DMDataSet.xsd"/>
-            <param name="packagename" value="DMDataSet"/>
-        </antcall>
-        <antcall target="classcreate-xsd">
-            <param name="xsdname" value="wsdls/RMClassificationDataSet.xsd"/>
-            <param name="packagename" value="RMClassificationDataSet"/>
-        </antcall>
-        <antcall target="classcreate-xsd">
-            <param name="xsdname" value="wsdls/RMDataSet.xsd"/>
-            <param name="packagename" value="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" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/mailapi.jar:lib/axis.jar:lib/activation.jar:lib/jaxrpc.jar:lib/saaj.jar" target="1.5" source="1.4"/>
-    </target>
-
-    <target name="compile-xsds" depends="classcreate-xsds,precompile-check" if="canBuild">
-        <mkdir dir="build/xsdclasses"/>
-        <javac srcdir="build/xsdjava" destdir="build/xsdclasses" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/mailapi.jar:lib/castor-1.0.5-commons.jar:lib/castor-1.0.5.jar:lib/castor-1.0.5-xml.jar:lib/geronimo-activation_1.1_spec.jar" target="1.5" source="1.4"/>
-    </target>
-
-    <target name="compile-connector" depends="compile-wsdls,compile-xsds,precompile-check" if="canBuild">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector" destdir="build/connector/classes" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/commons-httpclient.jar:lib/commons-collections.jar:lib/commons-codec.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/mailapi.jar:lib/castor-1.0.5-commons.jar:lib/castor-1.0.5.jar:lib/castor-1.0.5-xml.jar:lib/geronimo-activation_1.1_spec.jar:lib/axis.jar:build/wsdlclasses:build/xsdclasses:lib/activation.jar:lib/jaxrpc.jar:lib/saaj.jar" target="1.5" source="1.4"/>
-    </target>
-
-    <target name="compile-crawler-ui" depends="compile-connector,compile-wsdls,compile-xsds,precompile-check" if="canBuild">
-        <!-- Unpack the crawler war -->
-        <mkdir dir="build/crawler-war"/>
-        <unwar src="war/lcf-crawler-ui.war" dest="build/crawler-war"/>
-        <!-- Create a copy of everything in the proper environment -->
-        <mkdir dir="build/jsp-environment/WEB-INF/lib"/>
-        <mkdir dir="build/jsp-environment/WEB-INF/jsp"/>
-        <copy todir="build/jsp-environment/WEB-INF" file="build/crawler-war/WEB-INF/web.xml"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/adminHeaders.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/adminDefaults.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/error.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/checkAdminLogin.jsp"/>
-
-        <copy todir="build/jsp-environment">
-            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/lib">
-            <fileset dir="build/crawler-war/WEB-INF/lib">
-                <include name="*.jar"/>
-            </fileset>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/jsp">
-            <fileset dir="build/crawler-war/WEB-INF/jsp">
-                <include name="*.tld"/>
-            </fileset>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/classes">
-            <fileset dir="build/connector/classes"/>
-        </copy>
-        <!-- Compile to java, as a check -->
-        <mkdir dir="build/crawler-ui/java"/>
-        <!-- Define the jsp compilation task using tomcat libraries -->
-        <taskdef classname="org.apache.jasper.JspC" name="jasper2" > 
-            <classpath id="jspc.classpath"> 
-                <pathelement location="${java.home}/../lib/tools.jar"/>
-                <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset> 
-                <pathelement location="build/crawler-war/WEB-INF/lib/jstl.jar"/>
-                <pathelement location="build/crawler-war/WEB-INF/lib/standard.jar"/>
-                <pathelement location="build/connector/classes"/>
-                <pathelement location="build/wsdlclasses"/>
-                <pathelement location="build/xsdclasses"/>
-            </classpath> 
-        </taskdef> 
-        <jasper2 validateXml="false" uriroot="build/jsp-environment" webXmlFragment="build/jsp-environment/WEB-INF/web-generated.xml" outputDir="build/crawler-ui/java" /> 
-        <!-- Compile java classes -->
-        <mkdir dir="build/crawler-ui/classes"/>
-        <javac srcdir="build/crawler-ui/java" destdir="build/crawler-ui/classes" target="1.5" source="1.4">
-            <classpath id="classpath">
-                <pathelement location="${java.home}/../lib/tools.jar"/>
-                <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset>
-                <pathelement location="build/crawler-war/WEB-INF/lib/jstl.jar"/>
-                <pathelement location="build/crawler-war/WEB-INF/lib/standard.jar"/>
-                <pathelement location="build/connector/classes"/>
-                <pathelement location="build/wsdlclasses"/>
-                <pathelement location="build/xsdclasses"/>
-            </classpath>
-        </javac>
-    </target>
-    
-    <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/lcf-meridio-connector.jar" basedir="build/connector/classes"/>
-    </target>
-    
-    <target name="jar-wsdls" depends="compile-wsdls,precompile-check" if="canBuild">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/lcf-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/lcf-meridio-xsdstub.jar" basedir="build/xsdclasses"/>
-    </target>
-
-    <target name="webapp-connector-ui" depends="compile-crawler-ui,jar-connector,jar-wsdls,jar-xsds,precompile-check" if="canBuild">
-        <mkdir dir="build/webapp/crawler-ui/WEB-INF/lib"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-meridio-connector.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-meridio-wsdlstub.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-meridio-xsdstub.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/axis.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/jaxrpc.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/wsdl4j.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/saaj.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/commons-discovery.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/castor-1.0.5-commons.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/castor-1.0.5.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/castor-1.0.5-xml.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/geronimo-activation_1.1_spec.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/geronimo-javamail_1.4_spec.jar"/>
-        <mkdir dir="build/webapp/crawler-ui"/>
-        <copy todir="build/webapp/crawler-ui">
-            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
-        </copy>
-    </target>
-    
-    <target name="iar-connector-ui" depends="webapp-connector-ui,precompile-check" if="canBuild">
-        <mkdir dir="build/iar"/>
-        <jar destfile="build/iar/lcf-meridioconnector-crawler-ui.iar" basedir="build/webapp/crawler-ui"/>
-    </target>
-
-    <target name="all" depends="jar-connector,jar-wsdls,jar-xsds,iar-connector-ui"/>
-    
-</project>
+<project default="all">
+
+    <target name="clean">
+        <delete dir="build"/>
+        <delete dir="dist"/>
+    </target>
+
+    <target name="calculate-condition">
+        <available file="wsdls/MeridioDMWS_axis.wsdl" property="meridioDMWS_axisStatus"/>
+        <available file="wsdls/MeridioRMWS_axis.wsdl" property="meridioRMWS_axisStatus"/>
+        <available file="wsdls/DMDataSet_castor.xsd" property="DMDataSetStatus"/>
+        <available file="wsdls/RMDataSet_castor.xsd" property="RMDataSetStatus"/>
+        <available file="wsdls/RMClassificationDataSet_castor.xsd" property="RMClassificationDataSetStatus"/>
+        <condition property="canBuild">
+            <and>
+                <isset property="meridioDMWS_axisStatus"/>
+                <isset property="meridioRMWS_axisStatus"/>
+                <isset property="DMDataSetStatus"/>
+                <isset property="RMDataSetStatus"/>
+                <isset property="RMClassificationDataSetStatus"/>
+            </and>
+        </condition>
+    </target>
+
+    <target name="precompile-check" depends="calculate-condition" unless="canBuild">
+        <echo message="Meridio Connector cannot be built without MeridioDMWS_axis.wsdl, MeridioRMWS_axis.wsdl, DMDataSet_castor.xsd, RMDataSet_castor.xsd, and RMClassificationDataSet_castor.xsd"/>
+    </target>
+
+    <target name="copy-wsdls" depends="precompile-check" if="canBuild">
+        <mkdir dir="build/wsdls"/>
+        <copy tofile="build/wsdls/MeridioRMWS.wsdl" file="wsdls/MeridioRMWS_axis.wsdl"/>
+        <copy tofile="build/wsdls/MeridioDMWS.wsdl" file="wsdls/MeridioDMWS_axis.wsdl"/>
+        <copy tofile="build/wsdls/RMDataSet.xsd" file="wsdls/RMDataSet_castor.xsd"/>
+        <copy tofile="build/wsdls/DMDataSet.xsd" file="wsdls/DMDataSet_castor.xsd"/>
+        <copy tofile="build/wsdls/RMClassificationDataSet.xsd" file="wsdls/RMClassificationDataSet_castor.xsd"/>
+        <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="lib/axis.jar:lib/commons-logging.jar:lib/commons-discovery.jar:lib/saaj.jar:lib/wsdl4j.jar:lib/jaxrpc.jar:lib/activation.jar:lib/xml-apis.jar:lib/xercesImpl.jar">
+            <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"/>
+        </antcall>
+        <antcall target="classcreate-wsdl">
+            <param name="wsdlname" value="build/wsdls/MeridioRMWS.wsdl"/>
+        </antcall>
+        <antcall target="classcreate-wsdl">
+            <param name="wsdlname" value="build/wsdls/MetaCartaWS.wsdl"/>
+        </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.lcf.crawler.connectors.meridio.${packagename}"/>
+        </java>
+    </target>
+
+    <target name="classcreate-xsds" depends="precompile-check" if="canBuild">
+        <mkdir dir="build/xsdjava"/>
+        <antcall target="classcreate-xsd">
+            <param name="xsdname" value="build/wsdls/DMDataSet.xsd"/>
+            <param name="packagename" value="DMDataSet"/>
+        </antcall>
+        <antcall target="classcreate-xsd">
+            <param name="xsdname" value="build/wsdls/RMClassificationDataSet.xsd"/>
+            <param name="packagename" value="RMClassificationDataSet"/>
+        </antcall>
+        <antcall target="classcreate-xsd">
+            <param name="xsdname" value="build/wsdls/RMDataSet.xsd"/>
+            <param name="packagename" value="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" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/mailapi.jar:lib/axis.jar:lib/activation.jar:lib/jaxrpc.jar:lib/saaj.jar" target="1.5" source="1.4"/>
+    </target>
+
+    <target name="compile-xsds" depends="classcreate-xsds,precompile-check" if="canBuild">
+        <mkdir dir="build/xsdclasses"/>
+        <javac srcdir="build/xsdjava" destdir="build/xsdclasses" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/mailapi.jar:lib/castor-1.0.5-commons.jar:lib/castor-1.0.5.jar:lib/castor-1.0.5-xml.jar:lib/geronimo-activation_1.1_spec.jar" target="1.5" source="1.4"/>
+    </target>
+
+    <target name="compile-connector" depends="compile-wsdls,compile-xsds,precompile-check" if="canBuild">
+        <mkdir dir="build/connector/classes"/>
+        <javac srcdir="connector" destdir="build/connector/classes" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/commons-httpclient.jar:lib/commons-collections.jar:lib/commons-codec.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/mailapi.jar:lib/castor-1.0.5-commons.jar:lib/castor-1.0.5.jar:lib/castor-1.0.5-xml.jar:lib/geronimo-activation_1.1_spec.jar:lib/axis.jar:build/wsdlclasses:build/xsdclasses:lib/activation.jar:lib/jaxrpc.jar:lib/saaj.jar" target="1.5" source="1.4"/>
+    </target>
+
+    <target name="compile-crawler-ui" depends="compile-connector,compile-wsdls,compile-xsds,precompile-check" if="canBuild">
+        <!-- Unpack the crawler war -->
+        <mkdir dir="build/crawler-ui-war"/>
+        <unwar src="war/lcf-crawler-ui.war" dest="build/crawler-ui-war"/>
+        <!-- Create a copy of everything in the proper environment -->
+        <mkdir dir="build/jsp-environment/WEB-INF/lib"/>
+        <mkdir dir="build/jsp-environment/WEB-INF/jsp"/>
+        <copy todir="build/jsp-environment/WEB-INF" file="build/crawler-ui-war/WEB-INF/web.xml"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/adminHeaders.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/adminDefaults.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/error.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/checkAdminLogin.jsp"/>
+
+        <copy todir="build/jsp-environment">
+            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/lib">
+            <fileset dir="build/crawler-ui-war/WEB-INF/lib">
+                <include name="*.jar"/>
+            </fileset>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/jsp">
+            <fileset dir="build/crawler-ui-war/WEB-INF/jsp">
+                <include name="*.tld"/>
+            </fileset>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/classes">
+            <fileset dir="build/connector/classes"/>
+        </copy>
+        <!-- Compile to java, as a check -->
+        <mkdir dir="build/crawler-ui/java"/>
+        <!-- Define the jsp compilation task using tomcat libraries -->
+        <taskdef classname="org.apache.jasper.JspC" name="jasper2" > 
+            <classpath id="jspc.classpath"> 
+                <pathelement location="${java.home}/../lib/tools.jar"/>
+                <fileset dir="lib"> 
+                    <include name="*.jar"/> 
+                </fileset> 
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/jstl.jar"/>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/standard.jar"/>
+                <pathelement location="build/connector/classes"/>
+                <pathelement location="build/wsdlclasses"/>
+                <pathelement location="build/xsdclasses"/>
+            </classpath> 
+        </taskdef> 
+        <jasper2 validateXml="false" uriroot="build/jsp-environment" webXmlFragment="build/jsp-environment/WEB-INF/web-generated.xml" outputDir="build/crawler-ui/java" /> 
+        <!-- Compile java classes -->
+        <mkdir dir="build/crawler-ui/classes"/>
+        <javac srcdir="build/crawler-ui/java" destdir="build/crawler-ui/classes" target="1.5" source="1.4">
+            <classpath id="classpath">
+                <pathelement location="${java.home}/../lib/tools.jar"/>
+                <fileset dir="lib"> 
+                    <include name="*.jar"/> 
+                </fileset>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/jstl.jar"/>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/standard.jar"/>
+                <pathelement location="build/connector/classes"/>
+                <pathelement location="build/wsdlclasses"/>
+                <pathelement location="build/xsdclasses"/>
+            </classpath>
+        </javac>
+    </target>
+    
+    <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
+        <mkdir dir="build/jar"/>
+        <jar destfile="build/jar/lcf-meridio-connector.jar" basedir="build/connector/classes"/>
+    </target>
+    
+    <target name="jar-wsdls" depends="compile-wsdls,precompile-check" if="canBuild">
+        <mkdir dir="build/jar"/>
+        <jar destfile="build/jar/lcf-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/lcf-meridio-xsdstub.jar" basedir="build/xsdclasses"/>
+    </target>
+
+    <target name="webapp-crawler-ui" depends="compile-crawler-ui,jar-connector,jar-wsdls,jar-xsds,precompile-check" if="canBuild">
+        <mkdir dir="build/webapp/crawler-ui/WEB-INF/lib"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-meridio-connector.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-meridio-wsdlstub.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-meridio-xsdstub.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/axis.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/jaxrpc.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/wsdl4j.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/saaj.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/commons-discovery.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/castor-1.0.5-commons.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/castor-1.0.5.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/castor-1.0.5-xml.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/geronimo-activation_1.1_spec.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/geronimo-javamail_1.4_spec.jar"/>
+        <mkdir dir="build/webapp/crawler-ui"/>
+        <copy todir="build/webapp/crawler-ui">
+            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
+        </copy>
+    </target>
+
+    <target name="webapp-authority-service" depends="jar-connector,jar-wsdls,jar-xsds,precompile-check" if="canBuild">
+        <mkdir dir="build/webapp/authority-service/WEB-INF/lib"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="build/jar/lcf-meridio-connector.jar"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="build/jar/lcf-meridio-wsdlstub.jar"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="build/jar/lcf-meridio-xsdstub.jar"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="lib/axis.jar"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="lib/jaxrpc.jar"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="lib/wsdl4j.jar"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="lib/saaj.jar"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="lib/commons-discovery.jar"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="lib/castor-1.0.5-commons.jar"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="lib/castor-1.0.5.jar"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="lib/castor-1.0.5-xml.jar"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="lib/geronimo-activation_1.1_spec.jar"/>
+        <copy todir="build/webapp/authority-service/WEB-INF/lib" file="lib/geronimo-javamail_1.4_spec.jar"/>
+    </target>
+
+    <target name="wsdd" depends="precompile-check" if="canBuild">
+        <mkdir dir="dist/wsdd"/>
+        <copy todir="dist/wsdd" file="meridio-client-config.wsdd"/>
+    </target>
+    
+    <target name="iar-wsdd" depends="precompile-check" if="canBuild">
+        <mkdir dir="dist/iar"/>
+        <copy todir="dist/iar" file="org.apache.lcf.meridio.wsddpath"/>
+    </target>
+    
+    <target name="iar-crawler-ui" depends="webapp-crawler-ui,precompile-check" if="canBuild">
+        <mkdir dir="dist/iar"/>
+        <jar destfile="dist/iar/lcf-meridioconnector-crawler-ui.iar" basedir="build/webapp/crawler-ui"/>
+    </target>
+
+    <target name="iar-authority-service" depends="webapp-authority-service,precompile-check" if="canBuild">
+        <mkdir dir="dist/iar"/>
+        <jar destfile="dist/iar/lcf-meridioconnector-authority-service.iar" basedir="build/webapp/authority-service"/>
+    </target>
+
+    <target name="processes" depends="jar-connector,jar-wsdls,jar-xsds,precompile-check" if="canBuild">
+        <mkdir dir="dist/processes"/>
+        <copy todir="dist/processes" file="build/jar/lcf-meridio-connector.jar"/>
+        <copy todir="dist/processes" file="build/jar/lcf-meridio-wsdlstub.jar"/>
+        <copy todir="dist/processes" file="build/jar/lcf-meridio-xsdstub.jar"/>
+        <copy todir="dist/processes" file="lib/axis.jar"/>
+        <copy todir="dist/processes" file="lib/jaxrpc.jar"/>
+        <copy todir="dist/processes" file="lib/wsdl4j.jar"/>
+        <copy todir="dist/processes" file="lib/saaj.jar"/>
+        <copy todir="dist/processes" file="lib/commons-discovery.jar"/>
+        <copy todir="dist/processes" file="lib/castor-1.0.5-commons.jar"/>
+        <copy todir="dist/processes" file="lib/castor-1.0.5.jar"/>
+        <copy todir="dist/processes" file="lib/castor-1.0.5-xml.jar"/>
+        <copy todir="dist/processes" file="lib/geronimo-activation_1.1_spec.jar"/>
+        <copy todir="dist/processes" file="lib/geronimo-javamail_1.4_spec.jar"/>
+        <copy todir="dist/processes" file="org.apache.lcf.meridio.wsddpath"/>
+    </target>
+
+    <target name="all" depends="processes,wsdd,iar-crawler-ui,iar-authority-service,iar-wsdd"/>
+    
+</project>

Added: incubator/lcf/trunk/modules/connectors/meridio/org.apache.lcf.meridio.wsddpath
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/meridio/org.apache.lcf.meridio.wsddpath?rev=912147&view=auto
==============================================================================
--- incubator/lcf/trunk/modules/connectors/meridio/org.apache.lcf.meridio.wsddpath (added)
+++ incubator/lcf/trunk/modules/connectors/meridio/org.apache.lcf.meridio.wsddpath Sat Feb 20 16:49:50 2010
@@ -0,0 +1 @@
+meridio-client-config.wsddmeridio-client-config.wsdd
\ No newline at end of file

Modified: incubator/lcf/trunk/modules/connectors/nulloutput/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/nulloutput/build.xml?rev=912147&r1=912146&r2=912147&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/nulloutput/build.xml (original)
+++ incubator/lcf/trunk/modules/connectors/nulloutput/build.xml Sat Feb 20 16:49:50 2010
@@ -1,92 +1,98 @@
-<project default="all">
-
-    <target name="clean">
-        <delete dir="build"/>
-    </target>
-    
-    <target name="compile-connector">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector" destdir="build/connector/classes" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar" target="1.5" source="1.4"/>
-    </target>
-
-    <target name="compile-crawler-ui" depends="compile-connector">
-        <!-- Unpack the crawler war -->
-        <mkdir dir="build/crawler-war"/>
-        <unwar src="war/lcf-crawler-ui.war" dest="build/crawler-war"/>
-        <!-- Create a copy of everything in the proper environment -->
-        <mkdir dir="build/jsp-environment/WEB-INF/lib"/>
-        <mkdir dir="build/jsp-environment/WEB-INF/jsp"/>
-        <copy todir="build/jsp-environment/WEB-INF" file="build/crawler-war/WEB-INF/web.xml"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/adminHeaders.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/adminDefaults.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/error.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/checkAdminLogin.jsp"/>
-
-        <copy todir="build/jsp-environment">
-            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/lib">
-            <fileset dir="build/crawler-war/WEB-INF/lib">
-                <include name="*.jar"/>
-            </fileset>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/jsp">
-            <fileset dir="build/crawler-war/WEB-INF/jsp">
-                <include name="*.tld"/>
-            </fileset>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/classes">
-            <fileset dir="build/connector/classes"/>
-        </copy>
-        <!-- Compile to java, as a check -->
-        <mkdir dir="build/crawler-ui/java"/>
-        <!-- Define the jsp compilation task using tomcat libraries -->
-        <taskdef classname="org.apache.jasper.JspC" name="jasper2" > 
-            <classpath id="jspc.classpath"> 
-                <pathelement location="${java.home}/../lib/tools.jar"/>
-                <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset> 
-                <pathelement location="build/crawler-war/WEB-INF/lib/jstl.jar"/>
-                <pathelement location="build/crawler-war/WEB-INF/lib/standard.jar"/>
-                <pathelement location="build/connector/classes"/>
-            </classpath> 
-        </taskdef> 
-        <jasper2 validateXml="false" uriroot="build/jsp-environment" webXmlFragment="build/jsp-environment/WEB-INF/web-generated.xml" outputDir="build/crawler-ui/java" /> 
-        <!-- Compile java classes -->
-        <mkdir dir="build/crawler-ui/classes"/>
-        <javac srcdir="build/crawler-ui/java" destdir="build/crawler-ui/classes" target="1.5" source="1.4">
-            <classpath id="classpath">
-                <pathelement location="${java.home}/../lib/tools.jar"/>
-                <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset>
-                <pathelement location="build/crawler-war/WEB-INF/lib/jstl.jar"/>
-                <pathelement location="build/crawler-war/WEB-INF/lib/standard.jar"/>
-                <pathelement location="build/connector/classes"/>
-            </classpath>
-        </javac>
-    </target>
-    
-    <target name="jar-connector" depends="compile-connector">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/lcf-nulloutput-connector.jar" basedir="build/connector/classes"/>
-    </target>
-
-    <target name="webapp-connector-ui" depends="compile-crawler-ui,jar-connector">
-        <mkdir dir="build/webapp/crawler-ui/WEB-INF/lib"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-nulloutput-connector.jar"/>
-        <mkdir dir="build/webapp/crawler-ui"/>
-        <copy todir="build/webapp/crawler-ui">
-            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
-        </copy>
-    </target>
-    
-    <target name="iar-connector-ui" depends="webapp-connector-ui">
-        <mkdir dir="build/iar"/>
-        <jar destfile="build/iar/lcf-nulloutputconnector-crawler-ui.iar" basedir="build/webapp/crawler-ui"/>
-    </target>
-
-    <target name="all" depends="jar-connector,iar-connector-ui"/>
-    
-</project>
+<project default="all">
+
+    <target name="clean">
+        <delete dir="build"/>
+        <delete dir="dist"/>
+    </target>
+    
+    <target name="compile-connector">
+        <mkdir dir="build/connector/classes"/>
+        <javac srcdir="connector" destdir="build/connector/classes" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar" target="1.5" source="1.4"/>
+    </target>
+
+    <target name="compile-crawler-ui" depends="compile-connector">
+        <!-- Unpack the crawler war -->
+        <mkdir dir="build/crawler-ui-war"/>
+        <unwar src="war/lcf-crawler-ui.war" dest="build/crawler-ui-war"/>
+        <!-- Create a copy of everything in the proper environment -->
+        <mkdir dir="build/jsp-environment/WEB-INF/lib"/>
+        <mkdir dir="build/jsp-environment/WEB-INF/jsp"/>
+        <copy todir="build/jsp-environment/WEB-INF" file="build/crawler-ui-war/WEB-INF/web.xml"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/adminHeaders.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/adminDefaults.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/error.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/checkAdminLogin.jsp"/>
+
+        <copy todir="build/jsp-environment">
+            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/lib">
+            <fileset dir="build/crawler-ui-war/WEB-INF/lib">
+                <include name="*.jar"/>
+            </fileset>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/jsp">
+            <fileset dir="build/crawler-ui-war/WEB-INF/jsp">
+                <include name="*.tld"/>
+            </fileset>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/classes">
+            <fileset dir="build/connector/classes"/>
+        </copy>
+        <!-- Compile to java, as a check -->
+        <mkdir dir="build/crawler-ui/java"/>
+        <!-- Define the jsp compilation task using tomcat libraries -->
+        <taskdef classname="org.apache.jasper.JspC" name="jasper2" > 
+            <classpath id="jspc.classpath"> 
+                <pathelement location="${java.home}/../lib/tools.jar"/>
+                <fileset dir="lib"> 
+                    <include name="*.jar"/> 
+                </fileset> 
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/jstl.jar"/>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/standard.jar"/>
+                <pathelement location="build/connector/classes"/>
+            </classpath> 
+        </taskdef> 
+        <jasper2 validateXml="false" uriroot="build/jsp-environment" webXmlFragment="build/jsp-environment/WEB-INF/web-generated.xml" outputDir="build/crawler-ui/java" /> 
+        <!-- Compile java classes -->
+        <mkdir dir="build/crawler-ui/classes"/>
+        <javac srcdir="build/crawler-ui/java" destdir="build/crawler-ui/classes" target="1.5" source="1.4">
+            <classpath id="classpath">
+                <pathelement location="${java.home}/../lib/tools.jar"/>
+                <fileset dir="lib"> 
+                    <include name="*.jar"/> 
+                </fileset>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/jstl.jar"/>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/standard.jar"/>
+                <pathelement location="build/connector/classes"/>
+            </classpath>
+        </javac>
+    </target>
+    
+    <target name="jar-connector" depends="compile-connector">
+        <mkdir dir="build/jar"/>
+        <jar destfile="build/jar/lcf-nulloutput-connector.jar" basedir="build/connector/classes"/>
+    </target>
+
+    <target name="webapp-crawler-ui" depends="compile-crawler-ui,jar-connector">
+        <mkdir dir="build/webapp/crawler-ui/WEB-INF/lib"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-nulloutput-connector.jar"/>
+        <mkdir dir="build/webapp/crawler-ui"/>
+        <copy todir="build/webapp/crawler-ui">
+            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
+        </copy>
+    </target>
+    
+    <target name="iar-crawler-ui" depends="webapp-crawler-ui">
+        <mkdir dir="dist/iar"/>
+        <jar destfile="dist/iar/lcf-nulloutputconnector-crawler-ui.iar" basedir="build/webapp/crawler-ui"/>
+    </target>
+
+    <target name="processes" depends="jar-connector">
+        <mkdir dir="dist/processes"/>
+        <copy todir="dist/processes" file="build/jar/lcf-nulloutput-connector.jar"/>
+    </target>
+
+    <target name="all" depends="processes,iar-crawler-ui"/>
+    
+</project>

Modified: incubator/lcf/trunk/modules/connectors/rss/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/rss/build.xml?rev=912147&r1=912146&r2=912147&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/rss/build.xml (original)
+++ incubator/lcf/trunk/modules/connectors/rss/build.xml Sat Feb 20 16:49:50 2010
@@ -1,92 +1,98 @@
-<project default="all">
-
-    <target name="clean">
-        <delete dir="build"/>
-    </target>
-    
-    <target name="compile-connector">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector" destdir="build/connector/classes" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/commons-httpclient.jar:lib/commons-collections.jar:lib/commons-codec.jar" target="1.5" source="1.4"/>
-    </target>
-
-    <target name="compile-crawler-ui" depends="compile-connector">
-        <!-- Unpack the crawler war -->
-        <mkdir dir="build/crawler-war"/>
-        <unwar src="war/lcf-crawler-ui.war" dest="build/crawler-war"/>
-        <!-- Create a copy of everything in the proper environment -->
-        <mkdir dir="build/jsp-environment/WEB-INF/lib"/>
-        <mkdir dir="build/jsp-environment/WEB-INF/jsp"/>
-        <copy todir="build/jsp-environment/WEB-INF" file="build/crawler-war/WEB-INF/web.xml"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/adminHeaders.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/adminDefaults.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/error.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/checkAdminLogin.jsp"/>
-
-        <copy todir="build/jsp-environment">
-            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/lib">
-            <fileset dir="build/crawler-war/WEB-INF/lib">
-                <include name="*.jar"/>
-            </fileset>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/jsp">
-            <fileset dir="build/crawler-war/WEB-INF/jsp">
-                <include name="*.tld"/>
-            </fileset>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/classes">
-            <fileset dir="build/connector/classes"/>
-        </copy>
-        <!-- Compile to java, as a check -->
-        <mkdir dir="build/crawler-ui/java"/>
-        <!-- Define the jsp compilation task using tomcat libraries -->
-        <taskdef classname="org.apache.jasper.JspC" name="jasper2" > 
-            <classpath id="jspc.classpath"> 
-                <pathelement location="${java.home}/../lib/tools.jar"/>
-                <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset> 
-                <pathelement location="build/crawler-war/WEB-INF/lib/jstl.jar"/>
-                <pathelement location="build/crawler-war/WEB-INF/lib/standard.jar"/>
-                <pathelement location="build/connector/classes"/>
-            </classpath> 
-        </taskdef> 
-        <jasper2 validateXml="false" uriroot="build/jsp-environment" webXmlFragment="build/jsp-environment/WEB-INF/web-generated.xml" outputDir="build/crawler-ui/java" /> 
-        <!-- Compile java classes -->
-        <mkdir dir="build/crawler-ui/classes"/>
-        <javac srcdir="build/crawler-ui/java" destdir="build/crawler-ui/classes" target="1.5" source="1.4">
-            <classpath id="classpath">
-                <pathelement location="${java.home}/../lib/tools.jar"/>
-                <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset>
-                <pathelement location="build/crawler-war/WEB-INF/lib/jstl.jar"/>
-                <pathelement location="build/crawler-war/WEB-INF/lib/standard.jar"/>
-                <pathelement location="build/connector/classes"/>
-            </classpath>
-        </javac>
-    </target>
-    
-    <target name="jar-connector" depends="compile-connector">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/lcf-rss-connector.jar" basedir="build/connector/classes"/>
-    </target>
-
-    <target name="webapp-connector-ui" depends="compile-crawler-ui,jar-connector">
-        <mkdir dir="build/webapp/crawler-ui/WEB-INF/lib"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-rss-connector.jar"/>
-        <mkdir dir="build/webapp/crawler-ui"/>
-        <copy todir="build/webapp/crawler-ui">
-            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
-        </copy>
-    </target>
-    
-    <target name="iar-connector-ui" depends="webapp-connector-ui">
-        <mkdir dir="build/iar"/>
-        <jar destfile="build/iar/lcf-rssconnector-crawler-ui.iar" basedir="build/webapp/crawler-ui"/>
-    </target>
-
-    <target name="all" depends="jar-connector,iar-connector-ui"/>
-    
-</project>
+<project default="all">
+
+    <target name="clean">
+        <delete dir="build"/>
+        <delete dir="dist"/>
+    </target>
+    
+    <target name="compile-connector">
+        <mkdir dir="build/connector/classes"/>
+        <javac srcdir="connector" destdir="build/connector/classes" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/commons-httpclient.jar:lib/commons-collections.jar:lib/commons-codec.jar" target="1.5" source="1.4"/>
+    </target>
+
+    <target name="compile-crawler-ui" depends="compile-connector">
+        <!-- Unpack the crawler war -->
+        <mkdir dir="build/crawler-ui-war"/>
+        <unwar src="war/lcf-crawler-ui.war" dest="build/crawler-ui-war"/>
+        <!-- Create a copy of everything in the proper environment -->
+        <mkdir dir="build/jsp-environment/WEB-INF/lib"/>
+        <mkdir dir="build/jsp-environment/WEB-INF/jsp"/>
+        <copy todir="build/jsp-environment/WEB-INF" file="build/crawler-ui-war/WEB-INF/web.xml"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/adminHeaders.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/adminDefaults.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/error.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/checkAdminLogin.jsp"/>
+
+        <copy todir="build/jsp-environment">
+            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/lib">
+            <fileset dir="build/crawler-ui-war/WEB-INF/lib">
+                <include name="*.jar"/>
+            </fileset>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/jsp">
+            <fileset dir="build/crawler-ui-war/WEB-INF/jsp">
+                <include name="*.tld"/>
+            </fileset>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/classes">
+            <fileset dir="build/connector/classes"/>
+        </copy>
+        <!-- Compile to java, as a check -->
+        <mkdir dir="build/crawler-ui/java"/>
+        <!-- Define the jsp compilation task using tomcat libraries -->
+        <taskdef classname="org.apache.jasper.JspC" name="jasper2" > 
+            <classpath id="jspc.classpath"> 
+                <pathelement location="${java.home}/../lib/tools.jar"/>
+                <fileset dir="lib"> 
+                    <include name="*.jar"/> 
+                </fileset> 
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/jstl.jar"/>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/standard.jar"/>
+                <pathelement location="build/connector/classes"/>
+            </classpath> 
+        </taskdef> 
+        <jasper2 validateXml="false" uriroot="build/jsp-environment" webXmlFragment="build/jsp-environment/WEB-INF/web-generated.xml" outputDir="build/crawler-ui/java" /> 
+        <!-- Compile java classes -->
+        <mkdir dir="build/crawler-ui/classes"/>
+        <javac srcdir="build/crawler-ui/java" destdir="build/crawler-ui/classes" target="1.5" source="1.4">
+            <classpath id="classpath">
+                <pathelement location="${java.home}/../lib/tools.jar"/>
+                <fileset dir="lib"> 
+                    <include name="*.jar"/> 
+                </fileset>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/jstl.jar"/>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/standard.jar"/>
+                <pathelement location="build/connector/classes"/>
+            </classpath>
+        </javac>
+    </target>
+    
+    <target name="jar-connector" depends="compile-connector">
+        <mkdir dir="build/jar"/>
+        <jar destfile="build/jar/lcf-rss-connector.jar" basedir="build/connector/classes"/>
+    </target>
+
+    <target name="webapp-crawler-ui" depends="compile-crawler-ui,jar-connector">
+        <mkdir dir="build/webapp/crawler-ui/WEB-INF/lib"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-rss-connector.jar"/>
+        <mkdir dir="build/webapp/crawler-ui"/>
+        <copy todir="build/webapp/crawler-ui">
+            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
+        </copy>
+    </target>
+    
+    <target name="iar-crawler-ui" depends="webapp-crawler-ui">
+        <mkdir dir="dist/iar"/>
+        <jar destfile="dist/iar/lcf-rssconnector-crawler-ui.iar" basedir="build/webapp/crawler-ui"/>
+    </target>
+
+    <target name="processes" depends="jar-connector">
+        <mkdir dir="dist/processes"/>
+        <copy todir="dist/processes" file="build/jar/lcf-rss-connector.jar"/>
+    </target>
+
+    <target name="all" depends="processes,iar-crawler-ui"/>
+    
+</project>

Modified: incubator/lcf/trunk/modules/connectors/sharepoint/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/sharepoint/build.xml?rev=912147&r1=912146&r2=912147&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/sharepoint/build.xml (original)
+++ incubator/lcf/trunk/modules/connectors/sharepoint/build.xml Sat Feb 20 16:49:50 2010
@@ -1,178 +1,201 @@
-<project default="all">
-
-    <target name="clean">
-        <delete dir="build"/>
-    </target>
-
-    
-    <target name="calculate-condition">
-        <available file="wsdls/DspSts.wsdl" property="DspStsStatus"/>
-        <available file="wsdls/Lists.wsdl" property="ListsStatus"/>
-        <available file="wsdls/Permissions.wsdl" property="PermissionsStatus"/>
-        <available file="wsdls/usergroup.wsdl" property="usergroupStatus"/>
-        <available file="wsdls/versions.wsdl" property="versionsStatus"/>
-        <available file="wsdls/webs.wsdl" property="websStatus"/>
-        <condition property="canBuild">
-            <and>
-                <isset property="DspStsStatus"/>
-                <isset property="ListsStatus"/>
-                <isset property="PermissionsStatus"/>
-                <isset property="usergroupStatus"/>
-                <isset property="versionsStatus"/>
-                <isset property="websStatus"/>
-            </and>
-        </condition>
-    </target>
-    
-    <target name="precompile-check" depends="calculate-condition" unless="canBuild">
-        <echo message="SharePoint Connector cannot be built without DspSts.wsdl, Lists.wsdl, Permissions.wsdl, usergroup.wsdl, versions.wsdl, and webs.wsdl"/>
-    </target>
-
-    <target name="build-webservice" depends="precompile-check" if="canBuild">
-        <copy todir="webservice/References/SPPermissionsService" file="wsdls/Permissions.wsdl"/>
-        <exec executable="cmd" dir="webservice">
-            <arg value="/c"/>
-            <arg value="build.bat"/>
-        </exec>
-    </target>
-
-    <target name="classcreate-wsdl">
-        <mkdir dir="build/wsdljava"/>
-        <java classname="org.apache.axis.wsdl.WSDL2Java" fork="true" classpath="lib/axis.jar:lib/commons-logging.jar:lib/commons-discovery.jar:lib/saaj.jar:lib/wsdl4j.jar:lib/jaxrpc.jar:lib/activation.jar:lib/xml-apis.jar:lib/xercesImpl.jar">
-            <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"/>
-        </antcall>
-        <antcall target="classcreate-wsdl">
-            <param name="wsdlname" value="wsdls/Lists.wsdl"/>
-        </antcall>
-        <antcall target="classcreate-wsdl">
-            <param name="wsdlname" value="wsdls/MCPermissions.wsdl"/>
-        </antcall>
-        <antcall target="classcreate-wsdl">
-            <param name="wsdlname" value="wsdls/Permissions.wsdl"/>
-        </antcall>
-        <antcall target="classcreate-wsdl">
-            <param name="wsdlname" value="wsdls/usergroup.wsdl"/>
-        </antcall>
-        <antcall target="classcreate-wsdl">
-            <param name="wsdlname" value="wsdls/versions.wsdl"/>
-        </antcall>
-        <antcall target="classcreate-wsdl">
-            <param name="wsdlname" value="wsdls/webs.wsdl"/>
-        </antcall>
-    </target>
-
-    <target name="compile-wsdls" depends="classcreate-wsdls,precompile-check" if="canBuild">
-        <mkdir dir="build/wsdlclasses"/>
-        <javac srcdir="build/wsdljava" destdir="build/wsdlclasses" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/axis.jar:lib/activation.jar:lib/jaxrpc.jar:lib/saaj.jar" target="1.5" source="1.4"/>
-    </target>
-
-    <target name="compile-connector" depends="compile-wsdls,precompile-check" if="canBuild">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector" destdir="build/connector/classes" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/commons-httpclient.jar:lib/commons-collections.jar:lib/commons-codec.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/axis.jar:lib/activation.jar:lib/jaxrpc.jar:lib/saaj.jar:build/wsdlclasses" target="1.5" source="1.4"/>
-    </target>
-
-    <target name="compile-crawler-ui" depends="compile-connector,compile-wsdls,precompile-check" if="canBuild">
-        <!-- Unpack the crawler war -->
-        <mkdir dir="build/crawler-war"/>
-        <unwar src="war/lcf-crawler-ui.war" dest="build/crawler-war"/>
-        <!-- Create a copy of everything in the proper environment -->
-        <mkdir dir="build/jsp-environment/WEB-INF/lib"/>
-        <mkdir dir="build/jsp-environment/WEB-INF/jsp"/>
-        <copy todir="build/jsp-environment/WEB-INF" file="build/crawler-war/WEB-INF/web.xml"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/adminHeaders.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/adminDefaults.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/error.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/checkAdminLogin.jsp"/>
-
-        <copy todir="build/jsp-environment">
-            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/lib">
-            <fileset dir="build/crawler-war/WEB-INF/lib">
-                <include name="*.jar"/>
-            </fileset>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/jsp">
-            <fileset dir="build/crawler-war/WEB-INF/jsp">
-                <include name="*.tld"/>
-            </fileset>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/classes">
-            <fileset dir="build/connector/classes"/>
-        </copy>
-        <!-- Compile to java, as a check -->
-        <mkdir dir="build/crawler-ui/java"/>
-        <!-- Define the jsp compilation task using tomcat libraries -->
-        <taskdef classname="org.apache.jasper.JspC" name="jasper2" > 
-            <classpath id="jspc.classpath"> 
-                <pathelement location="${java.home}/../lib/tools.jar"/>
-                <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset> 
-                <pathelement location="build/crawler-war/WEB-INF/lib/jstl.jar"/>
-                <pathelement location="build/crawler-war/WEB-INF/lib/standard.jar"/>
-                <pathelement location="build/connector/classes"/>
-                <pathelement location="build/wsdlclasses"/>
-            </classpath> 
-        </taskdef> 
-        <jasper2 validateXml="false" uriroot="build/jsp-environment" webXmlFragment="build/jsp-environment/WEB-INF/web-generated.xml" outputDir="build/crawler-ui/java" /> 
-        <!-- Compile java classes -->
-        <mkdir dir="build/crawler-ui/classes"/>
-        <javac srcdir="build/crawler-ui/java" destdir="build/crawler-ui/classes" target="1.5" source="1.4">
-            <classpath id="classpath">
-                <pathelement location="${java.home}/../lib/tools.jar"/>
-                <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset>
-                <pathelement location="build/crawler-war/WEB-INF/lib/jstl.jar"/>
-                <pathelement location="build/crawler-war/WEB-INF/lib/standard.jar"/>
-                <pathelement location="build/connector/classes"/>
-                <pathelement location="build/wsdlclasses"/>
-            </classpath>
-        </javac>
-    </target>
-    
-    <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/lcf-sharepoint-connector.jar" basedir="build/connector/classes"/>
-    </target>
-    
-    <target name="jar-wsdls" depends="compile-wsdls,precompile-check" if="canBuild">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/lcf-sharepoint-wsdlstub.jar" basedir="build/wsdlclasses"/>
-    </target>
-
-    <target name="webapp-connector-ui" depends="compile-crawler-ui,jar-connector,jar-wsdls,precompile-check" if="canBuild">
-        <mkdir dir="build/webapp/crawler-ui/WEB-INF/lib"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-sharepoint-connector.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-sharepoint-wsdlstub.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/axis.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/jaxrpc.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/wsdl4j.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/saaj.jar"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/commons-discovery.jar"/>
-        <mkdir dir="build/webapp/crawler-ui"/>
-        <copy todir="build/webapp/crawler-ui">
-            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
-        </copy>
-    </target>
-    
-    <target name="iar-connector-ui" depends="webapp-connector-ui,precompile-check" if="canBuild">
-        <mkdir dir="build/iar"/>
-        <jar destfile="build/iar/lcf-sharepointconnector-crawler-ui.iar" basedir="build/webapp/crawler-ui"/>
-    </target>
-
-    <target name="all" depends="jar-connector,jar-wsdls,iar-connector-ui"/>
-    
-</project>
+<project default="all">
+
+    <target name="clean">
+        <delete dir="build"/>
+        <delete dir="dist"/>
+    </target>
+
+    
+    <target name="calculate-condition">
+        <available file="wsdls/DspSts.wsdl" property="DspStsStatus"/>
+        <available file="wsdls/Lists.wsdl" property="ListsStatus"/>
+        <available file="wsdls/Permissions.wsdl" property="PermissionsStatus"/>
+        <available file="wsdls/usergroup.wsdl" property="usergroupStatus"/>
+        <available file="wsdls/versions.wsdl" property="versionsStatus"/>
+        <available file="wsdls/webs.wsdl" property="websStatus"/>
+        <condition property="canBuild">
+            <and>
+                <isset property="DspStsStatus"/>
+                <isset property="ListsStatus"/>
+                <isset property="PermissionsStatus"/>
+                <isset property="usergroupStatus"/>
+                <isset property="versionsStatus"/>
+                <isset property="websStatus"/>
+            </and>
+        </condition>
+    </target>
+    
+    <target name="precompile-check" depends="calculate-condition" unless="canBuild">
+        <echo message="SharePoint Connector cannot be built without DspSts.wsdl, Lists.wsdl, Permissions.wsdl, usergroup.wsdl, versions.wsdl, and webs.wsdl"/>
+    </target>
+
+    <target name="build-webservice" depends="precompile-check" if="canBuild">
+        <copy todir="webservice/References/SPPermissionsService" file="wsdls/Permissions.wsdl"/>
+        <exec executable="cmd" dir="webservice">
+            <arg value="/c"/>
+            <arg value="build.bat"/>
+        </exec>
+    </target>
+
+    <target name="classcreate-wsdl">
+        <mkdir dir="build/wsdljava"/>
+        <java classname="org.apache.axis.wsdl.WSDL2Java" fork="true" classpath="lib/axis.jar:lib/commons-logging.jar:lib/commons-discovery.jar:lib/saaj.jar:lib/wsdl4j.jar:lib/jaxrpc.jar:lib/activation.jar:lib/xml-apis.jar:lib/xercesImpl.jar">
+            <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"/>
+        </antcall>
+        <antcall target="classcreate-wsdl">
+            <param name="wsdlname" value="wsdls/Lists.wsdl"/>
+        </antcall>
+        <antcall target="classcreate-wsdl">
+            <param name="wsdlname" value="wsdls/MCPermissions.wsdl"/>
+        </antcall>
+        <antcall target="classcreate-wsdl">
+            <param name="wsdlname" value="wsdls/Permissions.wsdl"/>
+        </antcall>
+        <antcall target="classcreate-wsdl">
+            <param name="wsdlname" value="wsdls/usergroup.wsdl"/>
+        </antcall>
+        <antcall target="classcreate-wsdl">
+            <param name="wsdlname" value="wsdls/versions.wsdl"/>
+        </antcall>
+        <antcall target="classcreate-wsdl">
+            <param name="wsdlname" value="wsdls/webs.wsdl"/>
+        </antcall>
+    </target>
+
+    <target name="compile-wsdls" depends="classcreate-wsdls,precompile-check" if="canBuild">
+        <mkdir dir="build/wsdlclasses"/>
+        <javac srcdir="build/wsdljava" destdir="build/wsdlclasses" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/axis.jar:lib/activation.jar:lib/jaxrpc.jar:lib/saaj.jar" target="1.5" source="1.4"/>
+    </target>
+
+    <target name="compile-connector" depends="compile-wsdls,precompile-check" if="canBuild">
+        <mkdir dir="build/connector/classes"/>
+        <javac srcdir="connector" destdir="build/connector/classes" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/commons-httpclient.jar:lib/commons-collections.jar:lib/commons-codec.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/axis.jar:lib/activation.jar:lib/jaxrpc.jar:lib/saaj.jar:build/wsdlclasses" target="1.5" source="1.4"/>
+    </target>
+
+    <target name="compile-crawler-ui" depends="compile-connector,compile-wsdls,precompile-check" if="canBuild">
+        <!-- Unpack the crawler war -->
+        <mkdir dir="build/crawler-ui-war"/>
+        <unwar src="war/lcf-crawler-ui.war" dest="build/crawler-ui-war"/>
+        <!-- Create a copy of everything in the proper environment -->
+        <mkdir dir="build/jsp-environment/WEB-INF/lib"/>
+        <mkdir dir="build/jsp-environment/WEB-INF/jsp"/>
+        <copy todir="build/jsp-environment/WEB-INF" file="build/crawler-ui-war/WEB-INF/web.xml"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/adminHeaders.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/adminDefaults.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/error.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/checkAdminLogin.jsp"/>
+
+        <copy todir="build/jsp-environment">
+            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/lib">
+            <fileset dir="build/crawler-ui-war/WEB-INF/lib">
+                <include name="*.jar"/>
+            </fileset>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/jsp">
+            <fileset dir="build/crawler-ui-war/WEB-INF/jsp">
+                <include name="*.tld"/>
+            </fileset>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/classes">
+            <fileset dir="build/connector/classes"/>
+        </copy>
+        <!-- Compile to java, as a check -->
+        <mkdir dir="build/crawler-ui/java"/>
+        <!-- Define the jsp compilation task using tomcat libraries -->
+        <taskdef classname="org.apache.jasper.JspC" name="jasper2" > 
+            <classpath id="jspc.classpath"> 
+                <pathelement location="${java.home}/../lib/tools.jar"/>
+                <fileset dir="lib"> 
+                    <include name="*.jar"/> 
+                </fileset> 
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/jstl.jar"/>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/standard.jar"/>
+                <pathelement location="build/connector/classes"/>
+                <pathelement location="build/wsdlclasses"/>
+            </classpath> 
+        </taskdef> 
+        <jasper2 validateXml="false" uriroot="build/jsp-environment" webXmlFragment="build/jsp-environment/WEB-INF/web-generated.xml" outputDir="build/crawler-ui/java" /> 
+        <!-- Compile java classes -->
+        <mkdir dir="build/crawler-ui/classes"/>
+        <javac srcdir="build/crawler-ui/java" destdir="build/crawler-ui/classes" target="1.5" source="1.4">
+            <classpath id="classpath">
+                <pathelement location="${java.home}/../lib/tools.jar"/>
+                <fileset dir="lib"> 
+                    <include name="*.jar"/> 
+                </fileset>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/jstl.jar"/>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/standard.jar"/>
+                <pathelement location="build/connector/classes"/>
+                <pathelement location="build/wsdlclasses"/>
+            </classpath>
+        </javac>
+    </target>
+    
+    <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
+        <mkdir dir="build/jar"/>
+        <jar destfile="build/jar/lcf-sharepoint-connector.jar" basedir="build/connector/classes"/>
+    </target>
+    
+    <target name="jar-wsdls" depends="compile-wsdls,precompile-check" if="canBuild">
+        <mkdir dir="build/jar"/>
+        <jar destfile="build/jar/lcf-sharepoint-wsdlstub.jar" basedir="build/wsdlclasses"/>
+    </target>
+
+    <target name="webapp-crawler-ui" depends="compile-crawler-ui,jar-connector,jar-wsdls,precompile-check" if="canBuild">
+        <mkdir dir="build/webapp/crawler-ui/WEB-INF/lib"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-sharepoint-connector.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-sharepoint-wsdlstub.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/axis.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/jaxrpc.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/wsdl4j.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/saaj.jar"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="lib/commons-discovery.jar"/>
+        <mkdir dir="build/webapp/crawler-ui"/>
+        <copy todir="build/webapp/crawler-ui">
+            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
+        </copy>
+    </target>
+
+    <target name="wsdd" depends="precompile-check" if="canBuild">
+        <mkdir dir="dist/wsdd"/>
+        <copy todir="dist/wsdd" file="sharepoint-client-config.wsdd"/>
+    </target>
+
+    <target name="iar-crawler-ui" depends="webapp-crawler-ui,precompile-check" if="canBuild">
+        <mkdir dir="dist/iar"/>
+        <jar destfile="dist/iar/lcf-sharepointconnector-crawler-ui.iar" basedir="build/webapp/crawler-ui"/>
+    </target>
+
+    <target name="iar-wsdd" depends="precompile-check" if="canBuild">
+        <mkdir dir="dist/iar"/>
+        <copy todir="dist/iar" file="org.apache.lcf.sharepoint.wsddpath"/>
+    </target>
+
+    <target name="processes" depends="jar-connector,jar-wsdls,precompile-check" if="canBuild">
+        <mkdir dir="dist/processes"/>
+        <copy todir="dist/processes" file="build/jar/lcf-sharepoint-connector.jar"/>
+        <copy todir="dist/processes" file="build/jar/lcf-sharepoint-wsdlstub.jar"/>
+        <copy todir="dist/processes" file="lib/axis.jar"/>
+        <copy todir="dist/processes" file="lib/jaxrpc.jar"/>
+        <copy todir="dist/processes" file="lib/wsdl4j.jar"/>
+        <copy todir="dist/processes" file="lib/saaj.jar"/>
+        <copy todir="dist/processes" file="lib/commons-discovery.jar"/>
+        <copy todir="dist/processes" file="org.apache.lcf.sharepoint.wsddpath"/>
+    </target>
+
+    <target name="all" depends="processes,iar-crawler-ui,iar-wsdd,wsdd"/>
+    
+</project>

Added: incubator/lcf/trunk/modules/connectors/sharepoint/org.apache.lcf.sharepoint.wsddpath
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/sharepoint/org.apache.lcf.sharepoint.wsddpath?rev=912147&view=auto
==============================================================================
--- incubator/lcf/trunk/modules/connectors/sharepoint/org.apache.lcf.sharepoint.wsddpath (added)
+++ incubator/lcf/trunk/modules/connectors/sharepoint/org.apache.lcf.sharepoint.wsddpath Sat Feb 20 16:49:50 2010
@@ -0,0 +1 @@
+sharepoint-client-config.wsdd
\ No newline at end of file

Modified: incubator/lcf/trunk/modules/connectors/webcrawler/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/webcrawler/build.xml?rev=912147&r1=912146&r2=912147&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/webcrawler/build.xml (original)
+++ incubator/lcf/trunk/modules/connectors/webcrawler/build.xml Sat Feb 20 16:49:50 2010
@@ -1,92 +1,98 @@
-<project default="all">
-
-    <target name="clean">
-        <delete dir="build"/>
-    </target>
-    
-    <target name="compile-connector">
-        <mkdir dir="build/connector/classes"/>
-        <javac srcdir="connector" destdir="build/connector/classes" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/commons-httpclient.jar:lib/commons-collections.jar:lib/commons-codec.jar" target="1.5" source="1.4"/>
-    </target>
-
-    <target name="compile-crawler-ui" depends="compile-connector">
-        <!-- Unpack the crawler war -->
-        <mkdir dir="build/crawler-war"/>
-        <unwar src="war/lcf-crawler-ui.war" dest="build/crawler-war"/>
-        <!-- Create a copy of everything in the proper environment -->
-        <mkdir dir="build/jsp-environment/WEB-INF/lib"/>
-        <mkdir dir="build/jsp-environment/WEB-INF/jsp"/>
-        <copy todir="build/jsp-environment/WEB-INF" file="build/crawler-war/WEB-INF/web.xml"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/adminHeaders.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/adminDefaults.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/error.jsp"/>
-        <copy todir="build/jsp-environment" file="build/crawler-war/checkAdminLogin.jsp"/>
-
-        <copy todir="build/jsp-environment">
-            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/lib">
-            <fileset dir="build/crawler-war/WEB-INF/lib">
-                <include name="*.jar"/>
-            </fileset>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/jsp">
-            <fileset dir="build/crawler-war/WEB-INF/jsp">
-                <include name="*.tld"/>
-            </fileset>
-        </copy>
-        <copy todir="build/jsp-environment/WEB-INF/classes">
-            <fileset dir="build/connector/classes"/>
-        </copy>
-        <!-- Compile to java, as a check -->
-        <mkdir dir="build/crawler-ui/java"/>
-        <!-- Define the jsp compilation task using tomcat libraries -->
-        <taskdef classname="org.apache.jasper.JspC" name="jasper2" > 
-            <classpath id="jspc.classpath"> 
-                <pathelement location="${java.home}/../lib/tools.jar"/>
-                <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset> 
-                <pathelement location="build/crawler-war/WEB-INF/lib/jstl.jar"/>
-                <pathelement location="build/crawler-war/WEB-INF/lib/standard.jar"/>
-                <pathelement location="build/connector/classes"/>
-            </classpath> 
-        </taskdef> 
-        <jasper2 validateXml="false" uriroot="build/jsp-environment" webXmlFragment="build/jsp-environment/WEB-INF/web-generated.xml" outputDir="build/crawler-ui/java" /> 
-        <!-- Compile java classes -->
-        <mkdir dir="build/crawler-ui/classes"/>
-        <javac srcdir="build/crawler-ui/java" destdir="build/crawler-ui/classes" target="1.5" source="1.4">
-            <classpath id="classpath">
-                <pathelement location="${java.home}/../lib/tools.jar"/>
-                <fileset dir="lib"> 
-                    <include name="*.jar"/> 
-                </fileset>
-                <pathelement location="build/crawler-war/WEB-INF/lib/jstl.jar"/>
-                <pathelement location="build/crawler-war/WEB-INF/lib/standard.jar"/>
-                <pathelement location="build/connector/classes"/>
-            </classpath>
-        </javac>
-    </target>
-    
-    <target name="jar-connector" depends="compile-connector">
-        <mkdir dir="build/jar"/>
-        <jar destfile="build/jar/lcf-web-connector.jar" basedir="build/connector/classes"/>
-    </target>
-
-    <target name="webapp-connector-ui" depends="compile-crawler-ui,jar-connector">
-        <mkdir dir="build/webapp/crawler-ui/WEB-INF/lib"/>
-        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-web-connector.jar"/>
-        <mkdir dir="build/webapp/crawler-ui"/>
-        <copy todir="build/webapp/crawler-ui">
-            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
-        </copy>
-    </target>
-    
-    <target name="iar-connector-ui" depends="webapp-connector-ui">
-        <mkdir dir="build/iar"/>
-        <jar destfile="build/iar/lcf-webconnector-crawler-ui.iar" basedir="build/webapp/crawler-ui"/>
-    </target>
-
-    <target name="all" depends="jar-connector,iar-connector-ui"/>
-    
-</project>
+<project default="all">
+
+    <target name="clean">
+        <delete dir="build"/>
+        <delete dir="dist"/>
+    </target>
+    
+    <target name="compile-connector">
+        <mkdir dir="build/connector/classes"/>
+        <javac srcdir="connector" destdir="build/connector/classes" classpath="lib/log4j-1.2.jar:lib/commons-logging.jar:lib/lcf-core.jar:lib/lcf-agents.jar:lib/lcf-pull-agent.jar:lib/commons-httpclient.jar:lib/commons-collections.jar:lib/commons-codec.jar" target="1.5" source="1.4"/>
+    </target>
+
+    <target name="compile-crawler-ui" depends="compile-connector">
+        <!-- Unpack the crawler war -->
+        <mkdir dir="build/crawler-ui-war"/>
+        <unwar src="war/lcf-crawler-ui.war" dest="build/crawler-ui-war"/>
+        <!-- Create a copy of everything in the proper environment -->
+        <mkdir dir="build/jsp-environment/WEB-INF/lib"/>
+        <mkdir dir="build/jsp-environment/WEB-INF/jsp"/>
+        <copy todir="build/jsp-environment/WEB-INF" file="build/crawler-ui-war/WEB-INF/web.xml"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/adminHeaders.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/adminDefaults.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/error.jsp"/>
+        <copy todir="build/jsp-environment" file="build/crawler-ui-war/checkAdminLogin.jsp"/>
+
+        <copy todir="build/jsp-environment">
+            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/lib">
+            <fileset dir="build/crawler-ui-war/WEB-INF/lib">
+                <include name="*.jar"/>
+            </fileset>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/jsp">
+            <fileset dir="build/crawler-ui-war/WEB-INF/jsp">
+                <include name="*.tld"/>
+            </fileset>
+        </copy>
+        <copy todir="build/jsp-environment/WEB-INF/classes">
+            <fileset dir="build/connector/classes"/>
+        </copy>
+        <!-- Compile to java, as a check -->
+        <mkdir dir="build/crawler-ui/java"/>
+        <!-- Define the jsp compilation task using tomcat libraries -->
+        <taskdef classname="org.apache.jasper.JspC" name="jasper2" > 
+            <classpath id="jspc.classpath"> 
+                <pathelement location="${java.home}/../lib/tools.jar"/>
+                <fileset dir="lib"> 
+                    <include name="*.jar"/> 
+                </fileset> 
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/jstl.jar"/>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/standard.jar"/>
+                <pathelement location="build/connector/classes"/>
+            </classpath> 
+        </taskdef> 
+        <jasper2 validateXml="false" uriroot="build/jsp-environment" webXmlFragment="build/jsp-environment/WEB-INF/web-generated.xml" outputDir="build/crawler-ui/java" /> 
+        <!-- Compile java classes -->
+        <mkdir dir="build/crawler-ui/classes"/>
+        <javac srcdir="build/crawler-ui/java" destdir="build/crawler-ui/classes" target="1.5" source="1.4">
+            <classpath id="classpath">
+                <pathelement location="${java.home}/../lib/tools.jar"/>
+                <fileset dir="lib"> 
+                    <include name="*.jar"/> 
+                </fileset>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/jstl.jar"/>
+                <pathelement location="build/crawler-ui-war/WEB-INF/lib/standard.jar"/>
+                <pathelement location="build/connector/classes"/>
+            </classpath>
+        </javac>
+    </target>
+    
+    <target name="jar-connector" depends="compile-connector">
+        <mkdir dir="build/jar"/>
+        <jar destfile="build/jar/lcf-web-connector.jar" basedir="build/connector/classes"/>
+    </target>
+
+    <target name="webapp-crawler-ui" depends="compile-crawler-ui,jar-connector">
+        <mkdir dir="build/webapp/crawler-ui/WEB-INF/lib"/>
+        <copy todir="build/webapp/crawler-ui/WEB-INF/lib" file="build/jar/lcf-web-connector.jar"/>
+        <mkdir dir="build/webapp/crawler-ui"/>
+        <copy todir="build/webapp/crawler-ui">
+            <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
+        </copy>
+    </target>
+    
+    <target name="iar-crawler-ui" depends="webapp-crawler-ui">
+        <mkdir dir="dist/iar"/>
+        <jar destfile="dist/iar/lcf-webconnector-crawler-ui.iar" basedir="build/webapp/crawler-ui"/>
+    </target>
+
+    <target name="processes" depends="jar-connector">
+        <mkdir dir="dist/processes"/>
+        <copy todir="dist/processes" file="build/jar/lcf-web-connector.jar"/>
+    </target>
+
+    <target name="all" depends="processes,iar-crawler-ui"/>
+    
+</project>



Mime
View raw message