Ice module name

ganzuoniganzuoni Member Guido AnzuoniOrganization: IndividualProject: No specific project ✭✭
Hello,
it would nice to have the possibility to name "ice" a nested
module.
This slice def raise an error in slice2java (ice module name is reserved):

module service {
module ice {
......
};
};

Regards,
Guido.

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Everything that starts with "ice" is not permissible as an identifier. This allows us to have our own internal namespaces and nested namespaces, for which there can be no name clashes.

    Can't you just use "FrozenWater"? :)
  • ganzuoniganzuoni Member Guido AnzuoniOrganization: IndividualProject: No specific project ✭✭
    Originally posted by marc
    Everything that starts with "ice" is not permissible as an identifier. This allows us to have our own internal namespaces and nested namespaces, for which there can be no name clashes.

    Can't you just use "FrozenWater"? :)

    Not bad ;)

    Well,
    if you design a service in a layered manner, with the real impl that is
    middleware independent, you could put CORBA access point,
    Ice access point, SOAP access point around it (I know is'nt that easy,
    but, at least, ease testing phase).
    With this in mind, if your service is defined as:

    com.mycompany.servicexx.spec for interface specification
    com.mycompany.servicexx.impl for implementation

    a module naming could be

    com.mycompany.servicexx.ice.spec for ice generated
    com.mycompany.servicexx.ice.impl for ice implementation

    Maybe iceimpl module name works better:)

    Guido.
Sign In or Register to comment.