Closed Bug 16562 Opened 25 years ago Closed 25 years ago

[dogfood][feature] Module to generate install.js for components

Categories

(SeaMonkey :: Installer, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: samir_bugzilla, Assigned: samir_bugzilla)

Details

The Mac installer and .xpi automation requires an install.js generator that can
be called from an AppleScript. The implementation should be either in Perl or
AppleScript.
Status: NEW → ASSIGNED
Target Milestone: M11
Summary: [faeture] Module to generate install.js for components → [feature] Module to generate install.js for components
Summary: [feature] Module to generate install.js for components → [dogfood][feature] Module to generate install.js for components
we need this as part of build automation to get the new installer hooked up on
the mac.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
QA Contact: gbush → jj
Resolution: --- → FIXED
I've checked in
mozilla/xpinstall/packager/mac/GenJSLib                [compiled script]
mozilla/xpinstall/packager/mac/GenJSLib.script         [text]
mozilla/xpinstall/packager/mac/TestGenJSLib            [compiled script]
mozilla/xpinstall/packager/mac/TestGenJSLib.script     [text]

The test script shows how to load and use the single API exported by
the AppleScript library. The API is documented in GenJSLib.script:

-----------------------------------------------------------------------------
-- genJSFile
--
-- Generates a JS file from a supplied template after replacing all
-- predefined tokens with input parameters.
--
-- @param aSrcJSTFile       the source JavaScript template file
-- @param aDstJSFolder      the destination folder into which to generate the
--                          install.js
--                          [NOTE: no ':' at path end]
-- @param aVersion          the version string with which to replace the
--                          $Version$ string
-- @return err              the error code as  prescribed
-----------------------------------------------------------------------------

Marking fixed. Changing QA Assigned To: to jj since his script will be the
client of this call.
Bulk changing all JAR Installation component bugs to Installer: XPI Packages
Product: Browser → Seamonkey
Component: Installer: XPI Packages → Installer
QA Contact: jj.enser → general
You need to log in before you can comment on or make changes to this bug.