You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Jim Page <ji...@redmatter.com> on 2020/12/06 14:50:36 UTC

Build issues with nightly SDK build

Hi There, and apologies for the potentially noob question.

I am very late in the day attempting to port a large flex app. I have spent
some time getting familiar with royale - it looks very much like a
lifesaver, though I still have some mountains to climb.

Initially though I'd love to know why I get a bunch of errors like this:

/Users/jim.page/Documents/git/flexportal/Basic-0.9.8-SNAPSHOT-js.swc:defaults.css(847):
col: 21 Error: org.apache.royale.html.beads.SolidBackgroundBead is not
defined.
/Users/jim.page/Documents/git/flexportal/Basic-0.9.8-SNAPSHOT-js.swc:defaults.css(847):
col: 21 Error: org.apache.royale.html.beads.SolidBackgroundBead is not
defined.
/Users/jim.page/Documents/git/flexportal/Basic-0.9.8-SNAPSHOT-js.swc:defaults.css(847):
col: 21 Error: org.apache.royale.html.beads.SolidBackgroundBead is not
defined.
/Users/jim.page/Documents/git/flexportal/Basic-0.9.8-SNAPSHOT-js.swc:defaults.css(848):
col: 17 Error: org.apache.royale.html.beads.SingleLineBorderBead is not
defined.
/Users/jim.page/Documents/git/flexportal/Basic-0.9.8-SNAPSHOT-js.swc:defaults.css(848):
col: 17 Error: org.apache.royale.html.beads.SingleLineBorderBead is not
defined.
/Users/jim.page/Documents/git/flexportal/Basic-0.9.8-SNAPSHOT-js.swc:defaults.css(848):
col: 17 Error: org.apache.royale.html.beads.SingleLineBorderBead is not
defined.
/Users/jim.page/Documents/git/flexportal/Basic-0.9.8-SNAPSHOT-js.swc:defaults.css(862):
col: 15 Error: org.apache.royale.html.beads.CSSButtonView is not defined.
... lots more

This is a JS only build. If I try a 'both' build I get a bunch of errors
like

/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
Warning: The definition SVGElement depended on by
org.apache.royale.display.js.JSRuntimeGraphicsStore in the SWC
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
could not be found
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
Warning: The definition document depended on by
org.apache.royale.display.js.JSRuntimeGraphicsStore in the SWC
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
could not be found
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
Warning: The definition CSSStyleDeclaration depended on by
org.apache.royale.display.js.JSRuntimeGraphicsStore in the SWC
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
could not be found
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
Warning: The definition SVGImageElement depended on by
org.apache.royale.display.js.JSRuntimeGraphicsStore in the SWC
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
could not be found
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
Warning: The definition HTMLDivElement depended on by
org.apache.royale.display.js.JSRuntimeGraphicsStore in the SWC
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
could not be found
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
Warning: The definition HTMLCanvasElement depended on by
org.apache.royale.display.js.JSRuntimeGraphicsStore in the SWC
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
could not be found
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
Warning: The definition SVGElement depended on by
org.apache.royale.display.BitmapData in the SWC
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
could not be found
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
Warning: The definition document depended on by
org.apache.royale.display.BitmapData in the SWC
/Users/jim.page/Documents/Royale/nightly-mvn/SDKs/frameworks/libs/Graphics-0.9.8-SNAPSHOT-js.swc
could not be found
... lots more

I don't get the CSS related errors if I do a SWF+JS build.

I am running a maven build of the latest development branch of the SDK on
OSX 11.

Thank you!
Jim





--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: Build issues with nightly SDK build

Posted by Jim Page <ji...@redmatter.com>.
For anyone else running into similar issues, adding
royale-typedefs-gcl-0.9.8-SNAPSHOT-typedefs.swc to the library-path solved
the problem. (if you are using a prebuilt SDK release the SNAPSHOT won't be
there).



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: Build issues with nightly SDK build

Posted by Jim Page <ji...@redmatter.com>.
Solved it - I assumed that the mxmlc command line for adobe flex would just
work. The problem is now resolved after paying proper attention to the
example build config files in the SDK. Now to fix the actual bugs ...



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/