-
Enhancement
-
Resolution: Fixed
-
P3
-
1.3.0
-
merlin
-
generic
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2039991 | 1.4.0 | Ken Cavanaugh | P3 | Closed | Won't Fix |
Name: krC82822 Date: 01/23/2001
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
We propose the introduction of a new command line parameter to idlj:
-pkg <src_package> <dest_package>
which causes all occurrences of 'src_package' in the Java files generated
by idlj to be translated to 'dest_package'.
Currently idlj only supports package prefixing (option -pkgPrefix <t> <prefix>).
We have a project where the IDL files were written with Ada in mind as the
main target language, thus nested modules look like that:
module DiagnosticsService {
module PropulsionDiagnostics {
interface ....
which results in the Java package
DiagnosticsService.PropulsionDiagnostics.
Since we have been using Visibroker 3.3, which supports arbitrary package
name translation, we had the above package name translated to
ch.paranor.diag.propulsion.
With the package prefixing currently supported by idlj this is not possible.
For various reasons, we would like to port our framework from Visibroker 3.3
to the native Java2 ORB (exorbitant licence fees and less-than-average tech
support by Inprise). Since we have customers using the framework, renaming
the existing packages is out of question.
(Review ID: 106690)
======================================================================
- backported by
-
JDK-2039991 idlj: introduce package name translation, not only package prefixing
-
- Closed
-