Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-25-2003
ganzuoni ganzuoni is offline
Registered User
 
Name: Guido Anzuoni
Organization: Individual
Project: No specific project
 
Join Date: Jun 2003
Location: Italy
Posts: 46
Ice module name

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.
Reply With Quote
  #2 (permalink)  
Old 06-25-2003
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,771
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"?
Reply With Quote
  #3 (permalink)  
Old 06-25-2003
ganzuoni ganzuoni is offline
Registered User
 
Name: Guido Anzuoni
Organization: Individual
Project: No specific project
 
Join Date: Jun 2003
Location: Italy
Posts: 46
Quote:
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile error using VERSION in module ctennis Bug Reports 1 03-29-2006 02:49 PM
Question about module OrNot Help Center 2 09-19-2005 05:57 AM
Python and partial Ice module inclusion (Glacier2 specifically) ckohnert Help Center 4 08-18-2005 03:08 PM
Throwing exception from another module beardo Help Center 3 06-01-2005 12:21 PM
Bug about Module feb Bug Reports 2 11-03-2004 08:14 PM


All times are GMT -4. The time now is 06:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.