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

VERIFIED FIXED

Status

Core Graveyard
Java to XPCOM Bridge
P3
minor
VERIFIED FIXED
18 years ago
4 years ago

People

(Reporter: Alexei V. Mokeev, Assigned: Denis Sharypov)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
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
(Assignee)

Comment 1

18 years ago
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
Last Resolved: 18 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

17 years ago
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.