Closed Bug 55480 Opened 24 years ago Closed 24 years ago

New xpidl compiler for java interfaces doesn't handle "-o" option

Categories

(Core Graveyard :: Java to XPCOM Bridge, defect, P3)

x86
All

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: avm, Assigned: sdv)

Details

New xpidl compiler for java Interfaces (moizilla/java/xpcom/java/xpidl)
doesn't handle -o option .

How to reproduce:
compile moizilla/java/xpcom/java/xpidl,
and then say "xpidl -m java -o test sampleInterface.idl and note,
that sampleInterface.java file will be created instead of test.java.
Original xpidl handles this option well and do not see reason to unhandle this
option for java.

Reproduced on Bc sources from 10/06/2000 and Mozilla PR3 
under RH Linux 6.2 and Windows NT4.0

Suggesetd reason:

New xpidl creates output file in xpidl_java.c with name interface_name.java and
original output name from xpidl_idl.c was lost at this stage.

This bug can cause only a little inconvenience in work, set severity to minor
This is not really a bug. Each Java interface should be generated in a 
single file. See bug #40108. Added a error message when using
-o basename in -m java mode.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Agree.Mark VERIFIED.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.