xml-xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bau" <david....@bea.com>
Subject Re: Code Review one line change in ScheamCompiler.java
Date Tue, 16 Sep 2003 16:13:38 GMT
OK, ant classloader issues, got it.  Looks good to me Remy.

David

----- Original Message ----- 
From: David Remy
To: David Bau
Cc: Eric Vasilik
Sent: Tuesday, September 16, 2003 12:05 PM
Subject: [bea-readme] Code Review one line change in ScheamCompiler.java


Index: SchemaCompiler.java
===================================================================
RCS file:
/home/cvs/xml-xmlbeans/v1/src/xmlcomp/org/apache/xmlbeans/impl/tool/SchemaCo
mpiler.java,v
retrieving revision 1.1
diff -u -r1.1 SchemaCompiler.java
--- SchemaCompiler.java 15 Sep 2003 18:20:33 -0000 1.1
+++ SchemaCompiler.java 16 Sep 2003 16:03:42 -0000
@@ -167,7 +167,7 @@
         if (cl.getOpt("extension") != null) {
             try {
                 Extension e = new Extension();
-                e.setClassName(Class.forName(cl.getOpt("extension")));
+                e.setClassName(Class.forName(cl.getOpt("extension"), false,
Thread.currentThread().getContextClassLoader()));
                 extensions.add(e);
             } catch (ClassNotFoundException e) {
                 System.err.println("Could not find extension class: " +
cl.getOpt("extension") + "  Is it on your classpath?");


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Mime
View raw message