List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:September 14 2007 7:58am
Subject:Rev 159: Removed errors package. Changed package mappings in ndbj.i. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge

------------------------------------------------------------
revno: 159
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: ndbjmerge
timestamp: Fri 2007-09-14 00:57:56 -0700
message:
  Removed errors package. Changed package mappings in ndbj.i.
removed:
  java/com/mysql/cluster/errors/ errors-20070517184309-9s43c0n425bdq8ul-1
modified:
  java/ndbj.i                    ndbj.i-20070913223244-5938mztpztyn9sry-1
=== removed directory 'java/com/mysql/cluster/errors'
=== modified file 'java/ndbj.i'
--- a/java/ndbj.i	2007-09-14 01:52:17 +0000
+++ b/java/ndbj.i	2007-09-14 07:57:56 +0000
@@ -83,7 +83,7 @@
 #define NDB_exception(excp, msg) { ndb_throw_exception(jenv, #excp,msg);  } 
 
 void ndb_throw_exception(JNIEnv *jenv, const char * excp, const char *msg) { 
-  const char * prefix = "com/mysql/cluster/errors/";
+  const char * prefix = "com/mysql/cluster/ndbj/";
   char * exception = (char *)malloc(strlen(excp)+strlen(prefix)+1);
   strcpy(exception,prefix);
   strcat(exception,excp);
@@ -112,10 +112,10 @@
 %typemap(jstype) asynch_callback_t * "INdbCallable"
 %typemap(javain) asynch_callback_t * "(Object)$javainput"
 
-%typemap(javaimports) NdbFactory, Ndb, Ndb_cluster_connection, NdbTransaction,
NdbOperation, NdbIndexOperation, NdbScanOperation, NdbIndexScanOperation, NdbBlob,
NdbDictDictionary, NdbDictColumn, NdbDictIndex, NdbDictTable, NdbDictObject,
NdbScanFilter, NdbEvent, NdbEventOperation, NdbRecAttr "import
com.mysql.cluster.errors.*;"
+/*%typemap(javaimports) NdbFactory, Ndb, Ndb_cluster_connection, NdbTransaction,
NdbOperation, NdbIndexOperation, NdbScanOperation, NdbIndexScanOperation, NdbBlob,
NdbDictDictionary, NdbDictColumn, NdbDictIndex, NdbDictTable, NdbDictObject,
NdbScanFilter, NdbEvent, NdbEventOperation, NdbRecAttr "import
com.mysql.cluster.errors.*;"
 %pragma(java) moduleimports="import com.mysql.cluster.errors.*;"
 %pragma(java) jniclassimports="import com.mysql.cluster.errors.*;"
-
+*/
 
 %typemap(jni) MYSQL_TIME * "jobject"
 %typemap(jtype) MYSQL_TIME * "Object"

Thread
Rev 159: Removed errors package. Changed package mappings in ndbj.i. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmergeMonty Taylor14 Sep