[prev in list] [next in list] [prev in thread] [next in thread]
List: jacorb-developer
Subject: Re: [jacorb-developer] IDL Compiler (JacORB 2.2.1) and package
From: Werner Buchert <w.buchert () medat ! de>
Date: 2005-02-15 13:21:29
Message-ID: 4211F759.1050901 () medat ! de
[Download RAW message or body]
Hi,
take a look at the ProgrammingGuide.pdf in
the doc directory.
There is a option
-i2jpackage
for the idl compiler.
For example
-i2jpackage :packagename
And you can define in idl 'modules', if you want.
Best regards,
Werner.
> Hello,
>
> i'm new to JacORB...
>
> When compiling IDL-File i get a couple of resulting *.java files.
> What is the trick to get 'package ... ;' statements on top of them to get
> them into a seperate namespace ?
> Do i really have to manually edit all resulting files ?
>
> My *.idl file looks like this:
> --------------------------- cut ------------------------
> exception ServerException
> {
> string reason;
> };
>
> interface Communicator
> {
> boolean cancelRequest() raises (ServerException);
> void finish();
> };
>
> interface Server
> {
> void disposeServerInstance (in Communicator com);
> Communicator getServerInstance (in string ipAddr, in string userId)
> raises (ServerException);
> };
> --------------------------- cut ------------------------
>
> I have searched the mailing list archive, programming guide and FAQs for
> this, but noting appears to me as appropriate.
>
> Is there any help for me ?
>
> regards
> Petric Frank
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jacorb-developer maillist - jacorb-developer@lists.spline.inf.fu-berlin.de
> http://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic