Hello all!
Traditionally in TTCN there has been a concept called "Domain of
Interest" and module identifiers have been said to be unique within the
Domain of Interest. In this way there is no need to have a mapping
between module name/identifier and the file name of the TTCN-2/TTCN-3
test specification.
How this "Domain of Interest" is implemented in various tools is a tool
specific implementation detail that gives different tool different
characteristics and features. Somehow different modules are associated
to this "Domain of Interest" and they are found using the module name...
Does the TTCN-3 spec even state that the TTCN-3 code should be in a file
and that the file should have a name... Some tools may use files, some
others objects, etc...
Best regards,
Vesa-Matti
Anthony Wiles wrote:
>
>
>
Original Message
> From: Syntax [
This email address is being protected from spambots. You need JavaScript enabled to view it.]
> Sent: 31 October 2002 07:56
> To: Editor
> Subject: A problem of library management
>
> I'm a TTCN-3 tool developer in huawei.
>
> We found that there is no limitation of the relationship between a
> file's name and it's module's name.
>
> If user import from a module by module name, how can we find the file
> contains the proper module? Search it from each TTCN-3 source file
> allover the world?
>
> I think the standard should give some limitation of this. Maybe force
> one module one file and the filename must be same as the module file.
> Another way is that we allow multi module in one file, but the form of
> import statement must be like this:
> import from modulename in packagename something.
>
> the packagename is the source file name contains the module we need.
>
> I need your help, thanks.
>
--
Vesa-Matti Puro
Open Environment Software Oy
Laserkatu 6, FIN-53850 LAPPEENRANTA, Finland
Postal address: P.O. Box 6, FIN-53851 LAPPEENRANTA, Finland
Telephone +358 40 820 4616
E-mail
This email address is being protected from spambots. You need JavaScript enabled to view it.
Web
www.openttcn.com