Closed Bug 196102 Opened 22 years ago Closed 22 years ago

Enable WSDL by default in mozilla

Categories

(Core :: XML, defect, P2)

x86
Windows XP
defect

Tracking

()

RESOLVED FIXED
mozilla1.4alpha

People

(Reporter: harishd, Assigned: harishd)

References

Details

Attachments

(1 file, 4 obsolete files)

Currently WSDL can be used only if the environment variable MOZ_WSP is set and extensions/interfaceinfo ( that WSDL depends on ) is built. To make development/testing easier it would be a good thing to enable WSDL by default in mozilla builds
Attached patch patch v1.0 (obsolete) — Splinter Review
With this patch WSDL will build by default in mozilla. I've added a flag MOZ_DISABLE_WSDL for people who are not interested in building it. However, I don't know how to disable building extensions/interfaceino. seawood?
Comment on attachment 116347 [details] [diff] [review] patch v1.0 Harish, you're going to need approval from someone on staff@mozilla.org to start buildling a new module by default. Has the module been superreviewed? Use --enable-extensions=default,-interfaceinfo to disable the building of interface info. If since WDSL depends upon interface info, then MOZ_DISABLE_WSP should be set whenever interfaceinfo isn't in MOZ_EXTENSIONS. Actually, can we avoid the double-negative ifdefs and leave that as MOZ_WSP.
Attachment #116347 - Flags: review-
>Harish, you're going to need approval from someone on staff@mozilla.org to >start buildling a new module by default. Yes, it's has been approved by drivers@mozilla.org. >Actually, can we avoid the double-negative ifdefs and leave that as MOZ_WSP. But then one has to set MOZ_WSP=1 manually no?
No. You can have configure set MOZ_WSP=1 and call |AC_SUBST(MOZ_WSP)|. Then add |MOZ_WSP = @MOZ_WSP@| to config/autoconf.mk.in to expose that variable to the rest of the core Mozilla makefiles. With your current patch, you have to set both the configure option & the env variable to disable the feature which seems extreme.
Attachment #116565 - Attachment is obsolete: true
Comment on attachment 116569 [details] [diff] [review] forgot allmakefiles.sh, cls corrected placement of AC_SUBST r=cls
Attachment #116569 - Flags: review+
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla1.4alpha
Btw, wsdl/proxy/interface code has been reviewed and superreviewed.
FYI: wsdl/proxy/interface code has been reviewed and superreviewed.
Attached patch patch v1.1 (obsolete) — Splinter Review
Changes to enable wsdl in mozilla: This patch makes the flag MOZ_WSP obsolete. And since interfaceinfo has been moved inside extensions/xmlextras I've changed the Makefile.in/configure.in/configure/allmakefiles.sh to reflect that.
Attachment #116569 - Attachment is obsolete: true
Attached patch patch v1.1Splinter Review
Attachment #117783 - Attachment is obsolete: true
Attachment #117785 - Flags: review?(leaf)
Comment on attachment 117785 [details] [diff] [review] patch v1.1 r=leaf (don't forget to remove the old file locations)
Attachment #117785 - Flags: review+
Attachment #117785 - Flags: superreview?(heikki)
Forgot to mention: The wsdl/proxy/interfaceinfo code was reviewed and super-reviewed by myself, John Gaunt, Johnny Stenback, and David Bradley.
FYI: Brad Tbox is now whowing an extra "might be used uninitialized" warning (see also bug 59652): +extensions/xmlextras/wsdl/src/nsWSDLLoader.cpp:1381 + `PRBool foundSOAPBinding' might be used uninitialized in this function
WSDL is now enabled!
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Attachment #117785 - Flags: superreview?(heikki)
Attachment #117785 - Flags: review?(leaf)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: