You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Carlos Rovira <ca...@apache.org> on 2018/02/23 20:08:49 UTC
Trying to build SWF version
Hi,
since Alex made changes to how builds are done I always make JS version.
Now I'm trying to make SWF version with maven
With vivid, as is a library I think I don't have to make anything, since
the output is an SWC
with VividExample I change in pom.xml <targets>JSRoyale</targets>
to <targets>JSRoyale, SWF</targets>, or even removing JSRoyale at all
if I put only SWF in targets my result in console is:
Loading configuration:
/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/VividExample/target/compile-app-
config.xml
Error: Missing builtin type Object
Error: Unable to build SWF
/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/VividExample/target/VividExample-
0.9.2-SNAPSHOT.swf
What could be the problem here? what is the missing object, could the
compiler let us know what missing object expect?
Right now vividexample has versions of 4 html components so I think is ok,
even if I remove the use of the 4 controls and left the application with
only a view it behaves the same
--
Carlos Rovira
http://about.me/carlosrovira
Re: Trying to build SWF version
Posted by Carlos Rovira <ca...@apache.org>.
Right!, I remember use "theme" scope in normal flex apps, but is great to
get it in royale as well, since this make us to be a bit more near to what
flex was :)
2018-02-24 17:57 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> FTR, most of the work (using the dependency list and scope 'theme') was
> done by Christofer Dutz. It just needed to be hooked up to the app
> template.
>
> -Alex
>
> On 2/24/18, 8:22 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
> >Hi Alex,
> >
> >just moved vivid theme to themes folder and change dependency to "theme",
> >so cool!
> >
> >Thanks for making this change! :)
> >
> >2018-02-24 16:36 GMT+01:00 Carlos Rovira <ca...@apache.org>:
> >
> >> Hi,
> >>
> >> thanks! that make the trick I was missing:
> >>
> >> <dependency>
> >> <groupId>com.adobe.flash.framework</groupId>
> >> <artifactId>playerglobal</artifactId>
> >> <version>${flash.version}</version>
> >> <type>swc</type>
> >> <scope>provided</scope>
> >> </dependency>
> >>
> >> I'll be moving vivid theme to themes soon, maybe even with a change of
> >> name I was thinking. But this better go in other thread
> >>
> >> Thanks
> >>
> >>
> >> 2018-02-23 21:26 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
> >>
> >>> Weird. Do you have playerglobal here
> >>> -> .m2\repository\com\adobe\flash\framework\playerglobal\ ?
> >>>
> >>> 2018-02-23 21:08 GMT+01:00 Carlos Rovira <ca...@apache.org>:
> >>>
> >>> > Hi,
> >>> >
> >>> > since Alex made changes to how builds are done I always make JS
> >>>version.
> >>> > Now I'm trying to make SWF version with maven
> >>> >
> >>> > With vivid, as is a library I think I don't have to make anything,
> >>>since
> >>> > the output is an SWC
> >>> >
> >>> > with VividExample I change in pom.xml <targets>JSRoyale</targets>
> >>> > to <targets>JSRoyale, SWF</targets>, or even removing JSRoyale at all
> >>> >
> >>> > if I put only SWF in targets my result in console is:
> >>> >
> >>> > Loading configuration:
> >>> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/
> >>> > examples/royale/VividExample/target/compile-app-
> >>> > config.xml
> >>> >
> >>> > Error: Missing builtin type Object
> >>> >
> >>> >
> >>> > Error: Unable to build SWF
> >>> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/
> >>> > examples/royale/VividExample/target/VividExample-
> >>> > 0.9.2-SNAPSHOT.swf
> >>> >
> >>> > What could be the problem here? what is the missing object, could the
> >>> > compiler let us know what missing object expect?
> >>> >
> >>> > Right now vividexample has versions of 4 html components so I think
> >>>is
> >>> ok,
> >>> > even if I remove the use of the 4 controls and left the application
> >>>with
> >>> > only a view it behaves the same
> >>> >
> >>> >
> >>> > --
> >>> > Carlos Rovira
> >>> >
> >>>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me
> >>>%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C568aaf11b98642e5934d
> >>>08d57ba2d1ed%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C63655086159875
> >>>1539&sdata=au6vJwiyB9Vm5fcFWfyvnsIvTUoygmisgtVqIC7QuTY%3D&reserved=0
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>>
> >>> Piotr Zarzycki
> >>>
> >>> Patreon:
> >>>*https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pa
> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7C568aaf11b9
> >>>8642e5934d08d57ba2d1ed%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365
> >>>50861598751539&sdata=eJY9T7eAj95IxaiuwPfwdDlbUotegL
> 3cQ%2BhnvOk9%2F48%3D&
> >>>reserved=0
> >>>
> >>><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.pa
> >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
> %7C568aaf11b9
> >>>8642e5934d08d57ba2d1ed%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365
> >>>50861598751539&sdata=eJY9T7eAj95IxaiuwPfwdDlbUotegL
> 3cQ%2BhnvOk9%2F48%3D&
> >>>reserved=0>*
> >>>
> >>
> >>
> >>
> >> --
> >> Carlos Rovira
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%
> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C568aaf11b98642e5934d08
> >>d57ba2d1ed%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C63655086159875153
> >>9&sdata=au6vJwiyB9Vm5fcFWfyvnsIvTUoygmisgtVqIC7QuTY%3D&reserved=0
> >>
> >>
> >
> >
> >--
> >Carlos Rovira
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%2
> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C568aaf11b98642e5934d08d5
> >7ba2d1ed%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636550861598751539&s
> >data=au6vJwiyB9Vm5fcFWfyvnsIvTUoygmisgtVqIC7QuTY%3D&reserved=0
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Trying to build SWF version
Posted by Alex Harui <ah...@adobe.com.INVALID>.
FTR, most of the work (using the dependency list and scope 'theme') was
done by Christofer Dutz. It just needed to be hooked up to the app
template.
-Alex
On 2/24/18, 8:22 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>Hi Alex,
>
>just moved vivid theme to themes folder and change dependency to "theme",
>so cool!
>
>Thanks for making this change! :)
>
>2018-02-24 16:36 GMT+01:00 Carlos Rovira <ca...@apache.org>:
>
>> Hi,
>>
>> thanks! that make the trick I was missing:
>>
>> <dependency>
>> <groupId>com.adobe.flash.framework</groupId>
>> <artifactId>playerglobal</artifactId>
>> <version>${flash.version}</version>
>> <type>swc</type>
>> <scope>provided</scope>
>> </dependency>
>>
>> I'll be moving vivid theme to themes soon, maybe even with a change of
>> name I was thinking. But this better go in other thread
>>
>> Thanks
>>
>>
>> 2018-02-23 21:26 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>
>>> Weird. Do you have playerglobal here
>>> -> .m2\repository\com\adobe\flash\framework\playerglobal\ ?
>>>
>>> 2018-02-23 21:08 GMT+01:00 Carlos Rovira <ca...@apache.org>:
>>>
>>> > Hi,
>>> >
>>> > since Alex made changes to how builds are done I always make JS
>>>version.
>>> > Now I'm trying to make SWF version with maven
>>> >
>>> > With vivid, as is a library I think I don't have to make anything,
>>>since
>>> > the output is an SWC
>>> >
>>> > with VividExample I change in pom.xml <targets>JSRoyale</targets>
>>> > to <targets>JSRoyale, SWF</targets>, or even removing JSRoyale at all
>>> >
>>> > if I put only SWF in targets my result in console is:
>>> >
>>> > Loading configuration:
>>> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/
>>> > examples/royale/VividExample/target/compile-app-
>>> > config.xml
>>> >
>>> > Error: Missing builtin type Object
>>> >
>>> >
>>> > Error: Unable to build SWF
>>> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/
>>> > examples/royale/VividExample/target/VividExample-
>>> > 0.9.2-SNAPSHOT.swf
>>> >
>>> > What could be the problem here? what is the missing object, could the
>>> > compiler let us know what missing object expect?
>>> >
>>> > Right now vividexample has versions of 4 html components so I think
>>>is
>>> ok,
>>> > even if I remove the use of the 4 controls and left the application
>>>with
>>> > only a view it behaves the same
>>> >
>>> >
>>> > --
>>> > Carlos Rovira
>>> >
>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me
>>>%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C568aaf11b98642e5934d
>>>08d57ba2d1ed%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63655086159875
>>>1539&sdata=au6vJwiyB9Vm5fcFWfyvnsIvTUoygmisgtVqIC7QuTY%3D&reserved=0
>>> >
>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon:
>>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pa
>>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C568aaf11b9
>>>8642e5934d08d57ba2d1ed%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
>>>50861598751539&sdata=eJY9T7eAj95IxaiuwPfwdDlbUotegL3cQ%2BhnvOk9%2F48%3D&
>>>reserved=0
>>>
>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pa
>>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C568aaf11b9
>>>8642e5934d08d57ba2d1ed%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
>>>50861598751539&sdata=eJY9T7eAj95IxaiuwPfwdDlbUotegL3cQ%2BhnvOk9%2F48%3D&
>>>reserved=0>*
>>>
>>
>>
>>
>> --
>> Carlos Rovira
>>
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%
>>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C568aaf11b98642e5934d08
>>d57ba2d1ed%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63655086159875153
>>9&sdata=au6vJwiyB9Vm5fcFWfyvnsIvTUoygmisgtVqIC7QuTY%3D&reserved=0
>>
>>
>
>
>--
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C568aaf11b98642e5934d08d5
>7ba2d1ed%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636550861598751539&s
>data=au6vJwiyB9Vm5fcFWfyvnsIvTUoygmisgtVqIC7QuTY%3D&reserved=0
Re: Trying to build SWF version
Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,
just moved vivid theme to themes folder and change dependency to "theme",
so cool!
Thanks for making this change! :)
2018-02-24 16:36 GMT+01:00 Carlos Rovira <ca...@apache.org>:
> Hi,
>
> thanks! that make the trick I was missing:
>
> <dependency>
> <groupId>com.adobe.flash.framework</groupId>
> <artifactId>playerglobal</artifactId>
> <version>${flash.version}</version>
> <type>swc</type>
> <scope>provided</scope>
> </dependency>
>
> I'll be moving vivid theme to themes soon, maybe even with a change of
> name I was thinking. But this better go in other thread
>
> Thanks
>
>
> 2018-02-23 21:26 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
>> Weird. Do you have playerglobal here
>> -> .m2\repository\com\adobe\flash\framework\playerglobal\ ?
>>
>> 2018-02-23 21:08 GMT+01:00 Carlos Rovira <ca...@apache.org>:
>>
>> > Hi,
>> >
>> > since Alex made changes to how builds are done I always make JS version.
>> > Now I'm trying to make SWF version with maven
>> >
>> > With vivid, as is a library I think I don't have to make anything, since
>> > the output is an SWC
>> >
>> > with VividExample I change in pom.xml <targets>JSRoyale</targets>
>> > to <targets>JSRoyale, SWF</targets>, or even removing JSRoyale at all
>> >
>> > if I put only SWF in targets my result in console is:
>> >
>> > Loading configuration:
>> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/
>> > examples/royale/VividExample/target/compile-app-
>> > config.xml
>> >
>> > Error: Missing builtin type Object
>> >
>> >
>> > Error: Unable to build SWF
>> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/
>> > examples/royale/VividExample/target/VividExample-
>> > 0.9.2-SNAPSHOT.swf
>> >
>> > What could be the problem here? what is the missing object, could the
>> > compiler let us know what missing object expect?
>> >
>> > Right now vividexample has versions of 4 html components so I think is
>> ok,
>> > even if I remove the use of the 4 controls and left the application with
>> > only a view it behaves the same
>> >
>> >
>> > --
>> > Carlos Rovira
>> > http://about.me/carlosrovira
>> >
>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Trying to build SWF version
Posted by Carlos Rovira <ca...@apache.org>.
Hi,
thanks! that make the trick I was missing:
<dependency>
<groupId>com.adobe.flash.framework</groupId>
<artifactId>playerglobal</artifactId>
<version>${flash.version}</version>
<type>swc</type>
<scope>provided</scope>
</dependency>
I'll be moving vivid theme to themes soon, maybe even with a change of name
I was thinking. But this better go in other thread
Thanks
2018-02-23 21:26 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
> Weird. Do you have playerglobal here
> -> .m2\repository\com\adobe\flash\framework\playerglobal\ ?
>
> 2018-02-23 21:08 GMT+01:00 Carlos Rovira <ca...@apache.org>:
>
> > Hi,
> >
> > since Alex made changes to how builds are done I always make JS version.
> > Now I'm trying to make SWF version with maven
> >
> > With vivid, as is a library I think I don't have to make anything, since
> > the output is an SWC
> >
> > with VividExample I change in pom.xml <targets>JSRoyale</targets>
> > to <targets>JSRoyale, SWF</targets>, or even removing JSRoyale at all
> >
> > if I put only SWF in targets my result in console is:
> >
> > Loading configuration:
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/
> > examples/royale/VividExample/target/compile-app-
> > config.xml
> >
> > Error: Missing builtin type Object
> >
> >
> > Error: Unable to build SWF
> > /Users/carlosrovira/Dev/Royale/Source/royale-asjs/
> > examples/royale/VividExample/target/VividExample-
> > 0.9.2-SNAPSHOT.swf
> >
> > What could be the problem here? what is the missing object, could the
> > compiler let us know what missing object expect?
> >
> > Right now vividexample has versions of 4 html components so I think is
> ok,
> > even if I remove the use of the 4 controls and left the application with
> > only a view it behaves the same
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Trying to build SWF version
Posted by Piotr Zarzycki <pi...@gmail.com>.
Weird. Do you have playerglobal here
-> .m2\repository\com\adobe\flash\framework\playerglobal\ ?
2018-02-23 21:08 GMT+01:00 Carlos Rovira <ca...@apache.org>:
> Hi,
>
> since Alex made changes to how builds are done I always make JS version.
> Now I'm trying to make SWF version with maven
>
> With vivid, as is a library I think I don't have to make anything, since
> the output is an SWC
>
> with VividExample I change in pom.xml <targets>JSRoyale</targets>
> to <targets>JSRoyale, SWF</targets>, or even removing JSRoyale at all
>
> if I put only SWF in targets my result in console is:
>
> Loading configuration:
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/
> examples/royale/VividExample/target/compile-app-
> config.xml
>
> Error: Missing builtin type Object
>
>
> Error: Unable to build SWF
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/
> examples/royale/VividExample/target/VividExample-
> 0.9.2-SNAPSHOT.swf
>
> What could be the problem here? what is the missing object, could the
> compiler let us know what missing object expect?
>
> Right now vividexample has versions of 4 html components so I think is ok,
> even if I remove the use of the 4 controls and left the application with
> only a view it behaves the same
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: Trying to build SWF version
Posted by Alex Harui <ah...@adobe.com.INVALID>.
You need to specify playerglobal or airglobal depending the SWF you want
to build.
Look for playerglobal dependency in DataBindingExample/pom.xml and copy
that. It isn't there by default in a parent pom.
BTW, I just pushed Maven support for turning basic.css into a theme. You
might want to move VividBlueTheme to frameworks/themes and set it up and
use it the same way. Then you don't need additionalcompileroptions in the
VividExample's pom.xml and can just declare VividBlueTheme with scope
theme in the dependency list. See DataBindingExample in the develop
branch.
HTH,
-Alex
On 2/23/18, 12:08 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>Hi,
>
>since Alex made changes to how builds are done I always make JS version.
>Now I'm trying to make SWF version with maven
>
>With vivid, as is a library I think I don't have to make anything, since
>the output is an SWC
>
>with VividExample I change in pom.xml <targets>JSRoyale</targets>
>to <targets>JSRoyale, SWF</targets>, or even removing JSRoyale at all
>
>if I put only SWF in targets my result in console is:
>
>Loading configuration:
>/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/VividExa
>mple/target/compile-app-
>config.xml
>
>Error: Missing builtin type Object
>
>
>Error: Unable to build SWF
>/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/VividExa
>mple/target/VividExample-
>0.9.2-SNAPSHOT.swf
>
>What could be the problem here? what is the missing object, could the
>compiler let us know what missing object expect?
>
>Right now vividexample has versions of 4 html components so I think is ok,
>even if I remove the use of the 4 controls and left the application with
>only a view it behaves the same
>
>
>--
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C07a8831ad3fb4bc0358608d5
>7af94fc1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636550133566939473&s
>data=uGRMd%2Bqg8VWEp64rrXjaG%2FUwA9ZSHxSAXvGfDbkgqvI%3D&reserved=0