Kbase P66390: Is there a Proxy Generator Tool available for UNIX?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/6/2004 |
|
Status: Unverified
GOAL:
Is there a Proxy Generator Tool available for UNIX?
GOAL:
Can I use ProxyGen on UNIX?
GOAL:
How to run the Proxy Generator Utility on UNIX?
FACT(s) (Environment):
UNIX
FIX:
The Proxy Generator Utility can also be run on supported UNIX platforms in batch mode. This allows you to generate code on UNIX for a client interface that you have defined in a project file created using GUI ProxyGen.
Batch ProxyGen runs on UNIX using the bproxygen command the same way it runs on Windows platforms, with the following limitations:
It generates code only for projects that define Web services or Java proxies, and that do not also define ActiveX proxies. You can only generate ActiveX proxies on Windows platforms.
It does not support and ignores the -usemidlfromc++ command-line switch. This switch applies to ActiveX proxies only.
It automatically converts compatible Windows path names to UNIX path names, with the exceptions described in the following paragraphs.
When you generate project (.pxg) files for use with Batch ProxyGen on UNIX Systems, make sure all path names that you specify are portable to your UNIX machine. This includes the output directory, compiler path, and PROPATH settings.
In general, bproxygen applies certain translation rules when reading a project file on UNIX:
It ignores all drive letters.
It converts all back slashes (\) to forward slashes (/).
Using any other Windows-specific naming convention results in a non portable project file.
To make your code more portable, you can use dot (.) or some other relative path as your Output Dir setting for all application development. You might also consider using your PATH environment variable for finding Java compiler by executable name only. Doing this also allows you to install the JDK for each platform in vendor-specified default directories without causing your application code to fail when moving from one platform to another.