svn commit: r525711 - in /xml/xindice/trunk: .classpath build.properties build.xml src/documentation/content/xdocs/dev/todo.xml

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
Author: byrne
Date: Wed Apr  4 23:00:02 2007
New Revision: 525711

URL: http://svn.apache.org/viewvc?view=rev&rev=525711
Log:
Added two new build.properties: 
compile.javac.target=1.3
compile.javac.source=1.3

Will allow us to build binary distributions for Java 1.3.

Signed up to tackle changing the hash generator to the Java base one for release 1.1.

Todd Byrne

Modified:
    xml/xindice/trunk/.classpath
    xml/xindice/trunk/build.properties
    xml/xindice/trunk/build.xml
    xml/xindice/trunk/src/documentation/content/xdocs/dev/todo.xml

Modified: xml/xindice/trunk/.classpath
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/.classpath?view=diff&rev=525711&r1=525710&r2=525711
==============================================================================
--- xml/xindice/trunk/.classpath (original)
+++ xml/xindice/trunk/.classpath Wed Apr  4 23:00:02 2007
@@ -24,20 +24,20 @@
     <classpathentry kind="src" output="build/classes-address" path="java/examples/addressbook/src/java"/>
     <classpathentry kind="src" output="build/classes-guide" path="java/examples/guide/src"/>
     <classpathentry exported="true" kind="var" path="JRE_LIB" sourcepath="JRE_SRC"/>
-    <classpathentry exported="true" kind="lib" path="java/lib/commons-logging-1.0.3.jar"/>
-    <classpathentry exported="true" kind="lib" path="java/lib/xalan-2.5.2.jar"/>
-    <classpathentry exported="true" kind="lib" path="java/lib/xerces-2.6.0.jar"/>
-    <classpathentry exported="true" kind="lib" path="java/lib/xmldb-api-20030701.jar"/>
-    <classpathentry exported="true" kind="lib" path="java/lib/xmldb-api-sdk-20030701.jar"/>
-    <classpathentry exported="true" kind="lib" path="java/lib/xmldb-common-20030701.jar"/>
-    <classpathentry exported="true" kind="lib" path="java/lib/xmldb-xupdate-20040205.jar"/>
-    <classpathentry exported="true" kind="lib" path="java/lib/xmlrpc-1.1.jar"/>
-    <classpathentry exported="true" kind="lib" path="java/lib/xml-apis.jar"/>
-    <classpathentry exported="true" kind="lib" path="java/lib/servlet-2.3.jar"/>
+    <classpathentry exported="true" kind="lib" path="lib/commons-logging-1.0.3.jar"/>
+    <classpathentry exported="true" kind="lib" path="lib/endorsed/xalan-2.5.2.jar"/>
+    <classpathentry exported="true" kind="lib" path="lib/endorsed/xerces-2.6.0.jar"/>
+    <classpathentry exported="true" kind="lib" path="lib/endorsed/xml-apis.jar"/>
+    <classpathentry exported="true" kind="lib" path="lib/xmldb-api-20030701.jar"/>
+    <classpathentry exported="true" kind="lib" path="lib/xmldb-api-sdk-20030701.jar"/>
+    <classpathentry exported="true" kind="lib" path="lib/xmldb-common-20030701.jar"/>
+    <classpathentry exported="true" kind="lib" path="lib/xmldb-xupdate-20040205.jar"/>
+    <classpathentry exported="true" kind="lib" path="lib/xmlrpc-1.1.jar"/>
+    <classpathentry exported="true" kind="lib" path="lib/servlet-2.3.jar"/>
     <classpathentry exported="true" kind="lib" path="tools/lib/junit-3.8.1.jar"/>
     <classpathentry exported="true" kind="lib" path="tools/lib/junitperf-1.8.jar"/>
     <classpathentry exported="true" kind="lib" path="tools/lib/junit-addons-1.2.jar"/>
     <classpathentry kind="lib" path="tools/lib/xmlunit-1.0.jar"/>
-    <classpathentry kind="lib" path="tools/lib/ant-1.5.3.jar"/>
+    <classpathentry kind="lib" path="tools/lib/ant.jar"/>
     <classpathentry kind="output" path="build/classes"/>
 </classpath>

Modified: xml/xindice/trunk/build.properties
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/build.properties?view=diff&rev=525711&r1=525710&r2=525711
==============================================================================
--- xml/xindice/trunk/build.properties (original)
+++ xml/xindice/trunk/build.properties Wed Apr  4 23:00:02 2007
@@ -59,7 +59,8 @@
 compile.nowarn=off
 compile.deprecation=on
 compile.verbose=off
-
+compile.javac.target=1.3
+compile.javac.source=1.3
 
 # ---- Tomcat ------------------------------------------------------------------
 # Location of the Jakarta Tomcat directory.

Modified: xml/xindice/trunk/build.xml
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/build.xml?view=diff&rev=525711&r1=525710&r2=525711
==============================================================================
--- xml/xindice/trunk/build.xml (original)
+++ xml/xindice/trunk/build.xml Wed Apr  4 23:00:02 2007
@@ -108,14 +108,14 @@
       -->
     <target name="compile-src" depends="init, clover.on">
         <mkdir dir="${dom.build.dir}"/>
-        <javac srcdir="${dom.src.dir}" destdir="${dom.build.dir}"
+        <javac srcdir="${dom.src.dir}" destdir="${dom.build.dir}" target="${compile.javac.target}" source="${compile.javac.source}" 
                debug="${compile.debug}" optimize="${compile.optimize}" nowarn="${compile.nowarn}" deprecation="${compile.deprecation}" verbose="${compile.verbose}">
             <classpath>
                 <path refid="project.class.path"/>
             </classpath>
         </javac>
         <mkdir dir="${src.build.dir}"/>
-        <javac srcdir="${src.dir}" destdir="${src.build.dir}"
+        <javac srcdir="${src.dir}" destdir="${src.build.dir}" target="${compile.javac.target}" source="${compile.javac.source}" 
                debug="${compile.debug}" optimize="${compile.optimize}" nowarn="${compile.nowarn}" deprecation="${compile.deprecation}" verbose="${compile.verbose}">
             <classpath>
                 <path path="${dom.build.dir}"/>

Modified: xml/xindice/trunk/src/documentation/content/xdocs/dev/todo.xml
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/src/documentation/content/xdocs/dev/todo.xml?view=diff&rev=525711&r1=525710&r2=525711
==============================================================================
--- xml/xindice/trunk/src/documentation/content/xdocs/dev/todo.xml (original)
+++ xml/xindice/trunk/src/documentation/content/xdocs/dev/todo.xml Wed Apr  4 23:00:02 2007
@@ -66,7 +66,7 @@
           with Java's hash function which gives better distribution. Such change to hash
           filer means that DatabaseRebuild tool should be used on any existing databases
           with hash filer backed collections. Once this change is done, hash filer can be
-          un-deprecated.
+          un-deprecated [TB].
         </li>
         <li>
           ...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.