|
From: Viktor M. <MIH...@de...> - 2001-12-13 08:47:17
|
Hi Jim,
that sounds very good. If you want you can send me the tar.gz and I'll do
the SNIA testing. Thanks!
Mit freundlichen Grüßen / Kind Regards
Viktor Mihajlovski
Linux Technology Center
IBM Laboratory Böblingen, Germany
Phone +49-7031-16-2560
E-Mail mih...@de...
Jim Marshall
<Jam...@su... To: sblim-devel <sbl...@ww...>
> cc:
Sent by: Subject: [Sblim-devel] WBEM Services port of SBLIM
sblim-devel-admin@www-1
26.ibm.com
12/11/01 09:30 PM
Hello,
I have a version of SBLIM compiled for the wbem services project. I
haven't fully tested it yet but am working on it. I was wondering if
someone with a SNIA cimom could try to compile my changes? I don't have
a SNIA cimom, and I don't think I have enough time to get a copy and
test it.
In trying to keep a single NPITool.cpp file I made a small change in the
SNIA 'NativeProvider.java', I don't think this should affect anything.
The 'NativeProvider.java' contained two native methods called
'enumInstances', I modified one of these to be 'enumInstanceNames', I
also updated the 'enumerateInstanceNames' function to call this
function. I did this so that we could easily have a single copy of the
NPITool.cpp. By having two functions with same name, differentiated
only by parameters, the 'javah' tool generates a function name which
contains the parameter types, which caused a function naming problem
when dealing with the WBEM Services and SNIA stuff. After making this
minor change the only difference between my (Sun's) version of
NPITool.cpp and the SNIA version is the Java classes which are cached
(javax.wbem... in suns case, org.snia... in the SNIA case). I worked
around this by using a #define. If "_WBEM_SERVICES_CIMOM_" is defined
during compilation then the 'javax' classes are used, otherwise the SNIA
ones are.
Lastly I created a new directory 'npitool' which NPITool.cpp now resides
in. The SNIA makefile was updated to reflect this - which is why I need
it tested.
I can send you a tar/gzip of the npi0.9.3 tree I made.
Thanks
-Jim
Sun Microsystems
_______________________________________________
Sblim-devel mailing list
Sbl...@ww...
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/sblim-devel
|