manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1222540 - in /incubator/lcf/branches/CONNECTORS-335: connectors/activedirectory/ connectors/alfresco/ connectors/cmis/ connectors/documentum/ connectors/filenet/ connectors/filesystem/ connectors/gts/ connectors/jcifs/ connectors/jdbc/ con...
Date Fri, 23 Dec 2011 03:14:16 GMT
Author: kwright
Date: Fri Dec 23 03:14:16 2011
New Revision: 1222540

URL: http://svn.apache.org/viewvc?rev=1222540&view=rev
Log:
Standardize on .properties.utf8 resource files everywhere, since that allows easy and automatic
conversion using ant task 'native2ascii'.

Modified:
    incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/cmis/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/documentum/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/filenet/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/gts/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/livelink/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/meridio/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/rss/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/solr/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/build.xml
    incubator/lcf/branches/CONNECTORS-335/connectors/wiki/build.xml
    incubator/lcf/branches/CONNECTORS-335/framework/build.xml

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/build.xml Fri Dec 23
03:14:16 2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     <target name="doc">
@@ -39,13 +42,16 @@
                 <fileset dir="lib" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-activedirectory-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/build.xml Fri Dec 23 03:14:16
2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
   
       <target name="calculate-condition">
@@ -62,13 +65,16 @@
             	  <fileset dir="alfresco-ws-client" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-alfresco-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/cmis/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/cmis/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/cmis/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/cmis/build.xml Fri Dec 23 03:14:16 2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
     
     <target name="doc">
@@ -39,13 +42,16 @@
                 <fileset dir="lib" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-cmis-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/documentum/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/documentum/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/documentum/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/documentum/build.xml Fri Dec 23 03:14:16
2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     <target name="calculate-condition">
@@ -130,6 +133,7 @@
                 <pathelement location="build/rmistub/classes"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-interface" depends="compile-interface,precompile-check" if="canBuild">
@@ -166,7 +170,9 @@
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-documentum-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/filenet/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/filenet/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/filenet/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/filenet/build.xml Fri Dec 23 03:14:16
2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     <target name="calculate-condition">
@@ -125,6 +128,7 @@
                 <pathelement location="build/rmistub/classes"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-interface" depends="compile-interface,precompile-check" if="canBuild">
@@ -161,7 +165,9 @@
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-filenet-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/build.xml Fri Dec 23 03:14:16
2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
         <delete dir="test-output"/>
         <delete dir="test-output-postgresql"/>
         <delete dir="test-output-mysql"/>
@@ -43,13 +46,16 @@
                 <fileset dir="lib" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-filesystem-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/gts/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/gts/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/gts/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/gts/build.xml Fri Dec 23 03:14:16 2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     <target name="doc">
@@ -39,13 +42,16 @@
                 <fileset dir="lib" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-gts-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/build.xml Fri Dec 23 03:14:16 2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     <target name="calculate-condition">
@@ -52,13 +55,16 @@
                 <fileset dir="lib" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-jcifs-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/build.xml Fri Dec 23 03:14:16 2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     <target name="doc">
@@ -39,13 +42,16 @@
                 <fileset dir="lib" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-jdbc-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/livelink/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/livelink/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/livelink/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/livelink/build.xml Fri Dec 23 03:14:16
2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     <target name="calculate-condition">
@@ -52,13 +55,16 @@
                 <fileset dir="lapi" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-livelink-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/meridio/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/meridio/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/meridio/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/meridio/build.xml Fri Dec 23 03:14:16
2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     <target name="calculate-condition">
@@ -154,13 +157,16 @@
                 <pathelement location="build/xsdclasses"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-meridio-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
     

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/build.xml Fri Dec 23 03:14:16
2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     <target name="doc">
@@ -39,13 +42,16 @@
                 <fileset dir="lib" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-nullauthority-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/build.xml Fri Dec 23 03:14:16
2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     <target name="doc">
@@ -39,13 +42,16 @@
                 <fileset dir="lib" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-nulloutput-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/build.xml Fri Dec 23
03:14:16 2011
@@ -20,6 +20,9 @@
   <target name="clean">
     <delete dir="build" />
     <delete dir="dist" />
+    <delete>
+      <fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+    </delete>
   </target>
 
     <target name="doc">
@@ -39,13 +42,16 @@
         <fileset dir="lib" includes="*.jar" />
       </classpath>
     </javac>
+    <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
   </target>
 
   <target name="jar-connector" depends="compile-connector">
     <mkdir dir="build/jar" />
     <jar destfile="build/jar/mcf-opensearchserver-connector.jar">
       <fileset dir="build/connector/classes" />
-      <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
     </jar>
   </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/rss/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/rss/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/rss/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/rss/build.xml Fri Dec 23 03:14:16 2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     <target name="doc">
@@ -39,13 +42,16 @@
                 <fileset dir="lib" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-rss-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/build.xml Fri Dec 23 03:14:16
2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     
@@ -113,13 +116,16 @@
                 <pathelement location="build/wsdlclasses"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector,precompile-check" if="canBuild">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-sharepoint-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
     

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/solr/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/solr/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/solr/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/solr/build.xml Fri Dec 23 03:14:16 2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
     
     <target name="doc">
@@ -39,13 +42,16 @@
                 <fileset dir="lib" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-solr-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/build.xml Fri Dec 23 03:14:16
2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
     </target>
 
     <target name="doc">
@@ -39,13 +42,16 @@
                 <fileset dir="lib" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="jar-connector" depends="compile-connector">
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-web-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/wiki/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/wiki/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/wiki/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/wiki/build.xml Fri Dec 23 03:14:16 2011
@@ -20,6 +20,9 @@
     <target name="clean">
         <delete dir="build"/>
         <delete dir="dist"/>
+        <delete>
+	<fileset dir="connector/src/main/resource" includes="**/*.properties"/>
+        </delete>
         <delete dir="test-output"/>
         <delete dir="test-output-postgresql"/>
         <delete dir="test-output-mysql"/>
@@ -43,6 +46,7 @@
                 <fileset dir="lib" includes="*.jar"/>
             </classpath>
         </javac>
+        <native2ascii encoding="UTF-8" src="connector/src/main/resource" dest="connector/src/main/resource"
ext="" includes="**/*.utf8" />
     </target>
 
     <target name="compile-connector-tests" depends="compile-connector">
@@ -63,7 +67,9 @@
         <mkdir dir="build/jar"/>
         <jar destfile="build/jar/mcf-wiki-connector.jar">
         	<fileset dir="build/connector/classes"/>
-          <fileset dir="connector/src/main/resource" />
+          <fileset dir="connector/src/main/resource">
+            <exclude name="**/*.utf8"/>
+          </fileset>
         </jar>
     </target>
 

Modified: incubator/lcf/branches/CONNECTORS-335/framework/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/build.xml?rev=1222540&r1=1222539&r2=1222540&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/build.xml (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/build.xml Fri Dec 23 03:14:16 2011
@@ -207,7 +207,7 @@
         <jar destfile="build/jar/mcf-core.jar">
           <fileset dir="build/core/classes"/>
           <fileset dir="core/src/main/resource">
-	  <include name="**/*.properties"/>
+	  <exclude name="**/*.utf8"/>
 	</fileset>
         </jar>
     </target>
@@ -363,7 +363,7 @@
         <mkdir dir="build/webapp/crawler-ui/WEB-INF/classes"/>
         <copy todir="build/webapp/crawler-ui/WEB-INF/classes">
             <fileset dir="crawler-ui/src/main/resource">
-	      <include name="**/*.properties"/>
+	      <include name="**/*.utf8"/>
 	  </fileset>
         </copy>
         <copy todir="build/webapp/crawler-ui">



Mime
View raw message