apache / apache/royale-asjs

Path to "playerglobal.swc" wrong in royale-js-swf package

Open
#229 15 comments 2 reactions 0 assignees View on GitHub
Dominant language
ActionScript
Stars
380
Forks
120
PR merge metrics
No merged PRs in 30d

Description

```
+royalelib=../node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks
--keep-as3-metadata+=JSModule
--source-path+=../lib
--include-sources+=../lib
--output=../dist/openfl.swc
/home/joshua/Development/Haxe/openfl/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/royale-config.xml(74): col: 0 unable to open '/home/joshua/Development/Haxe/openfl/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/libs/player/11.1/playerglobal.swc'.
/home/joshua/Development/Haxe/openfl/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/royale-config.xml (line: 74)

/home/joshua/Development/Haxe/openfl/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/royale-config.xml(98): col: 0 unable to open '/home/joshua/Development/Haxe/openfl/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/libs/player/11.1'.
/home/joshua/Development/Haxe/openfl/node_modules/@apache-royale/royale-js-swf/royale-asjs/frameworks/royale-config.xml (line: 98)


```

The path under `royale-asjs` resolves properly when using the `royale-js` package, but under `royale-js-swf` the "11.1/playerglobal.swc" is missing, and instead the downloaded 25.0 or 26.0 version is required to compile properly.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with royale-asjs/frameworks/royale-config.xml at lines 74 and 98, then inspect the playerglobal files available under the royale-js-swf package. Compare the referenced 11.1 path with the downloaded 25.0 or 26.0 version and verify that the package configuration resolves the required playerglobal.swc during compilation.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.