|
|
|
|||||
|
slice2cppe metadata
Hi,
I'm currently working with IceStorm in WSN. I use an IceStorm server on a big box, and I wish to try and port it with IceE to run into a small MIPS. The main problem is when I try this: slice2cppe -I. -I /usr/share/slice --ice IceStormInternal.ice The slice2cppe says: IceStormInternal.ice:25: warning: ignoring invalid metadata `cpp:class' Does not support metadata the slice2cpp? The thing is that later, compiling, it now says: ./IceStormInternal.h:152: error: ‘EventDataPtr’ is not a member of ‘IceStorm’ It 's like it would be middle parsed, because It looks for the smart pointer of the class EventData, which not exists!! what happend? By the way, has anyone compiled IceStorm as a service with IceE? Thanks in advance. Last edited by Oscar.Acena : 07-14-2007 at 03:31 PM. |
|
|||||
|
slice2cppe metadata, a change
OK,
The thing is that metadata has changed from slice2cpp to slice2cppe. In this case, you usually puts: ["cpp:class"] in Ice where you want a mapping for a class. However, in Ice-E, you should put only: ["class"] Or at least, I think so. |
|
||||||
|
Sorry, you cannot compile the IceStorm service itself with IceE since, for reasons of size and efficiency IceE is missing several critical features used by the IceStorm service -- you can see a comparison at the following location: http://www.zeroc.com/icee/iceVsIceE.html.
The metadata you are encountering problems with relates to how slice classes are mapped. Since IceE doesn't support object-by-value (ie: slice classes) it also does not support the metadata directive in question. |
|
|||||
|
What a pity!
Well, I see the metadata thing. Ok, is no problem.
And... do you thing i could write a very simple implementation of IceStorm service? As far as it keeps the interfaces, it will be ok, it's not? Well, I'll do my best. Thanks a lot for your comment! Saludos. |
|
|||||
|
Ok, I'll do that
Ok.
I'll try first the existing IceStorm. I'll tell you how it progress :-) Thanks a lot for your support. Best regards. |
|
||||||
|
Actually, I was mistaken about the purpose of the metadata -- this metadata is used to trigger an alternative mapping that maps slice structs to C++ reference counted classes. This was never ported to IceE. However, the main impediment to porting IceStorm to IceE is the lack of support for Blobject. Without this there is no practical way to unmarshal the request and forward it transparently.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java global package metadata and builtin datatypes | mefoster | Bug Reports | 1 | 05-11-2007 12:27 PM |
| Metadata directives | bartley | Help Center | 1 | 02-03-2006 02:35 PM |
| package metadata directive - ClassCast Exception | vsonnathi | Bug Reports | 1 | 09-28-2004 11:46 AM |
| Reference for Metadata tags | Nis Baggesen | Help Center | 3 | 09-13-2004 09:04 AM |
| c++ metadata | sylvain | Help Center | 5 | 08-06-2003 10:10 AM |