commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r651280 - in /commons/proper/math/branches/MATH_2_0: build.xml maven.xml project.properties project.xml src/java/org/apache/commons/math/analysis/UnivariateRealSolverFactory.java src/site/xdoc/userguide/overview.xml test-jar.xml
Date Thu, 24 Apr 2008 14:40:35 GMT
Author: luc
Date: Thu Apr 24 07:40:29 2008
New Revision: 651280

URL: http://svn.apache.org/viewvc?rev=651280&view=rev
Log:
removed references to discovery

Modified:
    commons/proper/math/branches/MATH_2_0/build.xml
    commons/proper/math/branches/MATH_2_0/maven.xml
    commons/proper/math/branches/MATH_2_0/project.properties
    commons/proper/math/branches/MATH_2_0/project.xml
    commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/analysis/UnivariateRealSolverFactory.java
    commons/proper/math/branches/MATH_2_0/src/site/xdoc/userguide/overview.xml
    commons/proper/math/branches/MATH_2_0/test-jar.xml

Modified: commons/proper/math/branches/MATH_2_0/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/build.xml?rev=651280&r1=651279&r2=651280&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/build.xml (original)
+++ commons/proper/math/branches/MATH_2_0/build.xml Thu Apr 24 07:40:29 2008
@@ -1,46 +1,32 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!--build.xml generated by maven from project.xml version 1.2-SNAPSHOT
-  on date December 22 2005, time 1344-->
+<!--build.xml generated by maven from project.xml version 1.2-RC2
+  on date April 24 2008, time 1634-->
 
 <project default="jar" name="commons-math" basedir=".">
-  <!--Load local and user build preferences-->
-
-  <property file="build.properties">
-  </property>
-  <property file="${user.home}/build.properties">
-  </property>
-  <!--Build properties-->
-
-  <property name="defaulttargetdir" value="${basedir}/target">
-  </property>
-  <property name="libdir" value="${user.home}/.maven/repository">
-  </property>
-  <property name="classesdir" value="${basedir}/target/classes">
+  <property name="defaulttargetdir" value="target">
   </property>
-  <property name="testclassesdir" value="${basedir}/target/test-classes">
+  <property name="libdir" value="target/lib">
   </property>
-  <property name="testreportdir" value="${basedir}/target/test-reports">
+  <property name="classesdir" value="target/classes">
   </property>
-  <property name="distdir" value="${basedir}/dist">
+  <property name="testclassesdir" value="target/test-classes">
   </property>
-  <property name="javadocdir" value="${basedir}/dist/docs/api">
+  <property name="testclassesdir" value="target/test-classes">
   </property>
-  <property name="final.name" value="commons-math-1.2">
+  <property name="testreportdir" value="target/test-reports">
   </property>
-  <property name="proxy.host" value="">
+  <property name="distdir" value="dist">
   </property>
-  <property name="proxy.port" value="">
+  <property name="javadocdir" value="dist/docs/api">
   </property>
-  <property name="proxy.username" value="">
-  </property>
-  <property name="proxy.password" value="">
+  <property name="final.name" value="commons-math-1.2-RC2">
   </property>
   <path id="build.classpath">
-    <pathelement location="${libdir}/commons-logging/jars/commons-logging-1.0.3.jar">
-    </pathelement>
-    <pathelement location="${libdir}/commons-discovery/jars/commons-discovery-0.2.jar">
-    </pathelement>
+    <fileset dir="${libdir}">
+      <include name="**/*.jar">
+      </include>
+    </fileset>
   </path>
   <target name="init" description="o Initializes some properties">
     <mkdir dir="${libdir}">
@@ -53,25 +39,13 @@
 
     <available property="Junit.present" classname="junit.framework.Test">
     </available>
-    <!--Test if user defined a proxy-->
-
-    <condition property="useProxy">
-      <and>
-        <isset property="proxy.host">
-        </isset>
-        <not>
-          <equals trim="true" arg2="" arg1="${proxy.host}">
-          </equals>
-        </not>
-      </and>
-    </condition>
   </target>
   <target name="compile" description="o Compile the code" depends="get-deps">
     <mkdir dir="${classesdir}">
     </mkdir>
     <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
       <src>
-        <pathelement location="${basedir}/src/java">
+        <pathelement location="src/java">
         </pathelement>
       </src>
       <classpath refid="build.classpath">
@@ -80,11 +54,9 @@
     <mkdir dir="${classesdir}/META-INF">
     </mkdir>
     <copy todir="${classesdir}/META-INF">
-      <fileset dir="${basedir}/.">
+      <fileset dir=".">
         <include name="NOTICE.txt">
         </include>
-      	<include name="LICENSE.txt">
-      	</include>
       </fileset>
     </copy>
   </target>
@@ -115,7 +87,7 @@
   <target name="internal-test" if="Junit.present" depends="junit-present,compile-tests">
     <mkdir dir="${testreportdir}">
     </mkdir>
-    <junit dir="${basedir}" failureproperty="test.failure" printSummary="yes" fork="true"
haltonerror="true">
+    <junit dir="./" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
       <sysproperty key="basedir" value=".">
       </sysproperty>
       <formatter type="xml">
@@ -131,7 +103,7 @@
         </pathelement>
       </classpath>
       <batchtest todir="${testreportdir}">
-        <fileset dir="${basedir}/src/test">
+        <fileset dir="src/test">
           <include name="**/*Test.java">
           </include>
           <exclude name="**/*AbstractTest.java">
@@ -150,7 +122,7 @@
     </mkdir>
     <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false"
excludes="**/package.html">
       <src>
-        <pathelement location="${basedir}/src/test">
+        <pathelement location="src/test">
         </pathelement>
       </src>
       <classpath>
@@ -161,7 +133,7 @@
       </classpath>
     </javac>
     <copy todir="${testclassesdir}">
-      <fileset dir="${basedir}/src/test">
+      <fileset dir="src/test">
         <include name="**/*.xml">
         </include>
         <include name="**/*.txt">
@@ -178,42 +150,16 @@
     </tstamp>
     <property name="copyright" value="Copyright &amp;copy;  The Apache Software Foundation.
All Rights Reserved.">
     </property>
-    <property name="title" value="Math 1.2-SNAPSHOT API">
+    <property name="title" value="Math 1.2-RC2 API">
     </property>
-    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true"
sourcepath="${basedir}/src/java" packagenames="org.apache.commons.math.*">
+    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true"
sourcepath="src/java" packagenames="org.apache.commons.math.*">
       <classpath>
         <path refid="build.classpath">
         </path>
       </classpath>
     </javadoc>
   </target>
-  <target name="get-dep-commons-logging.jar" description="o Download the dependency :
commons-logging.jar" unless="commons-logging.jar" depends="init,setProxy,noProxy,get-custom-dep-commons-logging.jar">
-    <mkdir dir="${libdir}/commons-logging/jars/">
-    </mkdir>
-    <get dest="${libdir}/commons-logging/jars/commons-logging-1.0.4.jar" usetimestamp="true"
ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.4.jar">
-    </get>
-  </target>
-  <target name="get-custom-dep-commons-logging.jar" if="commons-logging.jar" depends="init,setProxy,noProxy">
-    <mkdir dir="${libdir}/commons-logging/jars/">
-    </mkdir>
-    <get dest="${libdir}/commons-logging/jars/commons-logging-1.0.4.jar" usetimestamp="true"
ignoreerrors="true" src="${commons-logging.jar}">
-    </get>
-  </target>
-  <target name="get-dep-commons-discovery.jar" description="o Download the dependency
: commons-discovery.jar" unless="commons-discovery.jar" depends="init,setProxy,noProxy,get-custom-dep-commons-discovery.jar">
-    <mkdir dir="${libdir}/commons-discovery/jars/">
-    </mkdir>
-    <get dest="${libdir}/commons-discovery/jars/commons-discovery-0.2.jar" usetimestamp="true"
ignoreerrors="true" src="http://www.ibiblio.org/maven/commons-discovery/jars/commons-discovery-0.2.jar">
-    </get>
-  </target>
-  <target name="get-custom-dep-commons-discovery.jar" if="commons-discovery.jar" depends="init,setProxy,noProxy">
-    <mkdir dir="${libdir}/commons-discovery/jars/">
-    </mkdir>
-    <get dest="${libdir}/commons-discovery/jars/commons-discovery-0.2.jar" usetimestamp="true"
ignoreerrors="true" src="${commons-discovery.jar}">
-    </get>
-  </target>
-  <target name="get-deps" unless="noget" depends="get-dep-commons-logging.jar,get-dep-commons-discovery.jar">
-  </target>
-  <target name="setProxy" if="useProxy" depends="init">
+  <target name="get-deps" unless="noget" depends="init">
     <!--Proxy settings works only with a JDK 1.2 and higher.-->
 
     <echo>Proxy used :</echo>
@@ -222,6 +168,10 @@
     <echo>Proxy user [${proxy.username}]</echo>
     <setproxy proxyuser="${proxy.username}" proxyport="${proxy.port}" proxypassword="${proxy.password}"
proxyhost="${proxy.host}">
     </setproxy>
+    <get dest="${libdir}/maven-cobertura-plugin-1.1.1.jar" usetimestamp="true" ignoreerrors="true"
src="http://repo1.maven.org/maven/maven-plugins/plugins/maven-cobertura-plugin-1.1.1.jar">
+    </get>
+    <get dest="${libdir}/maven-xdoc-plugin-1.9.2.jar" usetimestamp="true" ignoreerrors="true"
src="http://repo1.maven.org/maven/maven/plugins/maven-xdoc-plugin-1.9.2.jar">
+    </get>
   </target>
   <target name="noProxy" unless="useProxy" depends="init">
     <echo>Proxy not used.</echo>

Modified: commons/proper/math/branches/MATH_2_0/maven.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/maven.xml?rev=651280&r1=651279&r2=651280&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/maven.xml (original)
+++ commons/proper/math/branches/MATH_2_0/maven.xml Thu Apr 24 07:40:29 2008
@@ -51,12 +51,6 @@
   </preGoal>
 -->
 
-<!-- Uncomment to include compile time dependent jars (discovery, logging)
-  <preGoal name="dist:build-bin">
-    <deploy:copy-deps todir="${maven.build.dir}/${maven.final.name}/bin/${maven.final.name}"
/>
-  </preGoal>
- -->
- 
  <!-- Limit maven resources included in site generation -->
   <postGoal name="xdoc:copy-resources">
     <copy todir="${maven.docs.dest}/images">

Modified: commons/proper/math/branches/MATH_2_0/project.properties
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/project.properties?rev=651280&r1=651279&r2=651280&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/project.properties (original)
+++ commons/proper/math/branches/MATH_2_0/project.properties Thu Apr 24 07:40:29 2008
@@ -44,8 +44,7 @@
 maven.docs.src=${basedir}/src/site/xdoc
 
 maven.javadoc.links = http://java.sun.com/j2se/1.4.2/docs/api/,\
-                      http://commons.apache.org/collections/api/,\
-                      http://commons.apache.org/discovery/apidocs/
+                      http://commons.apache.org/collections/api/
 
 maven.changes.issue.template=http://issues.apache.org/jira/browse/%ISSUE%
 

Modified: commons/proper/math/branches/MATH_2_0/project.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/project.xml?rev=651280&r1=651279&r2=651280&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/project.xml (original)
+++ commons/proper/math/branches/MATH_2_0/project.xml Thu Apr 24 07:40:29 2008
@@ -203,30 +203,6 @@
   </contributors>
   <dependencies>
      <dependency>
-      <groupId>commons-logging</groupId>
-      <artifactId>commons-logging</artifactId>
-       <version>1.0.4</version>
-       <url>http://commons.apache.org/logging</url>
-       <properties>
-       <comment>
-        Only required when commons-discovery is used for class factory
-        configuration. No hard compile or runtime dependency.
-       </comment>
-      </properties>
-     </dependency>
-     <dependency>
-      <groupId>commons-discovery</groupId>
-      <artifactId>commons-discovery</artifactId>
-      <version>0.2</version>
-      <url>http://commons.apache.org/discovery</url>
-      <properties>
-       <comment>
-        Only required when commons-discovery is used for class
-        factory configuration. No hard compile or runtime dependency.
-       </comment>
-      </properties>
-     </dependency>
-     <dependency>
       <groupId>maven-plugins</groupId>
       <artifactId>maven-cobertura-plugin</artifactId>
       <version>1.1.1</version>

Modified: commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/analysis/UnivariateRealSolverFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/analysis/UnivariateRealSolverFactory.java?rev=651280&r1=651279&r2=651280&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/analysis/UnivariateRealSolverFactory.java
(original)
+++ commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/analysis/UnivariateRealSolverFactory.java
Thu Apr 24 07:40:29 2008
@@ -35,11 +35,6 @@
  * BrentSolver solver = factory.newBrentSolver(f);
  * </pre>
  *
- * <a href="http://commons.apache.org/discovery/">Apache Commons Discovery</a>
- * is used to determine the concrete factory returned by 
- * <code>UnivariateRealSolverFactory.newInstance().</code>  The default is
- * {@link UnivariateRealSolverFactoryImpl}.
- *
  * @version $Revision$ $Date$
  */
 public abstract class UnivariateRealSolverFactory {

Modified: commons/proper/math/branches/MATH_2_0/src/site/xdoc/userguide/overview.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/site/xdoc/userguide/overview.xml?rev=651280&r1=651279&r2=651280&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/site/xdoc/userguide/overview.xml (original)
+++ commons/proper/math/branches/MATH_2_0/src/site/xdoc/userguide/overview.xml Thu Apr 24
07:40:29 2008
@@ -115,17 +115,7 @@
 
 <subsection name="0.5 Dependencies" href="dependencies">
     <p>
-    Commons Math requires JDK 1.3+ and has no runtime dependencies.  Commons
-    Discovery is used to enable pluggable implementations in the 
-    <code>distributions, analysis</code> and <code>stat</code> packages;
but
-    default implementations are used if the commons-discovery and 
-    commons-logging (a dependency of commons-discovery) jars are not present in
-    the classpath.  To compile the sources, the following versions of these
-    components are required:
-    <ul>
-    <li>commons-discovery 0.2 </li>
-    <li>commons-logging 1.0.3 </li>
-    </ul>
+    Commons Math requires JDK 1.3+ and has no runtime dependencies.
     </p>
 </subsection>
 

Modified: commons/proper/math/branches/MATH_2_0/test-jar.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/test-jar.xml?rev=651280&r1=651279&r2=651280&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/test-jar.xml (original)
+++ commons/proper/math/branches/MATH_2_0/test-jar.xml Thu Apr 24 07:40:29 2008
@@ -95,7 +95,7 @@
     ==========================================================================
   </echo>
   </target>
-  <target name="compile-tests" if="Junit.present" depends="junit-present,get-deps">
+  <target name="compile-tests" if="Junit.present" depends="junit-present">
     <mkdir dir="${testclassesdir}"/>
     <javac destdir="${testclassesdir}" deprecation="true" debug="true"
             optimize="false" excludes="**/package.html">
@@ -110,17 +110,6 @@
       <fileset dir="src/test">
         <include name="**/*.xml"/>
         <include name="**/*.txt"/>
-      </fileset>
-    </copy>
-  </target>
-  <target name="get-deps" unless="noget" depends="init">
-    <get dest="${libdir}/commons-logging-1.0.3.jar" usetimestamp="true" ignoreerrors="true"

-              src="http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar"/>
-    <get dest="${libdir}/commons-discovery-0.2.jar" usetimestamp="true" ignoreerrors="true"

-              src="http://www.ibiblio.org/maven/commons-discovery/jars/commons-discovery-0.2.jar"/>
-    <copy todir="${libdir}">
-      <fileset dir="${jardir}">
-        <include name="*.jar"/>
       </fileset>
     </copy>
   </target>



Mime
View raw message