maguro 2005/04/17 12:43:29
Modified: modules/core/src/java/org/openejb/corba/compiler
OpenORBStubGenerator.java
Log:
Helpful error messages
Revision Changes Path
1.10 +4 -4
openejb/modules/core/src/java/org/openejb/corba/compiler/OpenORBStubGenerator.java
Index: OpenORBStubGenerator.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/corba/compiler/OpenORBStubGenerator.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- OpenORBStubGenerator.java 31 Mar 2005 07:47:32 -0000 1.9
+++ OpenORBStubGenerator.java 17 Apr 2005 16:43:29 -0000 1.10
@@ -174,6 +174,8 @@
jar.setUpdate(true);
jar.execute();
} catch (Exception e) {
+ log.error("Error generating stub", e);
+
/**
* Convert the msg to string so that we don't try to serialize
* anything that is unserializable in a cause exception
@@ -198,8 +200,6 @@
if (compiler == null) {
compiler = new AntCompiler();
}
- URL url =
Thread.currentThread().getContextClassLoader().getResource("resource:/org/openorb/config/OpenORB.xml");
- //resource:/org/openorb/config/OpenORB.xml
}
public void doStop() throws Exception {