Hi,
I have the following:
Running Slice2java I get in one of my source files:Code:#ifndef INVOKE_ICE #define INVOKE_ICE #include <Ice/Identity.ice> module SuperServiceObjects { ... };
My question is how do I control the package to which the Java code belongs?Code:// Ice version 3.3.0 package SuperServiceObjects; public final class IntDictHolder { public IntDictHolder() { } public IntDictHolder(java.util.Map<java.lang.String, java.lang.Integer> value) { this.value = value; } public java.util.Map<java.lang.String, java.lang.Integer> value; }
i.e if I wanted package com.observatory.dome.SuperServiceObjects
thus:
If this is a basic question forgive me. I tried putting the module in nested namespaces but the slice compiler didn't seem to like that...Code:// Ice version 3.3.0 package com.observatory.dome.SuperServiceObjects; public final class IntDictHolder { public IntDictHolder() { } public IntDictHolder(java.util.Map<java.lang.String, java.lang.Integer> value) { this.value = value; } public java.util.Map<java.lang.String, java.lang.Integer> value; }
Thanks,
Vince

Reply With Quote