Express Hello World dependancies unclear and cause misleading compiler error
- Dominant language
- ActionScript
- Stars
- 380
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
This simple project:
```
```
With this pom.xml:
```
4.0.0
org.example.helloworld
test
1.0-SNAPSHOT
swf
src
org.apache.royale.compiler
royale-maven-plugin
0.9.0-SNAPSHOT
true
HelloWorld.mxml
org.apache.royale.compiler
compiler-jx
0.9.0-SNAPSHOT
org.apache.royale.framework
Basic
0.9.0-SNAPSHOT
swc
org.apache.royale.framework
HTML
0.9.0-SNAPSHOT
swc
org.apache.royale.framework
Language
0.9.0-SNAPSHOT
swc
js
com.adobe.flash.framework
playerglobal
20.0
swc
provided
```
Compiles and works correctly. Note that the HTML package is required which may or may not be obvious.
The express version of Hello World:
```
```
(with Express rather than Basic in the pom.xml)
Fails to compile with this error:
```
/Users/justinmclean/IdeaProjects/FlexJSTest/src/Test.mxml(2): col: 1 This tag could not be resolved to an ActionScript class. It will be ignored.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Express Hello World MXML and its pom.xml, then compare its dependencies with the working Basic example. Inspect the framework POM files mentioned in the issue and run the Express build to identify the missing dependency behind the unresolved Application tag. Done means the Express example compiles with complete declared dependencies and the misleading error is avoided.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100