You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by pk...@apache.org on 2006/01/01 22:09:17 UTC

svn commit: r360551 - in /lucene/nutch/branches/branch-0.7: CHANGES.txt src/java/org/apache/nutch/util/NutchConf.java

Author: pkosiorowski
Date: Sun Jan  1 13:09:11 2006
New Revision: 360551

URL: http://svn.apache.org/viewcvs?rev=360551&view=rev
Log:
NUTCH-142 - NutchConf should use the thread context classloader. (Mike Cannon-Brookes).

Modified:
    lucene/nutch/branches/branch-0.7/CHANGES.txt
    lucene/nutch/branches/branch-0.7/src/java/org/apache/nutch/util/NutchConf.java

Modified: lucene/nutch/branches/branch-0.7/CHANGES.txt
URL: http://svn.apache.org/viewcvs/lucene/nutch/branches/branch-0.7/CHANGES.txt?rev=360551&r1=360550&r2=360551&view=diff
==============================================================================
--- lucene/nutch/branches/branch-0.7/CHANGES.txt (original)
+++ lucene/nutch/branches/branch-0.7/CHANGES.txt Sun Jan  1 13:09:11 2006
@@ -8,7 +8,11 @@
 
  3. Fixed distribution build problem due to missing empty dirs for plugin.
 
- 4. 
+ 4. NUTCH-142 - NutchConf should use the thread context classloader. (Mike
+Cannon-Brookes). 
+ 
+ 5. 
+
 
 Release 0.7.1 - 2005-10-01
 

Modified: lucene/nutch/branches/branch-0.7/src/java/org/apache/nutch/util/NutchConf.java
URL: http://svn.apache.org/viewcvs/lucene/nutch/branches/branch-0.7/src/java/org/apache/nutch/util/NutchConf.java?rev=360551&r1=360550&r2=360551&view=diff
==============================================================================
--- lucene/nutch/branches/branch-0.7/src/java/org/apache/nutch/util/NutchConf.java (original)
+++ lucene/nutch/branches/branch-0.7/src/java/org/apache/nutch/util/NutchConf.java Sun Jan  1 13:09:11 2006
@@ -49,8 +49,8 @@
 
   private List resourceNames = new ArrayList();
   private Properties properties;
-  private ClassLoader classLoader = NutchConf.class.getClassLoader();
 
+  private ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
   /** A new configuration. */
   public NutchConf() {
     resourceNames.add("nutch-default.xml");