You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Idylog - Nicolas Granon <ng...@idylog.com> on 2017/10/25 18:22:08 UTC

Apache Royale 0.9 setup

I would like to setup a Apache Royale 0.9 environment.
I do not want to build it, just get the bin distribution.
I have FlashBuilder setup (Windows).
I am not interested in SWF output, just JS.

1. Where is the latest bin distribution ? On Jenkins there are
"royale-asjs", "royale-asjs-only", "royale-asjs-rename" projects... Which is
the correct one ?

2. I have grabbed "apache-royale-0.9.0-bin.zip" from "royale-asjs-rename".
After unzipping, should I launch any ant task or is it "ready for use" ?

3. I have noticed that in "royale-sdk-description.xml" (in the root dir) the
opening tag (<flex-sdk-description>) and closing tag
(</royale-sdk-description>) do not match

4 In Flashbuilder, you cannot "install" the SDK (it did work with FlexJS v
0.8). youget the following error : "Directory does not contain a Flex SDK".
I have tried to copy and rename "royale-sdk-description.xml" as
"flex-sdk-description.xml" and corrected the closing tag (now
</flex-sdk-description>) but still no luck. What am I missing ?

5 What about environment variables (Windows) ?

Many thanks in advance

Nicolas Granon


RE: Apache Royale 0.9 setup

Posted by Idylog - Nicolas Granon <ng...@idylog.com>.
Well, I finally could build a sample app (kind of 'hello world') with Royale asjs 0.9.0, FlashBuilder 4.7 on Windows.

Please review my previous message for how to setup the various parameters of the sdk.

This message is about the setup of FB itself.

1. As was noted in (4) from my previous message, at this point, you have to manually add the frameworks/libs folder to the "build paths" of the project. Otherwise, auto-complete will not work. Hopefully, this will be fixed in a next release as well as the inconsistencies in parameter files.

2. The "Project > settings" > "Flex compiler" > "use a specific sdk" setting should obviously point to the unzipped sdk rot folder

3. If you want the generated js output to go to some specific place, use the "js-output" additional compiler argument followed by the path to the specific directory. You do not need to reference the "bin/js-debug" (the compiler will automatically write the various output file in bin/js-debug, and will create those folders if necessary).
I our case, me make it point to a http server document folder : this allows to check output in the browser as server by a real http server (and not as a file:// url)

4. Do not use the "output folder path" nor the "output folder url" for js output since this one is for swf output only.

5. Setup a "run configuration" pointing to the bin/js-debug folder (and to the index.html file !).

6. After successful compile and run, check that the content of the browser is really the js output and not the swf output !

About root mxml source file :

If you have AS3 code in the main (entry) source mxml, be sure to put it *above* (before) the <js:initialView> opening tag.

Bugs ?

The "applicationComplete" event does not seem to fire, although you can attach an event listener to it... Probably the event fires in swf mode, but not in js mode...

Nicolas Granon



> -----Message d'origine-----
> De : Alex Harui [mailto:aharui@adobe.com]
> Envoyé : samedi 28 octobre 2017 08:57
> À : dev@royale.apache.org; ngranon@idylog.com
> Objet : Re: Apache Royale 0.9 setup
> 
> Hmm.  Not sure why code-assist isn't working.  Looking into it...
> 
> -Alex
> 
> On 10/26/17, 4:25 PM, "Idylog - Nicolas Granon" <ng...@idylog.com>
> wrote:
> 
> >Many thanks for your answer.
> >
> >
> >We have done what you suggest and :
> >Previous errors do not show any more (that is good !)
> >
> >Auto-completion still doesn't not work *at all* (implies that "import"
> >directives are not generated and we cannot compile since of course all
> >interfaces, type definition etc. cannot be found). (and that is not
> >good at all!)
> >
> >The IDE is definitely missing something...
> >
> >Any thought ?
> >Should there be a "flex-typedefs" folder , or a "royale-typedefs"
> >folder ? There is no such folder in the bin archive.
> >
> >Nicolas Granon
> >
> >
> >
> >


Re: Apache Royale 0.9 setup

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hmm.  Not sure why code-assist isn't working.  Looking into it...

-Alex

On 10/26/17, 4:25 PM, "Idylog - Nicolas Granon" <ng...@idylog.com> wrote:

>Many thanks for your answer.
>
>
>We have done what you suggest and :
>Previous errors do not show any more (that is good !)
>
>Auto-completion still doesn't not work *at all* (implies that "import"
>directives are not generated and we cannot compile since of course all
>interfaces, type definition etc. cannot be found). (and that is not good
>at all!)
>
>The IDE is definitely missing something...
>
>Any thought ?
>Should there be a "flex-typedefs" folder , or a "royale-typedefs" folder
>? There is no such folder in the bin archive.
>
>Nicolas Granon
>
>
>
>
>> -----Message d'origine-----
>> De : Alex Harui [mailto:aharui@adobe.com]
>> Envoyé : vendredi 27 octobre 2017 00:02
>> À : ngranon@idylog.com; dev@royale.apache.org
>> Objet : Re: Apache Royale 0.9 setup
>> 
>> Hi Nicolas,
>> 
>> It is up to you as to whether to switch to VSCode or Moonshine.  We are
>> trying to keep FB working for Royale just so there is one less thing to
>> change to get started with Royale, but I expect Moonshine and VSCode to
>> eventually have more productivity features than FB will.
>> 
>> After investigating, I found that the problem was that the flex-
>> config.xml was invalid.  I worked around it by copying royale-
>> config.xml to flex-config.xml and changing the topmost tag in that
>> resulting flex-config.xml from <royale-config>...</royale-config> to
>> <flex-config>...</flex-config>
>> 
>> Then restart FB and see if it works better.
>> 
>> Thanks for working with us as we get the kinks out, -Alex
>> 
>> On 10/26/17, 6:27 AM, "Idylog - Nicolas Granon" <ng...@idylog.com>
>> wrote:
>> 
>> >Thank you.
>> >If you think it's best to switch to VSCode or another editor, let us
>> know.
>> >
>> >Nicolas Granon
>> >
>> >
>> >
>> >> -----Message d'origine-----
>> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : jeudi 26 octobre
>> >> 2017 08:05 À : dev@royale.apache.org; ngranon@idylog.com Objet : Re:
>> >> Apache Royale 0.9 setup
>> >>
>> >> I can reproduce it.  Looking into it.
>> >>
>> >> -Alex
>> >>
>> >> On 10/25/17, 10:22 PM, "Yishay Weiss" <yi...@hotmail.com>
>> wrote:
>> >>
>> >> >Hi,
>> >> >
>> >> >Can you put an fxp somewhere so I can have a look?
>> >> >
>> >> >Thanks,
>> >> >Yishay
>> >> >
>> >> >From: Idylog - Nicolas Granon<ma...@idylog.com>
>> >> >Sent: Thursday, October 26, 2017 1:05 AM
>> >> >To: dev@royale.apache.org<ma...@royale.apache.org>
>> >> >Subject: RE: Apache Royale 0.9 setup
>> >> >
>> >> >I had only one namespace reference (it is a very small project!).
>> >> >Changed it as you say.
>> >> >Same result (same errors and autocomplete not working at all)
>> >> >
>> >> >Also noticed that syntax checking is not working anymore.
>> >> >
>> >> >Clearly, IDE is missing some link to syntax definitions...
>> >> >
>> >> >(tries to "clean project" : same result) (tries to close and reopen
>> >> >project : same result) (tried to close and restart IDE : same
>> >> >result)
>> >> >
>> >> >Also, there was a "flex-typedefs" folder in flexJS 0.8 but no such
>> >> >folder in
>> >> >0.9 (and no royale-typedefs).
>> >> >
>> >> >Nicolas Granon
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >> -----Message d'origine-----
>> >> >> De : Peter Ent [mailto:pent@adobe.com.INVALID] Envoyé : mercredi
>> >> >> 25 octobre 2017 23:40 À : dev@royale.apache.org;
>> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> Yes - change all "flex" and "flexjs" to "royale". So the
>> namespace
>> >> >> will have "ns.apache.org/royale/basic".
>> >> >>
>> >> >> ‹peter
>> >> >>
>> >> >> On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon"
>> >> >> <ng...@idylog.com>
>> >> >> wrote:
>> >> >>
>> >> >> >Hi Alex,
>> >> >> >
>> >> >> >After downloading "apache.royale-jsonly-0.9.0-bin.zip" and
>> >> >> >unzipping, the "root" directory was accepted by flashbuilder as
>> a
>> >> SDK directory.
>> >> >> >
>> >> >> >However my "stub" project now gives the following compile errors
>> :
>> >> >> >"internal error in file scope builder subsystem when generating
>> >> >> >(path to my project base mxml file) :
>> >> java.lang.nullpointerexception
>> >> >> Followed
>> >> >> >by two other errors (internal error in outgoing dependency
>> >> subsystem
>> >> >> >and internel error in syntax tree subsystem)
>> >> >> >
>> >> >> >Also, auto completion does not work anymore (I have deleted old
>> >> >> imports
>> >> >> >like "import org.apache.flex.html.alert" because I suspected
>> that
>> >> >> >the "flex.html.alert" path was obsolete, but now, Flashbuilder
>> >> >> >cannot find Alert through autocomplete and thus cannot
>> >> automatically
>> >> >> >insert the correct import statement. The same for all classes
>> >> >> >(autocomplete shows "no suggestion")
>> >> >> >
>> >> >> >Something is missing somewhere...!
>> >> >> >
>> >> >> >Should I modify the namespace declarations
>> >> >> >"xmlns:js="library://ns.apache.org/flexjs/basic" ??
>> >> >> >
>> >> >> >Nicolas Granon
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >> -----Message d'origine-----
>> >> >> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : mercredi 25
>> >> >> >> octobre 2017 23:04 À : dev@royale.apache.org;
>> >> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
>> >> >> >>
>> >> >> >> Hi Nicolas,
>> >> >> >>
>> >> >> >> Yeah, we are still fixing bugs after trying to rename
>> everything.
>> >> >> >> I was able to start with:
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapa
>> >> >> >>ch
>> >> >> e
>> >> >> >>fle
>> >> >> >>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-
>> >> >> &data=02%7C01%7C%7C7f61
>> >> >> >>d36
>> >> >>
>> >>
>> >>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C
>> >> >> >>0%
>> >> >> 7
>> >> >> >>C63
>> >> >>
>> >>
>> >>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%
>> >> >> >>3D
>> >> >> &
>> >> >> >>res
>> >> >> >>erved=0
>> >> >> >> jsonly/lastSuccess
>> >> >> >> fulBuild/artifact/out/
>> >> >> >>
>> >> >> >> And rename royale-sdk-description.xml to
>> >> >> >> flex-sdk-description.xml
>> >> >> and
>> >> >> >> change the closing tag to be flex-sdk-description and FB
>> >> >> >> accepted that as an SDK on my Mac.
>> >> >> >>
>> >> >> >> HTH,
>> >> >> >> -Alex
>> >> >> >>
>> >> >> >> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon"
>> >> >> <ng...@idylog.com>
>> >> >> >> wrote:
>> >> >> >>
>> >> >> >> >I would like to setup a Apache Royale 0.9 environment.
>> >> >> >> >I do not want to build it, just get the bin distribution.
>> >> >> >> >I have FlashBuilder setup (Windows).
>> >> >> >> >I am not interested in SWF output, just JS.
>> >> >> >> >
>> >> >> >> >1. Where is the latest bin distribution ? On Jenkins there
>> are
>> >> >> >> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename"
>> >> projects...
>> >> >> >> >Which is the correct one ?
>> >> >> >> >
>> >> >> >> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from
>> >> >> >> >"royale-asjs-
>> >> >> >> rename".
>> >> >> >> >After unzipping, should I launch any ant task or is it "ready
>> >> for
>> >> >> use"
>> >> >> >> ?
>> >> >> >> >
>> >> >> >> >3. I have noticed that in "royale-sdk-description.xml" (in
>> the
>> >> >> >> >root
>> >> >> >> >dir) the opening tag (<flex-sdk-description>) and closing tag
>> >> >> >> >(</royale-sdk-description>) do not match
>> >> >> >> >
>> >> >> >> >4 In Flashbuilder, you cannot "install" the SDK (it did work
>> >> with
>> >> >> >> >FlexJS v 0.8). youget the following error : "Directory does
>> >> >> >> >not
>> >> >> >> contain
>> >> >> >> >a Flex SDK".
>> >> >> >> >I have tried to copy and rename "royale-sdk-description.xml"
>> >> >> >> >as "flex-sdk-description.xml" and corrected the closing tag
>> >> >> >> >(now
>> >> >> >> ></flex-sdk-description>) but still no luck. What am I missing
>> ?
>> >> >> >> >
>> >> >> >> >5 What about environment variables (Windows) ?
>> >> >> >> >
>> >> >> >> >Many thanks in advance
>> >> >> >> >
>> >> >> >> >Nicolas Granon
>> >> >> >> >
>> >> >> >
>> >> >> >
>> >> >
>> >> >
>> >
>> >
>
>


Re: Apache Royale 0.9 setup

Posted by Piotr Zarzycki <pi...@gmail.com>.
Hi,

In case of Moonshine there are plans to add support, but don't know for
sure when [1], and I saw that Josh also has such ticket [2]

[1] https://github.com/prominic/Moonshine-IDE/issues/50
[2] https://github.com/BowlerHatLLC/vscode-nextgenas/issues/144

Thanks,
Piotr


2017-10-27 1:25 GMT+02:00 Idylog - Nicolas Granon <ng...@idylog.com>:

> Many thanks for your answer.
>
>
> We have done what you suggest and :
> Previous errors do not show any more (that is good !)
>
> Auto-completion still doesn't not work *at all* (implies that "import"
> directives are not generated and we cannot compile since of course all
> interfaces, type definition etc. cannot be found). (and that is not good at
> all!)
>
> The IDE is definitely missing something...
>
> Any thought ?
> Should there be a "flex-typedefs" folder , or a "royale-typedefs" folder ?
> There is no such folder in the bin archive.
>
> Nicolas Granon
>
>
>
>
> > -----Message d'origine-----
> > De : Alex Harui [mailto:aharui@adobe.com]
> > Envoyé : vendredi 27 octobre 2017 00:02
> > À : ngranon@idylog.com; dev@royale.apache.org
> > Objet : Re: Apache Royale 0.9 setup
> >
> > Hi Nicolas,
> >
> > It is up to you as to whether to switch to VSCode or Moonshine.  We are
> > trying to keep FB working for Royale just so there is one less thing to
> > change to get started with Royale, but I expect Moonshine and VSCode to
> > eventually have more productivity features than FB will.
> >
> > After investigating, I found that the problem was that the flex-
> > config.xml was invalid.  I worked around it by copying royale-
> > config.xml to flex-config.xml and changing the topmost tag in that
> > resulting flex-config.xml from <royale-config>...</royale-config> to
> > <flex-config>...</flex-config>
> >
> > Then restart FB and see if it works better.
> >
> > Thanks for working with us as we get the kinks out, -Alex
> >
> > On 10/26/17, 6:27 AM, "Idylog - Nicolas Granon" <ng...@idylog.com>
> > wrote:
> >
> > >Thank you.
> > >If you think it's best to switch to VSCode or another editor, let us
> > know.
> > >
> > >Nicolas Granon
> > >
> > >
> > >
> > >> -----Message d'origine-----
> > >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : jeudi 26 octobre
> > >> 2017 08:05 À : dev@royale.apache.org; ngranon@idylog.com Objet : Re:
> > >> Apache Royale 0.9 setup
> > >>
> > >> I can reproduce it.  Looking into it.
> > >>
> > >> -Alex
> > >>
> > >> On 10/25/17, 10:22 PM, "Yishay Weiss" <yi...@hotmail.com>
> > wrote:
> > >>
> > >> >Hi,
> > >> >
> > >> >Can you put an fxp somewhere so I can have a look?
> > >> >
> > >> >Thanks,
> > >> >Yishay
> > >> >
> > >> >From: Idylog - Nicolas Granon<ma...@idylog.com>
> > >> >Sent: Thursday, October 26, 2017 1:05 AM
> > >> >To: dev@royale.apache.org<ma...@royale.apache.org>
> > >> >Subject: RE: Apache Royale 0.9 setup
> > >> >
> > >> >I had only one namespace reference (it is a very small project!).
> > >> >Changed it as you say.
> > >> >Same result (same errors and autocomplete not working at all)
> > >> >
> > >> >Also noticed that syntax checking is not working anymore.
> > >> >
> > >> >Clearly, IDE is missing some link to syntax definitions...
> > >> >
> > >> >(tries to "clean project" : same result) (tries to close and reopen
> > >> >project : same result) (tried to close and restart IDE : same
> > >> >result)
> > >> >
> > >> >Also, there was a "flex-typedefs" folder in flexJS 0.8 but no such
> > >> >folder in
> > >> >0.9 (and no royale-typedefs).
> > >> >
> > >> >Nicolas Granon
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >> -----Message d'origine-----
> > >> >> De : Peter Ent [mailto:pent@adobe.com.INVALID] Envoyé : mercredi
> > >> >> 25 octobre 2017 23:40 À : dev@royale.apache.org;
> > >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
> > >> >>
> > >> >> Hi,
> > >> >>
> > >> >> Yes - change all "flex" and "flexjs" to "royale". So the
> > namespace
> > >> >> will have "ns.apache.org/royale/basic".
> > >> >>
> > >> >> ‹peter
> > >> >>
> > >> >> On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon"
> > >> >> <ng...@idylog.com>
> > >> >> wrote:
> > >> >>
> > >> >> >Hi Alex,
> > >> >> >
> > >> >> >After downloading "apache.royale-jsonly-0.9.0-bin.zip" and
> > >> >> >unzipping, the "root" directory was accepted by flashbuilder as
> > a
> > >> SDK directory.
> > >> >> >
> > >> >> >However my "stub" project now gives the following compile errors
> > :
> > >> >> >"internal error in file scope builder subsystem when generating
> > >> >> >(path to my project base mxml file) :
> > >> java.lang.nullpointerexception
> > >> >> Followed
> > >> >> >by two other errors (internal error in outgoing dependency
> > >> subsystem
> > >> >> >and internel error in syntax tree subsystem)
> > >> >> >
> > >> >> >Also, auto completion does not work anymore (I have deleted old
> > >> >> imports
> > >> >> >like "import org.apache.flex.html.alert" because I suspected
> > that
> > >> >> >the "flex.html.alert" path was obsolete, but now, Flashbuilder
> > >> >> >cannot find Alert through autocomplete and thus cannot
> > >> automatically
> > >> >> >insert the correct import statement. The same for all classes
> > >> >> >(autocomplete shows "no suggestion")
> > >> >> >
> > >> >> >Something is missing somewhere...!
> > >> >> >
> > >> >> >Should I modify the namespace declarations
> > >> >> >"xmlns:js="library://ns.apache.org/flexjs/basic" ??
> > >> >> >
> > >> >> >Nicolas Granon
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> >> -----Message d'origine-----
> > >> >> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : mercredi 25
> > >> >> >> octobre 2017 23:04 À : dev@royale.apache.org;
> > >> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
> > >> >> >>
> > >> >> >> Hi Nicolas,
> > >> >> >>
> > >> >> >> Yeah, we are still fixing bugs after trying to rename
> > everything.
> > >> >> >> I was able to start with:
> > >> >> >>
> > >> >> >>
> > >> >>
> > >>
> > >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapa
> > >> >> >>ch
> > >> >> e
> > >> >> >>fle
> > >> >> >>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-
> > >> >> &data=02%7C01%7C%7C7f61
> > >> >> >>d36
> > >> >>
> > >>
> > >>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C
> > >> >> >>0%
> > >> >> 7
> > >> >> >>C63
> > >> >>
> > >>
> > >>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%
> > >> >> >>3D
> > >> >> &
> > >> >> >>res
> > >> >> >>erved=0
> > >> >> >> jsonly/lastSuccess
> > >> >> >> fulBuild/artifact/out/
> > >> >> >>
> > >> >> >> And rename royale-sdk-description.xml to
> > >> >> >> flex-sdk-description.xml
> > >> >> and
> > >> >> >> change the closing tag to be flex-sdk-description and FB
> > >> >> >> accepted that as an SDK on my Mac.
> > >> >> >>
> > >> >> >> HTH,
> > >> >> >> -Alex
> > >> >> >>
> > >> >> >> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon"
> > >> >> <ng...@idylog.com>
> > >> >> >> wrote:
> > >> >> >>
> > >> >> >> >I would like to setup a Apache Royale 0.9 environment.
> > >> >> >> >I do not want to build it, just get the bin distribution.
> > >> >> >> >I have FlashBuilder setup (Windows).
> > >> >> >> >I am not interested in SWF output, just JS.
> > >> >> >> >
> > >> >> >> >1. Where is the latest bin distribution ? On Jenkins there
> > are
> > >> >> >> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename"
> > >> projects...
> > >> >> >> >Which is the correct one ?
> > >> >> >> >
> > >> >> >> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from
> > >> >> >> >"royale-asjs-
> > >> >> >> rename".
> > >> >> >> >After unzipping, should I launch any ant task or is it "ready
> > >> for
> > >> >> use"
> > >> >> >> ?
> > >> >> >> >
> > >> >> >> >3. I have noticed that in "royale-sdk-description.xml" (in
> > the
> > >> >> >> >root
> > >> >> >> >dir) the opening tag (<flex-sdk-description>) and closing tag
> > >> >> >> >(</royale-sdk-description>) do not match
> > >> >> >> >
> > >> >> >> >4 In Flashbuilder, you cannot "install" the SDK (it did work
> > >> with
> > >> >> >> >FlexJS v 0.8). youget the following error : "Directory does
> > >> >> >> >not
> > >> >> >> contain
> > >> >> >> >a Flex SDK".
> > >> >> >> >I have tried to copy and rename "royale-sdk-description.xml"
> > >> >> >> >as "flex-sdk-description.xml" and corrected the closing tag
> > >> >> >> >(now
> > >> >> >> ></flex-sdk-description>) but still no luck. What am I missing
> > ?
> > >> >> >> >
> > >> >> >> >5 What about environment variables (Windows) ?
> > >> >> >> >
> > >> >> >> >Many thanks in advance
> > >> >> >> >
> > >> >> >> >Nicolas Granon
> > >> >> >> >
> > >> >> >
> > >> >> >
> > >> >
> > >> >
> > >
> > >
>
>
>


-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>

GitHub: https://github.com/piotrzarzycki21

RE: Apache Royale 0.9 setup

Posted by Idylog - Nicolas Granon <ng...@idylog.com>.
Many thanks for your answer.


We have done what you suggest and :
Previous errors do not show any more (that is good !)

Auto-completion still doesn't not work *at all* (implies that "import" directives are not generated and we cannot compile since of course all interfaces, type definition etc. cannot be found). (and that is not good at all!)

The IDE is definitely missing something...

Any thought ?
Should there be a "flex-typedefs" folder , or a "royale-typedefs" folder ? There is no such folder in the bin archive.

Nicolas Granon




> -----Message d'origine-----
> De : Alex Harui [mailto:aharui@adobe.com]
> Envoyé : vendredi 27 octobre 2017 00:02
> À : ngranon@idylog.com; dev@royale.apache.org
> Objet : Re: Apache Royale 0.9 setup
> 
> Hi Nicolas,
> 
> It is up to you as to whether to switch to VSCode or Moonshine.  We are
> trying to keep FB working for Royale just so there is one less thing to
> change to get started with Royale, but I expect Moonshine and VSCode to
> eventually have more productivity features than FB will.
> 
> After investigating, I found that the problem was that the flex-
> config.xml was invalid.  I worked around it by copying royale-
> config.xml to flex-config.xml and changing the topmost tag in that
> resulting flex-config.xml from <royale-config>...</royale-config> to
> <flex-config>...</flex-config>
> 
> Then restart FB and see if it works better.
> 
> Thanks for working with us as we get the kinks out, -Alex
> 
> On 10/26/17, 6:27 AM, "Idylog - Nicolas Granon" <ng...@idylog.com>
> wrote:
> 
> >Thank you.
> >If you think it's best to switch to VSCode or another editor, let us
> know.
> >
> >Nicolas Granon
> >
> >
> >
> >> -----Message d'origine-----
> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : jeudi 26 octobre
> >> 2017 08:05 À : dev@royale.apache.org; ngranon@idylog.com Objet : Re:
> >> Apache Royale 0.9 setup
> >>
> >> I can reproduce it.  Looking into it.
> >>
> >> -Alex
> >>
> >> On 10/25/17, 10:22 PM, "Yishay Weiss" <yi...@hotmail.com>
> wrote:
> >>
> >> >Hi,
> >> >
> >> >Can you put an fxp somewhere so I can have a look?
> >> >
> >> >Thanks,
> >> >Yishay
> >> >
> >> >From: Idylog - Nicolas Granon<ma...@idylog.com>
> >> >Sent: Thursday, October 26, 2017 1:05 AM
> >> >To: dev@royale.apache.org<ma...@royale.apache.org>
> >> >Subject: RE: Apache Royale 0.9 setup
> >> >
> >> >I had only one namespace reference (it is a very small project!).
> >> >Changed it as you say.
> >> >Same result (same errors and autocomplete not working at all)
> >> >
> >> >Also noticed that syntax checking is not working anymore.
> >> >
> >> >Clearly, IDE is missing some link to syntax definitions...
> >> >
> >> >(tries to "clean project" : same result) (tries to close and reopen
> >> >project : same result) (tried to close and restart IDE : same
> >> >result)
> >> >
> >> >Also, there was a "flex-typedefs" folder in flexJS 0.8 but no such
> >> >folder in
> >> >0.9 (and no royale-typedefs).
> >> >
> >> >Nicolas Granon
> >> >
> >> >
> >> >
> >> >
> >> >> -----Message d'origine-----
> >> >> De : Peter Ent [mailto:pent@adobe.com.INVALID] Envoyé : mercredi
> >> >> 25 octobre 2017 23:40 À : dev@royale.apache.org;
> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
> >> >>
> >> >> Hi,
> >> >>
> >> >> Yes - change all "flex" and "flexjs" to "royale". So the
> namespace
> >> >> will have "ns.apache.org/royale/basic".
> >> >>
> >> >> ‹peter
> >> >>
> >> >> On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon"
> >> >> <ng...@idylog.com>
> >> >> wrote:
> >> >>
> >> >> >Hi Alex,
> >> >> >
> >> >> >After downloading "apache.royale-jsonly-0.9.0-bin.zip" and
> >> >> >unzipping, the "root" directory was accepted by flashbuilder as
> a
> >> SDK directory.
> >> >> >
> >> >> >However my "stub" project now gives the following compile errors
> :
> >> >> >"internal error in file scope builder subsystem when generating
> >> >> >(path to my project base mxml file) :
> >> java.lang.nullpointerexception
> >> >> Followed
> >> >> >by two other errors (internal error in outgoing dependency
> >> subsystem
> >> >> >and internel error in syntax tree subsystem)
> >> >> >
> >> >> >Also, auto completion does not work anymore (I have deleted old
> >> >> imports
> >> >> >like "import org.apache.flex.html.alert" because I suspected
> that
> >> >> >the "flex.html.alert" path was obsolete, but now, Flashbuilder
> >> >> >cannot find Alert through autocomplete and thus cannot
> >> automatically
> >> >> >insert the correct import statement. The same for all classes
> >> >> >(autocomplete shows "no suggestion")
> >> >> >
> >> >> >Something is missing somewhere...!
> >> >> >
> >> >> >Should I modify the namespace declarations
> >> >> >"xmlns:js="library://ns.apache.org/flexjs/basic" ??
> >> >> >
> >> >> >Nicolas Granon
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >> -----Message d'origine-----
> >> >> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : mercredi 25
> >> >> >> octobre 2017 23:04 À : dev@royale.apache.org;
> >> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
> >> >> >>
> >> >> >> Hi Nicolas,
> >> >> >>
> >> >> >> Yeah, we are still fixing bugs after trying to rename
> everything.
> >> >> >> I was able to start with:
> >> >> >>
> >> >> >>
> >> >>
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapa
> >> >> >>ch
> >> >> e
> >> >> >>fle
> >> >> >>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-
> >> >> &data=02%7C01%7C%7C7f61
> >> >> >>d36
> >> >>
> >>
> >>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C
> >> >> >>0%
> >> >> 7
> >> >> >>C63
> >> >>
> >>
> >>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%
> >> >> >>3D
> >> >> &
> >> >> >>res
> >> >> >>erved=0
> >> >> >> jsonly/lastSuccess
> >> >> >> fulBuild/artifact/out/
> >> >> >>
> >> >> >> And rename royale-sdk-description.xml to
> >> >> >> flex-sdk-description.xml
> >> >> and
> >> >> >> change the closing tag to be flex-sdk-description and FB
> >> >> >> accepted that as an SDK on my Mac.
> >> >> >>
> >> >> >> HTH,
> >> >> >> -Alex
> >> >> >>
> >> >> >> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon"
> >> >> <ng...@idylog.com>
> >> >> >> wrote:
> >> >> >>
> >> >> >> >I would like to setup a Apache Royale 0.9 environment.
> >> >> >> >I do not want to build it, just get the bin distribution.
> >> >> >> >I have FlashBuilder setup (Windows).
> >> >> >> >I am not interested in SWF output, just JS.
> >> >> >> >
> >> >> >> >1. Where is the latest bin distribution ? On Jenkins there
> are
> >> >> >> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename"
> >> projects...
> >> >> >> >Which is the correct one ?
> >> >> >> >
> >> >> >> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from
> >> >> >> >"royale-asjs-
> >> >> >> rename".
> >> >> >> >After unzipping, should I launch any ant task or is it "ready
> >> for
> >> >> use"
> >> >> >> ?
> >> >> >> >
> >> >> >> >3. I have noticed that in "royale-sdk-description.xml" (in
> the
> >> >> >> >root
> >> >> >> >dir) the opening tag (<flex-sdk-description>) and closing tag
> >> >> >> >(</royale-sdk-description>) do not match
> >> >> >> >
> >> >> >> >4 In Flashbuilder, you cannot "install" the SDK (it did work
> >> with
> >> >> >> >FlexJS v 0.8). youget the following error : "Directory does
> >> >> >> >not
> >> >> >> contain
> >> >> >> >a Flex SDK".
> >> >> >> >I have tried to copy and rename "royale-sdk-description.xml"
> >> >> >> >as "flex-sdk-description.xml" and corrected the closing tag
> >> >> >> >(now
> >> >> >> ></flex-sdk-description>) but still no luck. What am I missing
> ?
> >> >> >> >
> >> >> >> >5 What about environment variables (Windows) ?
> >> >> >> >
> >> >> >> >Many thanks in advance
> >> >> >> >
> >> >> >> >Nicolas Granon
> >> >> >> >
> >> >> >
> >> >> >
> >> >
> >> >
> >
> >



Re: Apache Royale 0.9 setup

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I saw this too, then it seemed to go away after a restart of FB.

HTH,
-Alex

On 10/30/17, 2:26 AM, "Yishay Weiss" <yi...@hotmail.com> wrote:

>I’m trying to build a Royale flash app in FB and am getting the following
>stack trace in the FB log
>
>
>
>java.lang.NullPointerException
>
>                at
>com.adobe.flexbuilder.util.FlashPlayerVersion.compareTo(FlashPlayerVersion
>.java:373)
>
>                at
>com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(F
>lexProjectBuilder.java:273)
>
>                at
>com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.bui
>ld(FlexIncrementalBuilder.java:171)
>
>                at
>org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
>
>                at
>org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>
>                at
>org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java
>:199)
>
>                at
>org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java
>:239)
>
>                at
>org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
>
>                at
>org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>
>                at
>org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java
>:295)
>
>                at
>org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.
>java:351)
>
>                at
>org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
>
>                at
>org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java
>:513)
>
>                at
>org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)
>
>                at
>org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:180)
>
>                at
>org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
>
>
>It looks like the flash player version isn’t found. Any ideas?
>
>
>
>________________________________
>From: Idylog - Nicolas Granon <ng...@idylog.com>
>Sent: Saturday, October 28, 2017 12:47:56 PM
>To: dev@royale.apache.org
>Subject: RE: Apache Royale 0.9 setup
>
>I finally succeeded in installing Royale with FlashBuilder.
>
>(FlashBuilder 4.7 / Windows / Royale asjs bin 0.9).
>
>1. As Alex already said, you must rename (or make a copy of)
>"royale-sdk-description.xml" to "flex-description.xml" since FB looks for
>that exact file name when declaring available SDKs. You must also check
>(and maybe correct) that the opening and closing top-level tag is
>"<flex-sdk-description>" and "</flex-sdk-description>" there is a
>mismatch in the file that ships in the binary distribution).
>I do not know if it is possible to have FB accept another
>"xxx-description.xml" file where "xxx" could be "royale"...??? but I
>doubt it...
>
>2. You must make the "release-name" property value in the
>"build.properties" file match the name tag from flex-description.xml.
>At this time, Royale 0.9 ships with "Apache Flex (FlexJS)" in the
>"release-name" property of "build.properties" , and "Apache Flex
>(Royale)" in the "<name>" tag of "flex-description.xml" (well, in fact,
>in "royale-description.xml, but as said in (1) it should be renamed). You
>must make those two "names" match exactly, and especially the part
>between parenthesis since it is used when declaring the apache royale
>namespace !
>For me, I have chosen to name _both_ "Apache Flex (Royale)".
>
>3. The js: namespace should be the concatenation of "org.apache" and the
>"short name" (between parenthesis) from the <release-name> tag.
>For me, the namespace attribute is now
>"xmlns:js="library://ns.apache.org/royale/basic"". Note that the name
>used for the namespace is a lowercase version of the name between
>parenthesis.
>I am not sure where the "ns.apache.org" comes from..; Maybe from the "jar
>manifest entries" section of "build.properties" ? but I doubt it...
>
>4. The first three steps above allow for compilation of project, but do
>*not* provide auto-completion : you must still manually type all "import"
>directives.
>To make auto-completion work, you must go to the "Flex build path" tab in
>"Project > properties".
>In the "library path" sub-tab, click on "add swc folder" (not "add swc"
>!) and select the "frameworks/js/libs" folder from the install folder of
>the sdk.
>Now, auto-completion should work as expected !
>
>Of course, all this should not be necessary after the binaries
>distribution of the sdk has been corrected..!
>
>Regarding point (4), it seems that the various SWCs that are present in
>"frameworks/js/FlexJS/libs" should be present in "frameworks/libs". But
>I'm not sure...
>
>When you link the project to Apache Royale framework (through "project"
>"properties " "flex build path" panel), the SWCs that appear under the
>framework reference are :
>- playerglobal
>- 11.7 (!!!)
>
>Obviously there is something wrong in the directory structure of the
>binaries distribution. There should not be a "11.7" entry, but instead
>the list of all SWCs...
>Or maybe this is due to the fact that it is a "asjs only" distribution,
>and that explains why the "libs" folder is almost empty ???
>
>Nicolas Granon
>
>
>
>
>> -----Message d'origine-----
>> De : Alex Harui [mailto:aharui@adobe.com]
>> Envoyé : vendredi 27 octobre 2017 00:02
>> À : ngranon@idylog.com; dev@royale.apache.org
>> Objet : Re: Apache Royale 0.9 setup
>>
>> Hi Nicolas,
>>
>> It is up to you as to whether to switch to VSCode or Moonshine.  We are
>> trying to keep FB working for Royale just so there is one less thing to
>> change to get started with Royale, but I expect Moonshine and VSCode to
>> eventually have more productivity features than FB will.
>>
>> After investigating, I found that the problem was that the flex-
>> config.xml was invalid.  I worked around it by copying royale-
>> config.xml to flex-config.xml and changing the topmost tag in that
>> resulting flex-config.xml from <royale-config>...</royale-config> to
>> <flex-config>...</flex-config>
>>
>> Then restart FB and see if it works better.
>>
>> Thanks for working with us as we get the kinks out, -Alex
>>
>> On 10/26/17, 6:27 AM, "Idylog - Nicolas Granon" <ng...@idylog.com>
>> wrote:
>>
>> >Thank you.
>> >If you think it's best to switch to VSCode or another editor, let us
>> know.
>> >
>> >Nicolas Granon
>> >
>> >
>> >
>> >> -----Message d'origine-----
>> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : jeudi 26 octobre
>> >> 2017 08:05 À : dev@royale.apache.org; ngranon@idylog.com Objet : Re:
>> >> Apache Royale 0.9 setup
>> >>
>> >> I can reproduce it.  Looking into it.
>> >>
>> >> -Alex
>> >>
>> >> On 10/25/17, 10:22 PM, "Yishay Weiss" <yi...@hotmail.com>
>> wrote:
>> >>
>> >> >Hi,
>> >> >
>> >> >Can you put an fxp somewhere so I can have a look?
>> >> >
>> >> >Thanks,
>> >> >Yishay
>> >> >
>> >> >From: Idylog - Nicolas Granon<ma...@idylog.com>
>> >> >Sent: Thursday, October 26, 2017 1:05 AM
>> >> >To: dev@royale.apache.org<ma...@royale.apache.org>
>> >> >Subject: RE: Apache Royale 0.9 setup
>> >> >
>> >> >I had only one namespace reference (it is a very small project!).
>> >> >Changed it as you say.
>> >> >Same result (same errors and autocomplete not working at all)
>> >> >
>> >> >Also noticed that syntax checking is not working anymore.
>> >> >
>> >> >Clearly, IDE is missing some link to syntax definitions...
>> >> >
>> >> >(tries to "clean project" : same result) (tries to close and reopen
>> >> >project : same result) (tried to close and restart IDE : same
>> >> >result)
>> >> >
>> >> >Also, there was a "flex-typedefs" folder in flexJS 0.8 but no such
>> >> >folder in
>> >> >0.9 (and no royale-typedefs).
>> >> >
>> >> >Nicolas Granon
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >> -----Message d'origine-----
>> >> >> De : Peter Ent [mailto:pent@adobe.com.INVALID] Envoyé : mercredi
>> >> >> 25 octobre 2017 23:40 À : dev@royale.apache.org;
>> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> Yes - change all "flex" and "flexjs" to "royale". So the
>> namespace
>> >> >> will have "ns.apache.org/royale/basic".
>> >> >>
>> >> >> ‹peter
>> >> >>
>> >> >> On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon"
>> >> >> <ng...@idylog.com>
>> >> >> wrote:
>> >> >>
>> >> >> >Hi Alex,
>> >> >> >
>> >> >> >After downloading "apache.royale-jsonly-0.9.0-bin.zip" and
>> >> >> >unzipping, the "root" directory was accepted by flashbuilder as
>> a
>> >> SDK directory.
>> >> >> >
>> >> >> >However my "stub" project now gives the following compile errors
>> :
>> >> >> >"internal error in file scope builder subsystem when generating
>> >> >> >(path to my project base mxml file) :
>> >> java.lang.nullpointerexception
>> >> >> Followed
>> >> >> >by two other errors (internal error in outgoing dependency
>> >> subsystem
>> >> >> >and internel error in syntax tree subsystem)
>> >> >> >
>> >> >> >Also, auto completion does not work anymore (I have deleted old
>> >> >> imports
>> >> >> >like "import org.apache.flex.html.alert" because I suspected
>> that
>> >> >> >the "flex.html.alert" path was obsolete, but now, Flashbuilder
>> >> >> >cannot find Alert through autocomplete and thus cannot
>> >> automatically
>> >> >> >insert the correct import statement. The same for all classes
>> >> >> >(autocomplete shows "no suggestion")
>> >> >> >
>> >> >> >Something is missing somewhere...!
>> >> >> >
>> >> >> >Should I modify the namespace declarations
>> >> >> >"xmlns:js="library://ns.apache.org/flexjs/basic" ??
>> >> >> >
>> >> >> >Nicolas Granon
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >> -----Message d'origine-----
>> >> >> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : mercredi 25
>> >> >> >> octobre 2017 23:04 À : dev@royale.apache.org;
>> >> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
>> >> >> >>
>> >> >> >> Hi Nicolas,
>> >> >> >>
>> >> >> >> Yeah, we are still fixing bugs after trying to rename
>> everything.
>> >> >> >> I was able to start with:
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapa
>> >> >> >>ch
>> >> >> e
>> >> >> >>fle
>> >> >> >>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-
>> >> >> &data=02%7C01%7C%7C7f61
>> >> >> >>d36
>> >> >>
>> >>
>> >>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C
>> >> >> >>0%
>> >> >> 7
>> >> >> >>C63
>> >> >>
>> >>
>> >>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%
>> >> >> >>3D
>> >> >> &
>> >> >> >>res
>> >> >> >>erved=0
>> >> >> >> jsonly/lastSuccess
>> >> >> >> fulBuild/artifact/out/
>> >> >> >>
>> >> >> >> And rename royale-sdk-description.xml to
>> >> >> >> flex-sdk-description.xml
>> >> >> and
>> >> >> >> change the closing tag to be flex-sdk-description and FB
>> >> >> >> accepted that as an SDK on my Mac.
>> >> >> >>
>> >> >> >> HTH,
>> >> >> >> -Alex
>> >> >> >>
>> >> >> >> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon"
>> >> >> <ng...@idylog.com>
>> >> >> >> wrote:
>> >> >> >>
>> >> >> >> >I would like to setup a Apache Royale 0.9 environment.
>> >> >> >> >I do not want to build it, just get the bin distribution.
>> >> >> >> >I have FlashBuilder setup (Windows).
>> >> >> >> >I am not interested in SWF output, just JS.
>> >> >> >> >
>> >> >> >> >1. Where is the latest bin distribution ? On Jenkins there
>> are
>> >> >> >> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename"
>> >> projects...
>> >> >> >> >Which is the correct one ?
>> >> >> >> >
>> >> >> >> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from
>> >> >> >> >"royale-asjs-
>> >> >> >> rename".
>> >> >> >> >After unzipping, should I launch any ant task or is it "ready
>> >> for
>> >> >> use"
>> >> >> >> ?
>> >> >> >> >
>> >> >> >> >3. I have noticed that in "royale-sdk-description.xml" (in
>> the
>> >> >> >> >root
>> >> >> >> >dir) the opening tag (<flex-sdk-description>) and closing tag
>> >> >> >> >(</royale-sdk-description>) do not match
>> >> >> >> >
>> >> >> >> >4 In Flashbuilder, you cannot "install" the SDK (it did work
>> >> with
>> >> >> >> >FlexJS v 0.8). youget the following error : "Directory does
>> >> >> >> >not
>> >> >> >> contain
>> >> >> >> >a Flex SDK".
>> >> >> >> >I have tried to copy and rename "royale-sdk-description.xml"
>> >> >> >> >as "flex-sdk-description.xml" and corrected the closing tag
>> >> >> >> >(now
>> >> >> >> ></flex-sdk-description>) but still no luck. What am I missing
>> ?
>> >> >> >> >
>> >> >> >> >5 What about environment variables (Windows) ?
>> >> >> >> >
>> >> >> >> >Many thanks in advance
>> >> >> >> >
>> >> >> >> >Nicolas Granon
>> >> >> >> >
>> >> >> >
>> >> >> >
>> >> >
>> >> >
>> >
>> >
>
>


RE: Apache Royale 0.9 setup

Posted by Yishay Weiss <yi...@hotmail.com>.
I’m trying to build a Royale flash app in FB and am getting the following stack trace in the FB log



java.lang.NullPointerException

                at com.adobe.flexbuilder.util.FlashPlayerVersion.compareTo(FlashPlayerVersion.java:373)

                at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:273)

                at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:171)

                at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)

                at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)

                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)

                at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)

                at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

                at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)

                at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)

                at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)

                at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)

                at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)

                at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:180)

                at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



It looks like the flash player version isn’t found. Any ideas?



________________________________
From: Idylog - Nicolas Granon <ng...@idylog.com>
Sent: Saturday, October 28, 2017 12:47:56 PM
To: dev@royale.apache.org
Subject: RE: Apache Royale 0.9 setup

I finally succeeded in installing Royale with FlashBuilder.

(FlashBuilder 4.7 / Windows / Royale asjs bin 0.9).

1. As Alex already said, you must rename (or make a copy of) "royale-sdk-description.xml" to "flex-description.xml" since FB looks for that exact file name when declaring available SDKs. You must also check (and maybe correct) that the opening and closing top-level tag is "<flex-sdk-description>" and "</flex-sdk-description>" there is a mismatch in the file that ships in the binary distribution).
I do not know if it is possible to have FB accept another "xxx-description.xml" file where "xxx" could be "royale"...??? but I doubt it...

2. You must make the "release-name" property value in the "build.properties" file match the name tag from flex-description.xml.
At this time, Royale 0.9 ships with "Apache Flex (FlexJS)" in the "release-name" property of "build.properties" , and "Apache Flex (Royale)" in the "<name>" tag of "flex-description.xml" (well, in fact, in "royale-description.xml, but as said in (1) it should be renamed). You must make those two "names" match exactly, and especially the part between parenthesis since it is used when declaring the apache royale namespace !
For me, I have chosen to name _both_ "Apache Flex (Royale)".

3. The js: namespace should be the concatenation of "org.apache" and the "short name" (between parenthesis) from the <release-name> tag.
For me, the namespace attribute is now "xmlns:js="library://ns.apache.org/royale/basic"". Note that the name used for the namespace is a lowercase version of the name between parenthesis.
I am not sure where the "ns.apache.org" comes from..; Maybe from the "jar manifest entries" section of "build.properties" ? but I doubt it...

4. The first three steps above allow for compilation of project, but do *not* provide auto-completion : you must still manually type all "import" directives.
To make auto-completion work, you must go to the "Flex build path" tab in "Project > properties".
In the "library path" sub-tab, click on "add swc folder" (not "add swc" !) and select the "frameworks/js/libs" folder from the install folder of the sdk.
Now, auto-completion should work as expected !

Of course, all this should not be necessary after the binaries distribution of the sdk has been corrected..!

Regarding point (4), it seems that the various SWCs that are present in "frameworks/js/FlexJS/libs" should be present in "frameworks/libs". But I'm not sure...

When you link the project to Apache Royale framework (through "project" "properties " "flex build path" panel), the SWCs that appear under the framework reference are :
- playerglobal
- 11.7 (!!!)

Obviously there is something wrong in the directory structure of the binaries distribution. There should not be a "11.7" entry, but instead the list of all SWCs...
Or maybe this is due to the fact that it is a "asjs only" distribution, and that explains why the "libs" folder is almost empty ???

Nicolas Granon




> -----Message d'origine-----
> De : Alex Harui [mailto:aharui@adobe.com]
> Envoyé : vendredi 27 octobre 2017 00:02
> À : ngranon@idylog.com; dev@royale.apache.org
> Objet : Re: Apache Royale 0.9 setup
>
> Hi Nicolas,
>
> It is up to you as to whether to switch to VSCode or Moonshine.  We are
> trying to keep FB working for Royale just so there is one less thing to
> change to get started with Royale, but I expect Moonshine and VSCode to
> eventually have more productivity features than FB will.
>
> After investigating, I found that the problem was that the flex-
> config.xml was invalid.  I worked around it by copying royale-
> config.xml to flex-config.xml and changing the topmost tag in that
> resulting flex-config.xml from <royale-config>...</royale-config> to
> <flex-config>...</flex-config>
>
> Then restart FB and see if it works better.
>
> Thanks for working with us as we get the kinks out, -Alex
>
> On 10/26/17, 6:27 AM, "Idylog - Nicolas Granon" <ng...@idylog.com>
> wrote:
>
> >Thank you.
> >If you think it's best to switch to VSCode or another editor, let us
> know.
> >
> >Nicolas Granon
> >
> >
> >
> >> -----Message d'origine-----
> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : jeudi 26 octobre
> >> 2017 08:05 À : dev@royale.apache.org; ngranon@idylog.com Objet : Re:
> >> Apache Royale 0.9 setup
> >>
> >> I can reproduce it.  Looking into it.
> >>
> >> -Alex
> >>
> >> On 10/25/17, 10:22 PM, "Yishay Weiss" <yi...@hotmail.com>
> wrote:
> >>
> >> >Hi,
> >> >
> >> >Can you put an fxp somewhere so I can have a look?
> >> >
> >> >Thanks,
> >> >Yishay
> >> >
> >> >From: Idylog - Nicolas Granon<ma...@idylog.com>
> >> >Sent: Thursday, October 26, 2017 1:05 AM
> >> >To: dev@royale.apache.org<ma...@royale.apache.org>
> >> >Subject: RE: Apache Royale 0.9 setup
> >> >
> >> >I had only one namespace reference (it is a very small project!).
> >> >Changed it as you say.
> >> >Same result (same errors and autocomplete not working at all)
> >> >
> >> >Also noticed that syntax checking is not working anymore.
> >> >
> >> >Clearly, IDE is missing some link to syntax definitions...
> >> >
> >> >(tries to "clean project" : same result) (tries to close and reopen
> >> >project : same result) (tried to close and restart IDE : same
> >> >result)
> >> >
> >> >Also, there was a "flex-typedefs" folder in flexJS 0.8 but no such
> >> >folder in
> >> >0.9 (and no royale-typedefs).
> >> >
> >> >Nicolas Granon
> >> >
> >> >
> >> >
> >> >
> >> >> -----Message d'origine-----
> >> >> De : Peter Ent [mailto:pent@adobe.com.INVALID] Envoyé : mercredi
> >> >> 25 octobre 2017 23:40 À : dev@royale.apache.org;
> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
> >> >>
> >> >> Hi,
> >> >>
> >> >> Yes - change all "flex" and "flexjs" to "royale". So the
> namespace
> >> >> will have "ns.apache.org/royale/basic".
> >> >>
> >> >> ‹peter
> >> >>
> >> >> On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon"
> >> >> <ng...@idylog.com>
> >> >> wrote:
> >> >>
> >> >> >Hi Alex,
> >> >> >
> >> >> >After downloading "apache.royale-jsonly-0.9.0-bin.zip" and
> >> >> >unzipping, the "root" directory was accepted by flashbuilder as
> a
> >> SDK directory.
> >> >> >
> >> >> >However my "stub" project now gives the following compile errors
> :
> >> >> >"internal error in file scope builder subsystem when generating
> >> >> >(path to my project base mxml file) :
> >> java.lang.nullpointerexception
> >> >> Followed
> >> >> >by two other errors (internal error in outgoing dependency
> >> subsystem
> >> >> >and internel error in syntax tree subsystem)
> >> >> >
> >> >> >Also, auto completion does not work anymore (I have deleted old
> >> >> imports
> >> >> >like "import org.apache.flex.html.alert" because I suspected
> that
> >> >> >the "flex.html.alert" path was obsolete, but now, Flashbuilder
> >> >> >cannot find Alert through autocomplete and thus cannot
> >> automatically
> >> >> >insert the correct import statement. The same for all classes
> >> >> >(autocomplete shows "no suggestion")
> >> >> >
> >> >> >Something is missing somewhere...!
> >> >> >
> >> >> >Should I modify the namespace declarations
> >> >> >"xmlns:js="library://ns.apache.org/flexjs/basic" ??
> >> >> >
> >> >> >Nicolas Granon
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >> -----Message d'origine-----
> >> >> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : mercredi 25
> >> >> >> octobre 2017 23:04 À : dev@royale.apache.org;
> >> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
> >> >> >>
> >> >> >> Hi Nicolas,
> >> >> >>
> >> >> >> Yeah, we are still fixing bugs after trying to rename
> everything.
> >> >> >> I was able to start with:
> >> >> >>
> >> >> >>
> >> >>
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapa
> >> >> >>ch
> >> >> e
> >> >> >>fle
> >> >> >>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-
> >> >> &data=02%7C01%7C%7C7f61
> >> >> >>d36
> >> >>
> >>
> >>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C
> >> >> >>0%
> >> >> 7
> >> >> >>C63
> >> >>
> >>
> >>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%
> >> >> >>3D
> >> >> &
> >> >> >>res
> >> >> >>erved=0
> >> >> >> jsonly/lastSuccess
> >> >> >> fulBuild/artifact/out/
> >> >> >>
> >> >> >> And rename royale-sdk-description.xml to
> >> >> >> flex-sdk-description.xml
> >> >> and
> >> >> >> change the closing tag to be flex-sdk-description and FB
> >> >> >> accepted that as an SDK on my Mac.
> >> >> >>
> >> >> >> HTH,
> >> >> >> -Alex
> >> >> >>
> >> >> >> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon"
> >> >> <ng...@idylog.com>
> >> >> >> wrote:
> >> >> >>
> >> >> >> >I would like to setup a Apache Royale 0.9 environment.
> >> >> >> >I do not want to build it, just get the bin distribution.
> >> >> >> >I have FlashBuilder setup (Windows).
> >> >> >> >I am not interested in SWF output, just JS.
> >> >> >> >
> >> >> >> >1. Where is the latest bin distribution ? On Jenkins there
> are
> >> >> >> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename"
> >> projects...
> >> >> >> >Which is the correct one ?
> >> >> >> >
> >> >> >> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from
> >> >> >> >"royale-asjs-
> >> >> >> rename".
> >> >> >> >After unzipping, should I launch any ant task or is it "ready
> >> for
> >> >> use"
> >> >> >> ?
> >> >> >> >
> >> >> >> >3. I have noticed that in "royale-sdk-description.xml" (in
> the
> >> >> >> >root
> >> >> >> >dir) the opening tag (<flex-sdk-description>) and closing tag
> >> >> >> >(</royale-sdk-description>) do not match
> >> >> >> >
> >> >> >> >4 In Flashbuilder, you cannot "install" the SDK (it did work
> >> with
> >> >> >> >FlexJS v 0.8). youget the following error : "Directory does
> >> >> >> >not
> >> >> >> contain
> >> >> >> >a Flex SDK".
> >> >> >> >I have tried to copy and rename "royale-sdk-description.xml"
> >> >> >> >as "flex-sdk-description.xml" and corrected the closing tag
> >> >> >> >(now
> >> >> >> ></flex-sdk-description>) but still no luck. What am I missing
> ?
> >> >> >> >
> >> >> >> >5 What about environment variables (Windows) ?
> >> >> >> >
> >> >> >> >Many thanks in advance
> >> >> >> >
> >> >> >> >Nicolas Granon
> >> >> >> >
> >> >> >
> >> >> >
> >> >
> >> >
> >
> >



Re: Apache Royale 0.9 setup

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Thanks Nicolas,

I'm still trying to figure out why auto-completion isn't just working
without your workaround.  Thanks for this helpful list of steps.

-Alex

On 10/28/17, 2:47 AM, "Idylog - Nicolas Granon" <ng...@idylog.com> wrote:

>I finally succeeded in installing Royale with FlashBuilder.
>
>(FlashBuilder 4.7 / Windows / Royale asjs bin 0.9).
>
>1. As Alex already said, you must rename (or make a copy of)
>"royale-sdk-description.xml" to "flex-description.xml" since FB looks for
>that exact file name when declaring available SDKs. You must also check
>(and maybe correct) that the opening and closing top-level tag is
>"<flex-sdk-description>" and "</flex-sdk-description>" there is a
>mismatch in the file that ships in the binary distribution).
>I do not know if it is possible to have FB accept another
>"xxx-description.xml" file where "xxx" could be "royale"...??? but I
>doubt it...
>
>2. You must make the "release-name" property value in the
>"build.properties" file match the name tag from flex-description.xml.
>At this time, Royale 0.9 ships with "Apache Flex (FlexJS)" in the
>"release-name" property of "build.properties" , and "Apache Flex
>(Royale)" in the "<name>" tag of "flex-description.xml" (well, in fact,
>in "royale-description.xml, but as said in (1) it should be renamed). You
>must make those two "names" match exactly, and especially the part
>between parenthesis since it is used when declaring the apache royale
>namespace !
>For me, I have chosen to name _both_ "Apache Flex (Royale)".
>
>3. The js: namespace should be the concatenation of "org.apache" and the
>"short name" (between parenthesis) from the <release-name> tag.
>For me, the namespace attribute is now
>"xmlns:js="library://ns.apache.org/royale/basic"". Note that the name
>used for the namespace is a lowercase version of the name between
>parenthesis.
>I am not sure where the "ns.apache.org" comes from..; Maybe from the "jar
>manifest entries" section of "build.properties" ? but I doubt it...
>
>4. The first three steps above allow for compilation of project, but do
>*not* provide auto-completion : you must still manually type all "import"
>directives.
>To make auto-completion work, you must go to the "Flex build path" tab in
>"Project > properties".
>In the "library path" sub-tab, click on "add swc folder" (not "add swc"
>!) and select the "frameworks/js/libs" folder from the install folder of
>the sdk.
>Now, auto-completion should work as expected !
>
>Of course, all this should not be necessary after the binaries
>distribution of the sdk has been corrected..!
>
>Regarding point (4), it seems that the various SWCs that are present in
>"frameworks/js/FlexJS/libs" should be present in "frameworks/libs". But
>I'm not sure...
>
>When you link the project to Apache Royale framework (through "project"
>"properties " "flex build path" panel), the SWCs that appear under the
>framework reference are :
>- playerglobal
>- 11.7 (!!!)
>
>Obviously there is something wrong in the directory structure of the
>binaries distribution. There should not be a "11.7" entry, but instead
>the list of all SWCs...
>Or maybe this is due to the fact that it is a "asjs only" distribution,
>and that explains why the "libs" folder is almost empty ???
>
>Nicolas Granon
>
>
>
>
>> -----Message d'origine-----
>> De : Alex Harui [mailto:aharui@adobe.com]
>> Envoyé : vendredi 27 octobre 2017 00:02
>> À : ngranon@idylog.com; dev@royale.apache.org
>> Objet : Re: Apache Royale 0.9 setup
>> 
>> Hi Nicolas,
>> 
>> It is up to you as to whether to switch to VSCode or Moonshine.  We are
>> trying to keep FB working for Royale just so there is one less thing to
>> change to get started with Royale, but I expect Moonshine and VSCode to
>> eventually have more productivity features than FB will.
>> 
>> After investigating, I found that the problem was that the flex-
>> config.xml was invalid.  I worked around it by copying royale-
>> config.xml to flex-config.xml and changing the topmost tag in that
>> resulting flex-config.xml from <royale-config>...</royale-config> to
>> <flex-config>...</flex-config>
>> 
>> Then restart FB and see if it works better.
>> 
>> Thanks for working with us as we get the kinks out, -Alex
>> 
>> On 10/26/17, 6:27 AM, "Idylog - Nicolas Granon" <ng...@idylog.com>
>> wrote:
>> 
>> >Thank you.
>> >If you think it's best to switch to VSCode or another editor, let us
>> know.
>> >
>> >Nicolas Granon
>> >
>> >
>> >
>> >> -----Message d'origine-----
>> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : jeudi 26 octobre
>> >> 2017 08:05 À : dev@royale.apache.org; ngranon@idylog.com Objet : Re:
>> >> Apache Royale 0.9 setup
>> >>
>> >> I can reproduce it.  Looking into it.
>> >>
>> >> -Alex
>> >>
>> >> On 10/25/17, 10:22 PM, "Yishay Weiss" <yi...@hotmail.com>
>> wrote:
>> >>
>> >> >Hi,
>> >> >
>> >> >Can you put an fxp somewhere so I can have a look?
>> >> >
>> >> >Thanks,
>> >> >Yishay
>> >> >
>> >> >From: Idylog - Nicolas Granon<ma...@idylog.com>
>> >> >Sent: Thursday, October 26, 2017 1:05 AM
>> >> >To: dev@royale.apache.org<ma...@royale.apache.org>
>> >> >Subject: RE: Apache Royale 0.9 setup
>> >> >
>> >> >I had only one namespace reference (it is a very small project!).
>> >> >Changed it as you say.
>> >> >Same result (same errors and autocomplete not working at all)
>> >> >
>> >> >Also noticed that syntax checking is not working anymore.
>> >> >
>> >> >Clearly, IDE is missing some link to syntax definitions...
>> >> >
>> >> >(tries to "clean project" : same result) (tries to close and reopen
>> >> >project : same result) (tried to close and restart IDE : same
>> >> >result)
>> >> >
>> >> >Also, there was a "flex-typedefs" folder in flexJS 0.8 but no such
>> >> >folder in
>> >> >0.9 (and no royale-typedefs).
>> >> >
>> >> >Nicolas Granon
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >> -----Message d'origine-----
>> >> >> De : Peter Ent [mailto:pent@adobe.com.INVALID] Envoyé : mercredi
>> >> >> 25 octobre 2017 23:40 À : dev@royale.apache.org;
>> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> Yes - change all "flex" and "flexjs" to "royale". So the
>> namespace
>> >> >> will have "ns.apache.org/royale/basic".
>> >> >>
>> >> >> ‹peter
>> >> >>
>> >> >> On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon"
>> >> >> <ng...@idylog.com>
>> >> >> wrote:
>> >> >>
>> >> >> >Hi Alex,
>> >> >> >
>> >> >> >After downloading "apache.royale-jsonly-0.9.0-bin.zip" and
>> >> >> >unzipping, the "root" directory was accepted by flashbuilder as
>> a
>> >> SDK directory.
>> >> >> >
>> >> >> >However my "stub" project now gives the following compile errors
>> :
>> >> >> >"internal error in file scope builder subsystem when generating
>> >> >> >(path to my project base mxml file) :
>> >> java.lang.nullpointerexception
>> >> >> Followed
>> >> >> >by two other errors (internal error in outgoing dependency
>> >> subsystem
>> >> >> >and internel error in syntax tree subsystem)
>> >> >> >
>> >> >> >Also, auto completion does not work anymore (I have deleted old
>> >> >> imports
>> >> >> >like "import org.apache.flex.html.alert" because I suspected
>> that
>> >> >> >the "flex.html.alert" path was obsolete, but now, Flashbuilder
>> >> >> >cannot find Alert through autocomplete and thus cannot
>> >> automatically
>> >> >> >insert the correct import statement. The same for all classes
>> >> >> >(autocomplete shows "no suggestion")
>> >> >> >
>> >> >> >Something is missing somewhere...!
>> >> >> >
>> >> >> >Should I modify the namespace declarations
>> >> >> >"xmlns:js="library://ns.apache.org/flexjs/basic" ??
>> >> >> >
>> >> >> >Nicolas Granon
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >> -----Message d'origine-----
>> >> >> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : mercredi 25
>> >> >> >> octobre 2017 23:04 À : dev@royale.apache.org;
>> >> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
>> >> >> >>
>> >> >> >> Hi Nicolas,
>> >> >> >>
>> >> >> >> Yeah, we are still fixing bugs after trying to rename
>> everything.
>> >> >> >> I was able to start with:
>> >> >> >>
>> >> >> >>
>> >> >>
>> >>
>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapa
>> >> >> >>ch
>> >> >> e
>> >> >> >>fle
>> >> >> >>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-
>> >> >> &data=02%7C01%7C%7C7f61
>> >> >> >>d36
>> >> >>
>> >>
>> >>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C
>> >> >> >>0%
>> >> >> 7
>> >> >> >>C63
>> >> >>
>> >>
>> >>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%
>> >> >> >>3D
>> >> >> &
>> >> >> >>res
>> >> >> >>erved=0
>> >> >> >> jsonly/lastSuccess
>> >> >> >> fulBuild/artifact/out/
>> >> >> >>
>> >> >> >> And rename royale-sdk-description.xml to
>> >> >> >> flex-sdk-description.xml
>> >> >> and
>> >> >> >> change the closing tag to be flex-sdk-description and FB
>> >> >> >> accepted that as an SDK on my Mac.
>> >> >> >>
>> >> >> >> HTH,
>> >> >> >> -Alex
>> >> >> >>
>> >> >> >> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon"
>> >> >> <ng...@idylog.com>
>> >> >> >> wrote:
>> >> >> >>
>> >> >> >> >I would like to setup a Apache Royale 0.9 environment.
>> >> >> >> >I do not want to build it, just get the bin distribution.
>> >> >> >> >I have FlashBuilder setup (Windows).
>> >> >> >> >I am not interested in SWF output, just JS.
>> >> >> >> >
>> >> >> >> >1. Where is the latest bin distribution ? On Jenkins there
>> are
>> >> >> >> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename"
>> >> projects...
>> >> >> >> >Which is the correct one ?
>> >> >> >> >
>> >> >> >> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from
>> >> >> >> >"royale-asjs-
>> >> >> >> rename".
>> >> >> >> >After unzipping, should I launch any ant task or is it "ready
>> >> for
>> >> >> use"
>> >> >> >> ?
>> >> >> >> >
>> >> >> >> >3. I have noticed that in "royale-sdk-description.xml" (in
>> the
>> >> >> >> >root
>> >> >> >> >dir) the opening tag (<flex-sdk-description>) and closing tag
>> >> >> >> >(</royale-sdk-description>) do not match
>> >> >> >> >
>> >> >> >> >4 In Flashbuilder, you cannot "install" the SDK (it did work
>> >> with
>> >> >> >> >FlexJS v 0.8). youget the following error : "Directory does
>> >> >> >> >not
>> >> >> >> contain
>> >> >> >> >a Flex SDK".
>> >> >> >> >I have tried to copy and rename "royale-sdk-description.xml"
>> >> >> >> >as "flex-sdk-description.xml" and corrected the closing tag
>> >> >> >> >(now
>> >> >> >> ></flex-sdk-description>) but still no luck. What am I missing
>> ?
>> >> >> >> >
>> >> >> >> >5 What about environment variables (Windows) ?
>> >> >> >> >
>> >> >> >> >Many thanks in advance
>> >> >> >> >
>> >> >> >> >Nicolas Granon
>> >> >> >> >
>> >> >> >
>> >> >> >
>> >> >
>> >> >
>> >
>> >
>
>


RE: Apache Royale 0.9 setup

Posted by Idylog - Nicolas Granon <ng...@idylog.com>.
I finally succeeded in installing Royale with FlashBuilder.

(FlashBuilder 4.7 / Windows / Royale asjs bin 0.9).

1. As Alex already said, you must rename (or make a copy of) "royale-sdk-description.xml" to "flex-description.xml" since FB looks for that exact file name when declaring available SDKs. You must also check (and maybe correct) that the opening and closing top-level tag is "<flex-sdk-description>" and "</flex-sdk-description>" there is a mismatch in the file that ships in the binary distribution).
I do not know if it is possible to have FB accept another "xxx-description.xml" file where "xxx" could be "royale"...??? but I doubt it...

2. You must make the "release-name" property value in the "build.properties" file match the name tag from flex-description.xml.
At this time, Royale 0.9 ships with "Apache Flex (FlexJS)" in the "release-name" property of "build.properties" , and "Apache Flex (Royale)" in the "<name>" tag of "flex-description.xml" (well, in fact, in "royale-description.xml, but as said in (1) it should be renamed). You must make those two "names" match exactly, and especially the part between parenthesis since it is used when declaring the apache royale namespace !
For me, I have chosen to name _both_ "Apache Flex (Royale)".

3. The js: namespace should be the concatenation of "org.apache" and the "short name" (between parenthesis) from the <release-name> tag.
For me, the namespace attribute is now "xmlns:js="library://ns.apache.org/royale/basic"". Note that the name used for the namespace is a lowercase version of the name between parenthesis.
I am not sure where the "ns.apache.org" comes from..; Maybe from the "jar manifest entries" section of "build.properties" ? but I doubt it...

4. The first three steps above allow for compilation of project, but do *not* provide auto-completion : you must still manually type all "import" directives.
To make auto-completion work, you must go to the "Flex build path" tab in "Project > properties".
In the "library path" sub-tab, click on "add swc folder" (not "add swc" !) and select the "frameworks/js/libs" folder from the install folder of the sdk.
Now, auto-completion should work as expected !

Of course, all this should not be necessary after the binaries distribution of the sdk has been corrected..!

Regarding point (4), it seems that the various SWCs that are present in "frameworks/js/FlexJS/libs" should be present in "frameworks/libs". But I'm not sure...

When you link the project to Apache Royale framework (through "project" "properties " "flex build path" panel), the SWCs that appear under the framework reference are :
- playerglobal
- 11.7 (!!!)

Obviously there is something wrong in the directory structure of the binaries distribution. There should not be a "11.7" entry, but instead the list of all SWCs...
Or maybe this is due to the fact that it is a "asjs only" distribution, and that explains why the "libs" folder is almost empty ???

Nicolas Granon




> -----Message d'origine-----
> De : Alex Harui [mailto:aharui@adobe.com]
> Envoyé : vendredi 27 octobre 2017 00:02
> À : ngranon@idylog.com; dev@royale.apache.org
> Objet : Re: Apache Royale 0.9 setup
> 
> Hi Nicolas,
> 
> It is up to you as to whether to switch to VSCode or Moonshine.  We are
> trying to keep FB working for Royale just so there is one less thing to
> change to get started with Royale, but I expect Moonshine and VSCode to
> eventually have more productivity features than FB will.
> 
> After investigating, I found that the problem was that the flex-
> config.xml was invalid.  I worked around it by copying royale-
> config.xml to flex-config.xml and changing the topmost tag in that
> resulting flex-config.xml from <royale-config>...</royale-config> to
> <flex-config>...</flex-config>
> 
> Then restart FB and see if it works better.
> 
> Thanks for working with us as we get the kinks out, -Alex
> 
> On 10/26/17, 6:27 AM, "Idylog - Nicolas Granon" <ng...@idylog.com>
> wrote:
> 
> >Thank you.
> >If you think it's best to switch to VSCode or another editor, let us
> know.
> >
> >Nicolas Granon
> >
> >
> >
> >> -----Message d'origine-----
> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : jeudi 26 octobre
> >> 2017 08:05 À : dev@royale.apache.org; ngranon@idylog.com Objet : Re:
> >> Apache Royale 0.9 setup
> >>
> >> I can reproduce it.  Looking into it.
> >>
> >> -Alex
> >>
> >> On 10/25/17, 10:22 PM, "Yishay Weiss" <yi...@hotmail.com>
> wrote:
> >>
> >> >Hi,
> >> >
> >> >Can you put an fxp somewhere so I can have a look?
> >> >
> >> >Thanks,
> >> >Yishay
> >> >
> >> >From: Idylog - Nicolas Granon<ma...@idylog.com>
> >> >Sent: Thursday, October 26, 2017 1:05 AM
> >> >To: dev@royale.apache.org<ma...@royale.apache.org>
> >> >Subject: RE: Apache Royale 0.9 setup
> >> >
> >> >I had only one namespace reference (it is a very small project!).
> >> >Changed it as you say.
> >> >Same result (same errors and autocomplete not working at all)
> >> >
> >> >Also noticed that syntax checking is not working anymore.
> >> >
> >> >Clearly, IDE is missing some link to syntax definitions...
> >> >
> >> >(tries to "clean project" : same result) (tries to close and reopen
> >> >project : same result) (tried to close and restart IDE : same
> >> >result)
> >> >
> >> >Also, there was a "flex-typedefs" folder in flexJS 0.8 but no such
> >> >folder in
> >> >0.9 (and no royale-typedefs).
> >> >
> >> >Nicolas Granon
> >> >
> >> >
> >> >
> >> >
> >> >> -----Message d'origine-----
> >> >> De : Peter Ent [mailto:pent@adobe.com.INVALID] Envoyé : mercredi
> >> >> 25 octobre 2017 23:40 À : dev@royale.apache.org;
> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
> >> >>
> >> >> Hi,
> >> >>
> >> >> Yes - change all "flex" and "flexjs" to "royale". So the
> namespace
> >> >> will have "ns.apache.org/royale/basic".
> >> >>
> >> >> ‹peter
> >> >>
> >> >> On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon"
> >> >> <ng...@idylog.com>
> >> >> wrote:
> >> >>
> >> >> >Hi Alex,
> >> >> >
> >> >> >After downloading "apache.royale-jsonly-0.9.0-bin.zip" and
> >> >> >unzipping, the "root" directory was accepted by flashbuilder as
> a
> >> SDK directory.
> >> >> >
> >> >> >However my "stub" project now gives the following compile errors
> :
> >> >> >"internal error in file scope builder subsystem when generating
> >> >> >(path to my project base mxml file) :
> >> java.lang.nullpointerexception
> >> >> Followed
> >> >> >by two other errors (internal error in outgoing dependency
> >> subsystem
> >> >> >and internel error in syntax tree subsystem)
> >> >> >
> >> >> >Also, auto completion does not work anymore (I have deleted old
> >> >> imports
> >> >> >like "import org.apache.flex.html.alert" because I suspected
> that
> >> >> >the "flex.html.alert" path was obsolete, but now, Flashbuilder
> >> >> >cannot find Alert through autocomplete and thus cannot
> >> automatically
> >> >> >insert the correct import statement. The same for all classes
> >> >> >(autocomplete shows "no suggestion")
> >> >> >
> >> >> >Something is missing somewhere...!
> >> >> >
> >> >> >Should I modify the namespace declarations
> >> >> >"xmlns:js="library://ns.apache.org/flexjs/basic" ??
> >> >> >
> >> >> >Nicolas Granon
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >> -----Message d'origine-----
> >> >> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : mercredi 25
> >> >> >> octobre 2017 23:04 À : dev@royale.apache.org;
> >> >> >> ngranon@idylog.com Objet : Re: Apache Royale 0.9 setup
> >> >> >>
> >> >> >> Hi Nicolas,
> >> >> >>
> >> >> >> Yeah, we are still fixing bugs after trying to rename
> everything.
> >> >> >> I was able to start with:
> >> >> >>
> >> >> >>
> >> >>
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapa
> >> >> >>ch
> >> >> e
> >> >> >>fle
> >> >> >>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-
> >> >> &data=02%7C01%7C%7C7f61
> >> >> >>d36
> >> >>
> >>
> >>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C
> >> >> >>0%
> >> >> 7
> >> >> >>C63
> >> >>
> >>
> >>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%
> >> >> >>3D
> >> >> &
> >> >> >>res
> >> >> >>erved=0
> >> >> >> jsonly/lastSuccess
> >> >> >> fulBuild/artifact/out/
> >> >> >>
> >> >> >> And rename royale-sdk-description.xml to
> >> >> >> flex-sdk-description.xml
> >> >> and
> >> >> >> change the closing tag to be flex-sdk-description and FB
> >> >> >> accepted that as an SDK on my Mac.
> >> >> >>
> >> >> >> HTH,
> >> >> >> -Alex
> >> >> >>
> >> >> >> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon"
> >> >> <ng...@idylog.com>
> >> >> >> wrote:
> >> >> >>
> >> >> >> >I would like to setup a Apache Royale 0.9 environment.
> >> >> >> >I do not want to build it, just get the bin distribution.
> >> >> >> >I have FlashBuilder setup (Windows).
> >> >> >> >I am not interested in SWF output, just JS.
> >> >> >> >
> >> >> >> >1. Where is the latest bin distribution ? On Jenkins there
> are
> >> >> >> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename"
> >> projects...
> >> >> >> >Which is the correct one ?
> >> >> >> >
> >> >> >> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from
> >> >> >> >"royale-asjs-
> >> >> >> rename".
> >> >> >> >After unzipping, should I launch any ant task or is it "ready
> >> for
> >> >> use"
> >> >> >> ?
> >> >> >> >
> >> >> >> >3. I have noticed that in "royale-sdk-description.xml" (in
> the
> >> >> >> >root
> >> >> >> >dir) the opening tag (<flex-sdk-description>) and closing tag
> >> >> >> >(</royale-sdk-description>) do not match
> >> >> >> >
> >> >> >> >4 In Flashbuilder, you cannot "install" the SDK (it did work
> >> with
> >> >> >> >FlexJS v 0.8). youget the following error : "Directory does
> >> >> >> >not
> >> >> >> contain
> >> >> >> >a Flex SDK".
> >> >> >> >I have tried to copy and rename "royale-sdk-description.xml"
> >> >> >> >as "flex-sdk-description.xml" and corrected the closing tag
> >> >> >> >(now
> >> >> >> ></flex-sdk-description>) but still no luck. What am I missing
> ?
> >> >> >> >
> >> >> >> >5 What about environment variables (Windows) ?
> >> >> >> >
> >> >> >> >Many thanks in advance
> >> >> >> >
> >> >> >> >Nicolas Granon
> >> >> >> >
> >> >> >
> >> >> >
> >> >
> >> >
> >
> >



Re: Apache Royale 0.9 setup

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Nicolas,

It is up to you as to whether to switch to VSCode or Moonshine.  We are
trying to keep FB working for Royale just so there is one less thing to
change to get started with Royale, but I expect Moonshine and VSCode to
eventually have more productivity features than FB will.

After investigating, I found that the problem was that the flex-config.xml
was invalid.  I worked around it by copying royale-config.xml to
flex-config.xml and changing the topmost tag in that resulting
flex-config.xml from <royale-config>...</royale-config> to
<flex-config>...</flex-config>

Then restart FB and see if it works better.

Thanks for working with us as we get the kinks out,
-Alex

On 10/26/17, 6:27 AM, "Idylog - Nicolas Granon" <ng...@idylog.com> wrote:

>Thank you.
>If you think it's best to switch to VSCode or another editor, let us know.
>
>Nicolas Granon
>
>
>
>> -----Message d'origine-----
>> De : Alex Harui [mailto:aharui@adobe.com]
>> Envoyé : jeudi 26 octobre 2017 08:05
>> À : dev@royale.apache.org; ngranon@idylog.com
>> Objet : Re: Apache Royale 0.9 setup
>> 
>> I can reproduce it.  Looking into it.
>> 
>> -Alex
>> 
>> On 10/25/17, 10:22 PM, "Yishay Weiss" <yi...@hotmail.com> wrote:
>> 
>> >Hi,
>> >
>> >Can you put an fxp somewhere so I can have a look?
>> >
>> >Thanks,
>> >Yishay
>> >
>> >From: Idylog - Nicolas Granon<ma...@idylog.com>
>> >Sent: Thursday, October 26, 2017 1:05 AM
>> >To: dev@royale.apache.org<ma...@royale.apache.org>
>> >Subject: RE: Apache Royale 0.9 setup
>> >
>> >I had only one namespace reference (it is a very small project!).
>> >Changed it as you say.
>> >Same result (same errors and autocomplete not working at all)
>> >
>> >Also noticed that syntax checking is not working anymore.
>> >
>> >Clearly, IDE is missing some link to syntax definitions...
>> >
>> >(tries to "clean project" : same result) (tries to close and reopen
>> >project : same result) (tried to close and restart IDE : same result)
>> >
>> >Also, there was a "flex-typedefs" folder in flexJS 0.8 but no such
>> >folder in
>> >0.9 (and no royale-typedefs).
>> >
>> >Nicolas Granon
>> >
>> >
>> >
>> >
>> >> -----Message d'origine-----
>> >> De : Peter Ent [mailto:pent@adobe.com.INVALID] Envoyé : mercredi 25
>> >> octobre 2017 23:40 À : dev@royale.apache.org; ngranon@idylog.com
>> >> Objet : Re: Apache Royale 0.9 setup
>> >>
>> >> Hi,
>> >>
>> >> Yes - change all "flex" and "flexjs" to "royale". So the namespace
>> >> will have "ns.apache.org/royale/basic".
>> >>
>> >> ‹peter
>> >>
>> >> On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon" <ng...@idylog.com>
>> >> wrote:
>> >>
>> >> >Hi Alex,
>> >> >
>> >> >After downloading "apache.royale-jsonly-0.9.0-bin.zip" and
>> >> >unzipping, the "root" directory was accepted by flashbuilder as a
>> SDK directory.
>> >> >
>> >> >However my "stub" project now gives the following compile errors :
>> >> >"internal error in file scope builder subsystem when generating
>> >> >(path to my project base mxml file) :
>> java.lang.nullpointerexception
>> >> Followed
>> >> >by two other errors (internal error in outgoing dependency
>> subsystem
>> >> >and internel error in syntax tree subsystem)
>> >> >
>> >> >Also, auto completion does not work anymore (I have deleted old
>> >> imports
>> >> >like "import org.apache.flex.html.alert" because I suspected that
>> >> >the "flex.html.alert" path was obsolete, but now, Flashbuilder
>> >> >cannot find Alert through autocomplete and thus cannot
>> automatically
>> >> >insert the correct import statement. The same for all classes
>> >> >(autocomplete shows "no suggestion")
>> >> >
>> >> >Something is missing somewhere...!
>> >> >
>> >> >Should I modify the namespace declarations
>> >> >"xmlns:js="library://ns.apache.org/flexjs/basic" ??
>> >> >
>> >> >Nicolas Granon
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >> -----Message d'origine-----
>> >> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : mercredi 25
>> >> >> octobre 2017 23:04 À : dev@royale.apache.org; ngranon@idylog.com
>> >> >> Objet : Re: Apache Royale 0.9 setup
>> >> >>
>> >> >> Hi Nicolas,
>> >> >>
>> >> >> Yeah, we are still fixing bugs after trying to rename everything.
>> >> >> I was able to start with:
>> >> >>
>> >> >>
>> >>
>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapa
>> >> >>ch
>> >> e
>> >> >>fle
>> >> >>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-
>> >> &data=02%7C01%7C%7C7f61
>> >> >>d36
>> >>
>> >>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C
>> >> >>0%
>> >> 7
>> >> >>C63
>> >>
>> >>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%
>> >> >>3D
>> >> &
>> >> >>res
>> >> >>erved=0
>> >> >> jsonly/lastSuccess
>> >> >> fulBuild/artifact/out/
>> >> >>
>> >> >> And rename royale-sdk-description.xml to flex-sdk-description.xml
>> >> and
>> >> >> change the closing tag to be flex-sdk-description and FB accepted
>> >> >> that as an SDK on my Mac.
>> >> >>
>> >> >> HTH,
>> >> >> -Alex
>> >> >>
>> >> >> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon"
>> >> <ng...@idylog.com>
>> >> >> wrote:
>> >> >>
>> >> >> >I would like to setup a Apache Royale 0.9 environment.
>> >> >> >I do not want to build it, just get the bin distribution.
>> >> >> >I have FlashBuilder setup (Windows).
>> >> >> >I am not interested in SWF output, just JS.
>> >> >> >
>> >> >> >1. Where is the latest bin distribution ? On Jenkins there are
>> >> >> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename"
>> projects...
>> >> >> >Which is the correct one ?
>> >> >> >
>> >> >> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from
>> >> >> >"royale-asjs-
>> >> >> rename".
>> >> >> >After unzipping, should I launch any ant task or is it "ready
>> for
>> >> use"
>> >> >> ?
>> >> >> >
>> >> >> >3. I have noticed that in "royale-sdk-description.xml" (in the
>> >> >> >root
>> >> >> >dir) the opening tag (<flex-sdk-description>) and closing tag
>> >> >> >(</royale-sdk-description>) do not match
>> >> >> >
>> >> >> >4 In Flashbuilder, you cannot "install" the SDK (it did work
>> with
>> >> >> >FlexJS v 0.8). youget the following error : "Directory does not
>> >> >> contain
>> >> >> >a Flex SDK".
>> >> >> >I have tried to copy and rename "royale-sdk-description.xml" as
>> >> >> >"flex-sdk-description.xml" and corrected the closing tag (now
>> >> >> ></flex-sdk-description>) but still no luck. What am I missing ?
>> >> >> >
>> >> >> >5 What about environment variables (Windows) ?
>> >> >> >
>> >> >> >Many thanks in advance
>> >> >> >
>> >> >> >Nicolas Granon
>> >> >> >
>> >> >
>> >> >
>> >
>> >
>
>


RE: Apache Royale 0.9 setup

Posted by Idylog - Nicolas Granon <ng...@idylog.com>.
Thank you.
If you think it's best to switch to VSCode or another editor, let us know.

Nicolas Granon



> -----Message d'origine-----
> De : Alex Harui [mailto:aharui@adobe.com]
> Envoyé : jeudi 26 octobre 2017 08:05
> À : dev@royale.apache.org; ngranon@idylog.com
> Objet : Re: Apache Royale 0.9 setup
> 
> I can reproduce it.  Looking into it.
> 
> -Alex
> 
> On 10/25/17, 10:22 PM, "Yishay Weiss" <yi...@hotmail.com> wrote:
> 
> >Hi,
> >
> >Can you put an fxp somewhere so I can have a look?
> >
> >Thanks,
> >Yishay
> >
> >From: Idylog - Nicolas Granon<ma...@idylog.com>
> >Sent: Thursday, October 26, 2017 1:05 AM
> >To: dev@royale.apache.org<ma...@royale.apache.org>
> >Subject: RE: Apache Royale 0.9 setup
> >
> >I had only one namespace reference (it is a very small project!).
> >Changed it as you say.
> >Same result (same errors and autocomplete not working at all)
> >
> >Also noticed that syntax checking is not working anymore.
> >
> >Clearly, IDE is missing some link to syntax definitions...
> >
> >(tries to "clean project" : same result) (tries to close and reopen
> >project : same result) (tried to close and restart IDE : same result)
> >
> >Also, there was a "flex-typedefs" folder in flexJS 0.8 but no such
> >folder in
> >0.9 (and no royale-typedefs).
> >
> >Nicolas Granon
> >
> >
> >
> >
> >> -----Message d'origine-----
> >> De : Peter Ent [mailto:pent@adobe.com.INVALID] Envoyé : mercredi 25
> >> octobre 2017 23:40 À : dev@royale.apache.org; ngranon@idylog.com
> >> Objet : Re: Apache Royale 0.9 setup
> >>
> >> Hi,
> >>
> >> Yes - change all "flex" and "flexjs" to "royale". So the namespace
> >> will have "ns.apache.org/royale/basic".
> >>
> >> ‹peter
> >>
> >> On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon" <ng...@idylog.com>
> >> wrote:
> >>
> >> >Hi Alex,
> >> >
> >> >After downloading "apache.royale-jsonly-0.9.0-bin.zip" and
> >> >unzipping, the "root" directory was accepted by flashbuilder as a
> SDK directory.
> >> >
> >> >However my "stub" project now gives the following compile errors :
> >> >"internal error in file scope builder subsystem when generating
> >> >(path to my project base mxml file) :
> java.lang.nullpointerexception
> >> Followed
> >> >by two other errors (internal error in outgoing dependency
> subsystem
> >> >and internel error in syntax tree subsystem)
> >> >
> >> >Also, auto completion does not work anymore (I have deleted old
> >> imports
> >> >like "import org.apache.flex.html.alert" because I suspected that
> >> >the "flex.html.alert" path was obsolete, but now, Flashbuilder
> >> >cannot find Alert through autocomplete and thus cannot
> automatically
> >> >insert the correct import statement. The same for all classes
> >> >(autocomplete shows "no suggestion")
> >> >
> >> >Something is missing somewhere...!
> >> >
> >> >Should I modify the namespace declarations
> >> >"xmlns:js="library://ns.apache.org/flexjs/basic" ??
> >> >
> >> >Nicolas Granon
> >> >
> >> >
> >> >
> >> >
> >> >> -----Message d'origine-----
> >> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : mercredi 25
> >> >> octobre 2017 23:04 À : dev@royale.apache.org; ngranon@idylog.com
> >> >> Objet : Re: Apache Royale 0.9 setup
> >> >>
> >> >> Hi Nicolas,
> >> >>
> >> >> Yeah, we are still fixing bugs after trying to rename everything.
> >> >> I was able to start with:
> >> >>
> >> >>
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapa
> >> >>ch
> >> e
> >> >>fle
> >> >>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-
> >> &data=02%7C01%7C%7C7f61
> >> >>d36
> >>
> >>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C
> >> >>0%
> >> 7
> >> >>C63
> >>
> >>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%
> >> >>3D
> >> &
> >> >>res
> >> >>erved=0
> >> >> jsonly/lastSuccess
> >> >> fulBuild/artifact/out/
> >> >>
> >> >> And rename royale-sdk-description.xml to flex-sdk-description.xml
> >> and
> >> >> change the closing tag to be flex-sdk-description and FB accepted
> >> >> that as an SDK on my Mac.
> >> >>
> >> >> HTH,
> >> >> -Alex
> >> >>
> >> >> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon"
> >> <ng...@idylog.com>
> >> >> wrote:
> >> >>
> >> >> >I would like to setup a Apache Royale 0.9 environment.
> >> >> >I do not want to build it, just get the bin distribution.
> >> >> >I have FlashBuilder setup (Windows).
> >> >> >I am not interested in SWF output, just JS.
> >> >> >
> >> >> >1. Where is the latest bin distribution ? On Jenkins there are
> >> >> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename"
> projects...
> >> >> >Which is the correct one ?
> >> >> >
> >> >> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from
> >> >> >"royale-asjs-
> >> >> rename".
> >> >> >After unzipping, should I launch any ant task or is it "ready
> for
> >> use"
> >> >> ?
> >> >> >
> >> >> >3. I have noticed that in "royale-sdk-description.xml" (in the
> >> >> >root
> >> >> >dir) the opening tag (<flex-sdk-description>) and closing tag
> >> >> >(</royale-sdk-description>) do not match
> >> >> >
> >> >> >4 In Flashbuilder, you cannot "install" the SDK (it did work
> with
> >> >> >FlexJS v 0.8). youget the following error : "Directory does not
> >> >> contain
> >> >> >a Flex SDK".
> >> >> >I have tried to copy and rename "royale-sdk-description.xml" as
> >> >> >"flex-sdk-description.xml" and corrected the closing tag (now
> >> >> ></flex-sdk-description>) but still no luck. What am I missing ?
> >> >> >
> >> >> >5 What about environment variables (Windows) ?
> >> >> >
> >> >> >Many thanks in advance
> >> >> >
> >> >> >Nicolas Granon
> >> >> >
> >> >
> >> >
> >
> >



Re: Apache Royale 0.9 setup

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I can reproduce it.  Looking into it.

-Alex

On 10/25/17, 10:22 PM, "Yishay Weiss" <yi...@hotmail.com> wrote:

>Hi,
>
>Can you put an fxp somewhere so I can have a look?
>
>Thanks,
>Yishay
>
>From: Idylog - Nicolas Granon<ma...@idylog.com>
>Sent: Thursday, October 26, 2017 1:05 AM
>To: dev@royale.apache.org<ma...@royale.apache.org>
>Subject: RE: Apache Royale 0.9 setup
>
>I had only one namespace reference (it is a very small project!).
>Changed it as you say.
>Same result (same errors and autocomplete not working at all)
>
>Also noticed that syntax checking is not working anymore.
>
>Clearly, IDE is missing some link to syntax definitions...
>
>(tries to "clean project" : same result)
>(tries to close and reopen project : same result)
>(tried to close and restart IDE : same result)
>
>Also, there was a "flex-typedefs" folder in flexJS 0.8 but no such folder
>in
>0.9 (and no royale-typedefs).
>
>Nicolas Granon
>
>
>
>
>> -----Message d'origine-----
>> De : Peter Ent [mailto:pent@adobe.com.INVALID]
>> Envoyé : mercredi 25 octobre 2017 23:40
>> À : dev@royale.apache.org; ngranon@idylog.com
>> Objet : Re: Apache Royale 0.9 setup
>>
>> Hi,
>>
>> Yes - change all "flex" and "flexjs" to "royale". So the namespace will
>> have "ns.apache.org/royale/basic".
>>
>> ‹peter
>>
>> On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon" <ng...@idylog.com>
>> wrote:
>>
>> >Hi Alex,
>> >
>> >After downloading "apache.royale-jsonly-0.9.0-bin.zip" and unzipping,
>> >the "root" directory was accepted by flashbuilder as a SDK directory.
>> >
>> >However my "stub" project now gives the following compile errors :
>> >"internal error in file scope builder subsystem when generating (path
>> >to my project base mxml file) : java.lang.nullpointerexception
>> Followed
>> >by two other errors (internal error in outgoing dependency subsystem
>> >and internel error in syntax tree subsystem)
>> >
>> >Also, auto completion does not work anymore (I have deleted old
>> imports
>> >like "import org.apache.flex.html.alert" because I suspected that the
>> >"flex.html.alert" path was obsolete, but now, Flashbuilder cannot find
>> >Alert through autocomplete and thus cannot automatically insert the
>> >correct import statement. The same for all classes (autocomplete shows
>> >"no suggestion")
>> >
>> >Something is missing somewhere...!
>> >
>> >Should I modify the namespace declarations
>> >"xmlns:js="library://ns.apache.org/flexjs/basic" ??
>> >
>> >Nicolas Granon
>> >
>> >
>> >
>> >
>> >> -----Message d'origine-----
>> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : mercredi 25
>> >> octobre 2017 23:04 À : dev@royale.apache.org; ngranon@idylog.com
>> >> Objet : Re: Apache Royale 0.9 setup
>> >>
>> >> Hi Nicolas,
>> >>
>> >> Yeah, we are still fixing bugs after trying to rename everything.  I
>> >> was able to start with:
>> >>
>> >>
>> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapach
>> e
>> >>fle
>> >>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-
>> &data=02%7C01%7C%7C7f61
>> >>d36
>> >>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> 7
>> >>C63
>> >>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%3D
>> &
>> >>res
>> >>erved=0
>> >> jsonly/lastSuccess
>> >> fulBuild/artifact/out/
>> >>
>> >> And rename royale-sdk-description.xml to flex-sdk-description.xml
>> and
>> >> change the closing tag to be flex-sdk-description and FB accepted
>> >> that as an SDK on my Mac.
>> >>
>> >> HTH,
>> >> -Alex
>> >>
>> >> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon"
>> <ng...@idylog.com>
>> >> wrote:
>> >>
>> >> >I would like to setup a Apache Royale 0.9 environment.
>> >> >I do not want to build it, just get the bin distribution.
>> >> >I have FlashBuilder setup (Windows).
>> >> >I am not interested in SWF output, just JS.
>> >> >
>> >> >1. Where is the latest bin distribution ? On Jenkins there are
>> >> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename" projects...
>> >> >Which is the correct one ?
>> >> >
>> >> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from "royale-asjs-
>> >> rename".
>> >> >After unzipping, should I launch any ant task or is it "ready for
>> use"
>> >> ?
>> >> >
>> >> >3. I have noticed that in "royale-sdk-description.xml" (in the root
>> >> >dir) the opening tag (<flex-sdk-description>) and closing tag
>> >> >(</royale-sdk-description>) do not match
>> >> >
>> >> >4 In Flashbuilder, you cannot "install" the SDK (it did work with
>> >> >FlexJS v 0.8). youget the following error : "Directory does not
>> >> contain
>> >> >a Flex SDK".
>> >> >I have tried to copy and rename "royale-sdk-description.xml" as
>> >> >"flex-sdk-description.xml" and corrected the closing tag (now
>> >> ></flex-sdk-description>) but still no luck. What am I missing ?
>> >> >
>> >> >5 What about environment variables (Windows) ?
>> >> >
>> >> >Many thanks in advance
>> >> >
>> >> >Nicolas Granon
>> >> >
>> >
>> >
>
>


RE: Apache Royale 0.9 setup

Posted by Yishay Weiss <yi...@hotmail.com>.
Hi,

Can you put an fxp somewhere so I can have a look?

Thanks,
Yishay

From: Idylog - Nicolas Granon<ma...@idylog.com>
Sent: Thursday, October 26, 2017 1:05 AM
To: dev@royale.apache.org<ma...@royale.apache.org>
Subject: RE: Apache Royale 0.9 setup

I had only one namespace reference (it is a very small project!).
Changed it as you say.
Same result (same errors and autocomplete not working at all)

Also noticed that syntax checking is not working anymore.

Clearly, IDE is missing some link to syntax definitions...

(tries to "clean project" : same result)
(tries to close and reopen project : same result)
(tried to close and restart IDE : same result)

Also, there was a "flex-typedefs" folder in flexJS 0.8 but no such folder in
0.9 (and no royale-typedefs).

Nicolas Granon




> -----Message d'origine-----
> De : Peter Ent [mailto:pent@adobe.com.INVALID]
> Envoyé : mercredi 25 octobre 2017 23:40
> À : dev@royale.apache.org; ngranon@idylog.com
> Objet : Re: Apache Royale 0.9 setup
>
> Hi,
>
> Yes - change all "flex" and "flexjs" to "royale". So the namespace will
> have "ns.apache.org/royale/basic".
>
> ‹peter
>
> On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon" <ng...@idylog.com>
> wrote:
>
> >Hi Alex,
> >
> >After downloading "apache.royale-jsonly-0.9.0-bin.zip" and unzipping,
> >the "root" directory was accepted by flashbuilder as a SDK directory.
> >
> >However my "stub" project now gives the following compile errors :
> >"internal error in file scope builder subsystem when generating (path
> >to my project base mxml file) : java.lang.nullpointerexception
> Followed
> >by two other errors (internal error in outgoing dependency subsystem
> >and internel error in syntax tree subsystem)
> >
> >Also, auto completion does not work anymore (I have deleted old
> imports
> >like "import org.apache.flex.html.alert" because I suspected that the
> >"flex.html.alert" path was obsolete, but now, Flashbuilder cannot find
> >Alert through autocomplete and thus cannot automatically insert the
> >correct import statement. The same for all classes (autocomplete shows
> >"no suggestion")
> >
> >Something is missing somewhere...!
> >
> >Should I modify the namespace declarations
> >"xmlns:js="library://ns.apache.org/flexjs/basic" ??
> >
> >Nicolas Granon
> >
> >
> >
> >
> >> -----Message d'origine-----
> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : mercredi 25
> >> octobre 2017 23:04 À : dev@royale.apache.org; ngranon@idylog.com
> >> Objet : Re: Apache Royale 0.9 setup
> >>
> >> Hi Nicolas,
> >>
> >> Yeah, we are still fixing bugs after trying to rename everything.  I
> >> was able to start with:
> >>
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapach
> e
> >>fle
> >>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-
> &data=02%7C01%7C%7C7f61
> >>d36
> >>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7
> >>C63
> >>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%3D
> &
> >>res
> >>erved=0
> >> jsonly/lastSuccess
> >> fulBuild/artifact/out/
> >>
> >> And rename royale-sdk-description.xml to flex-sdk-description.xml
> and
> >> change the closing tag to be flex-sdk-description and FB accepted
> >> that as an SDK on my Mac.
> >>
> >> HTH,
> >> -Alex
> >>
> >> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon"
> <ng...@idylog.com>
> >> wrote:
> >>
> >> >I would like to setup a Apache Royale 0.9 environment.
> >> >I do not want to build it, just get the bin distribution.
> >> >I have FlashBuilder setup (Windows).
> >> >I am not interested in SWF output, just JS.
> >> >
> >> >1. Where is the latest bin distribution ? On Jenkins there are
> >> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename" projects...
> >> >Which is the correct one ?
> >> >
> >> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from "royale-asjs-
> >> rename".
> >> >After unzipping, should I launch any ant task or is it "ready for
> use"
> >> ?
> >> >
> >> >3. I have noticed that in "royale-sdk-description.xml" (in the root
> >> >dir) the opening tag (<flex-sdk-description>) and closing tag
> >> >(</royale-sdk-description>) do not match
> >> >
> >> >4 In Flashbuilder, you cannot "install" the SDK (it did work with
> >> >FlexJS v 0.8). youget the following error : "Directory does not
> >> contain
> >> >a Flex SDK".
> >> >I have tried to copy and rename "royale-sdk-description.xml" as
> >> >"flex-sdk-description.xml" and corrected the closing tag (now
> >> ></flex-sdk-description>) but still no luck. What am I missing ?
> >> >
> >> >5 What about environment variables (Windows) ?
> >> >
> >> >Many thanks in advance
> >> >
> >> >Nicolas Granon
> >> >
> >
> >



RE: Apache Royale 0.9 setup

Posted by Idylog - Nicolas Granon <ng...@idylog.com>.
I had only one namespace reference (it is a very small project!).
Changed it as you say.
Same result (same errors and autocomplete not working at all)

Also noticed that syntax checking is not working anymore.

Clearly, IDE is missing some link to syntax definitions...

(tries to "clean project" : same result)
(tries to close and reopen project : same result)
(tried to close and restart IDE : same result)

Also, there was a "flex-typedefs" folder in flexJS 0.8 but no such folder in
0.9 (and no royale-typedefs).

Nicolas Granon




> -----Message d'origine-----
> De : Peter Ent [mailto:pent@adobe.com.INVALID]
> Envoyé : mercredi 25 octobre 2017 23:40
> À : dev@royale.apache.org; ngranon@idylog.com
> Objet : Re: Apache Royale 0.9 setup
> 
> Hi,
> 
> Yes - change all "flex" and "flexjs" to "royale". So the namespace will
> have "ns.apache.org/royale/basic".
> 
> ‹peter
> 
> On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon" <ng...@idylog.com>
> wrote:
> 
> >Hi Alex,
> >
> >After downloading "apache.royale-jsonly-0.9.0-bin.zip" and unzipping,
> >the "root" directory was accepted by flashbuilder as a SDK directory.
> >
> >However my "stub" project now gives the following compile errors :
> >"internal error in file scope builder subsystem when generating (path
> >to my project base mxml file) : java.lang.nullpointerexception
> Followed
> >by two other errors (internal error in outgoing dependency subsystem
> >and internel error in syntax tree subsystem)
> >
> >Also, auto completion does not work anymore (I have deleted old
> imports
> >like "import org.apache.flex.html.alert" because I suspected that the
> >"flex.html.alert" path was obsolete, but now, Flashbuilder cannot find
> >Alert through autocomplete and thus cannot automatically insert the
> >correct import statement. The same for all classes (autocomplete shows
> >"no suggestion")
> >
> >Something is missing somewhere...!
> >
> >Should I modify the namespace declarations
> >"xmlns:js="library://ns.apache.org/flexjs/basic" ??
> >
> >Nicolas Granon
> >
> >
> >
> >
> >> -----Message d'origine-----
> >> De : Alex Harui [mailto:aharui@adobe.com] Envoyé : mercredi 25
> >> octobre 2017 23:04 À : dev@royale.apache.org; ngranon@idylog.com
> >> Objet : Re: Apache Royale 0.9 setup
> >>
> >> Hi Nicolas,
> >>
> >> Yeah, we are still fixing bugs after trying to rename everything.  I
> >> was able to start with:
> >>
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapach
> e
> >>fle
> >>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-
> &data=02%7C01%7C%7C7f61
> >>d36
> >>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7
> >>C63
> >>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%3D
> &
> >>res
> >>erved=0
> >> jsonly/lastSuccess
> >> fulBuild/artifact/out/
> >>
> >> And rename royale-sdk-description.xml to flex-sdk-description.xml
> and
> >> change the closing tag to be flex-sdk-description and FB accepted
> >> that as an SDK on my Mac.
> >>
> >> HTH,
> >> -Alex
> >>
> >> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon"
> <ng...@idylog.com>
> >> wrote:
> >>
> >> >I would like to setup a Apache Royale 0.9 environment.
> >> >I do not want to build it, just get the bin distribution.
> >> >I have FlashBuilder setup (Windows).
> >> >I am not interested in SWF output, just JS.
> >> >
> >> >1. Where is the latest bin distribution ? On Jenkins there are
> >> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename" projects...
> >> >Which is the correct one ?
> >> >
> >> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from "royale-asjs-
> >> rename".
> >> >After unzipping, should I launch any ant task or is it "ready for
> use"
> >> ?
> >> >
> >> >3. I have noticed that in "royale-sdk-description.xml" (in the root
> >> >dir) the opening tag (<flex-sdk-description>) and closing tag
> >> >(</royale-sdk-description>) do not match
> >> >
> >> >4 In Flashbuilder, you cannot "install" the SDK (it did work with
> >> >FlexJS v 0.8). youget the following error : "Directory does not
> >> contain
> >> >a Flex SDK".
> >> >I have tried to copy and rename "royale-sdk-description.xml" as
> >> >"flex-sdk-description.xml" and corrected the closing tag (now
> >> ></flex-sdk-description>) but still no luck. What am I missing ?
> >> >
> >> >5 What about environment variables (Windows) ?
> >> >
> >> >Many thanks in advance
> >> >
> >> >Nicolas Granon
> >> >
> >
> >



Re: Apache Royale 0.9 setup

Posted by Peter Ent <pe...@adobe.com.INVALID>.
Hi,

Yes - change all "flex" and "flexjs" to "royale". So the namespace will
have "ns.apache.org/royale/basic".

‹peter

On 10/25/17, 5:35 PM, "Idylog - Nicolas Granon" <ng...@idylog.com> wrote:

>Hi Alex,
>
>After downloading "apache.royale-jsonly-0.9.0-bin.zip" and unzipping, the
>"root" directory was accepted by flashbuilder as a SDK directory.
>
>However my "stub" project now gives the following compile errors :
>"internal error in file scope builder subsystem when generating (path to
>my project base mxml file) : java.lang.nullpointerexception
>Followed by two other errors (internal error in outgoing dependency
>subsystem and internel error in syntax tree subsystem)
>
>Also, auto completion does not work anymore (I have deleted old imports
>like "import org.apache.flex.html.alert" because I suspected that the
>"flex.html.alert" path was obsolete, but now, Flashbuilder cannot find
>Alert through autocomplete and thus cannot automatically insert the
>correct import statement. The same for all classes (autocomplete shows
>"no suggestion")
>
>Something is missing somewhere...!
>
>Should I modify the namespace declarations
>"xmlns:js="library://ns.apache.org/flexjs/basic" ??
>
>Nicolas Granon
>
>
>
>
>> -----Message d'origine-----
>> De : Alex Harui [mailto:aharui@adobe.com]
>> Envoyé : mercredi 25 octobre 2017 23:04
>> À : dev@royale.apache.org; ngranon@idylog.com
>> Objet : Re: Apache Royale 0.9 setup
>> 
>> Hi Nicolas,
>> 
>> Yeah, we are still fixing bugs after trying to rename everything.  I
>> was able to start with:
>> 
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapachefle
>>xbuild.cloudapp.net%3A8080%2Fjob%2Froyale-asjs-&data=02%7C01%7C%7C7f61d36
>>9db0945440eae08d51bf04bf6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63
>>6445641238635050&sdata=RJtXiuzNrCftM3HKUx7aWT1HS2X9szPLZd6DnwEhOtA%3D&res
>>erved=0
>> jsonly/lastSuccess
>> fulBuild/artifact/out/
>> 
>> And rename royale-sdk-description.xml to flex-sdk-description.xml and
>> change the closing tag to be flex-sdk-description and FB accepted that
>> as an SDK on my Mac.
>> 
>> HTH,
>> -Alex
>> 
>> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon" <ng...@idylog.com>
>> wrote:
>> 
>> >I would like to setup a Apache Royale 0.9 environment.
>> >I do not want to build it, just get the bin distribution.
>> >I have FlashBuilder setup (Windows).
>> >I am not interested in SWF output, just JS.
>> >
>> >1. Where is the latest bin distribution ? On Jenkins there are
>> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename" projects...
>> >Which is the correct one ?
>> >
>> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from "royale-asjs-
>> rename".
>> >After unzipping, should I launch any ant task or is it "ready for use"
>> ?
>> >
>> >3. I have noticed that in "royale-sdk-description.xml" (in the root
>> >dir) the opening tag (<flex-sdk-description>) and closing tag
>> >(</royale-sdk-description>) do not match
>> >
>> >4 In Flashbuilder, you cannot "install" the SDK (it did work with
>> >FlexJS v 0.8). youget the following error : "Directory does not
>> contain
>> >a Flex SDK".
>> >I have tried to copy and rename "royale-sdk-description.xml" as
>> >"flex-sdk-description.xml" and corrected the closing tag (now
>> ></flex-sdk-description>) but still no luck. What am I missing ?
>> >
>> >5 What about environment variables (Windows) ?
>> >
>> >Many thanks in advance
>> >
>> >Nicolas Granon
>> >
>
>


RE: Apache Royale 0.9 setup

Posted by Idylog - Nicolas Granon <ng...@idylog.com>.
Hi Alex,

After downloading "apache.royale-jsonly-0.9.0-bin.zip" and unzipping, the "root" directory was accepted by flashbuilder as a SDK directory.

However my "stub" project now gives the following compile errors :
"internal error in file scope builder subsystem when generating (path to my project base mxml file) : java.lang.nullpointerexception
Followed by two other errors (internal error in outgoing dependency subsystem and internel error in syntax tree subsystem)

Also, auto completion does not work anymore (I have deleted old imports like "import org.apache.flex.html.alert" because I suspected that the "flex.html.alert" path was obsolete, but now, Flashbuilder cannot find Alert through autocomplete and thus cannot automatically insert the correct import statement. The same for all classes (autocomplete shows "no suggestion")

Something is missing somewhere...!

Should I modify the namespace declarations "xmlns:js="library://ns.apache.org/flexjs/basic" ??

Nicolas Granon




> -----Message d'origine-----
> De : Alex Harui [mailto:aharui@adobe.com]
> Envoyé : mercredi 25 octobre 2017 23:04
> À : dev@royale.apache.org; ngranon@idylog.com
> Objet : Re: Apache Royale 0.9 setup
> 
> Hi Nicolas,
> 
> Yeah, we are still fixing bugs after trying to rename everything.  I
> was able to start with:
> 
> http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs-
> jsonly/lastSuccess
> fulBuild/artifact/out/
> 
> And rename royale-sdk-description.xml to flex-sdk-description.xml and
> change the closing tag to be flex-sdk-description and FB accepted that
> as an SDK on my Mac.
> 
> HTH,
> -Alex
> 
> On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon" <ng...@idylog.com>
> wrote:
> 
> >I would like to setup a Apache Royale 0.9 environment.
> >I do not want to build it, just get the bin distribution.
> >I have FlashBuilder setup (Windows).
> >I am not interested in SWF output, just JS.
> >
> >1. Where is the latest bin distribution ? On Jenkins there are
> >"royale-asjs", "royale-asjs-only", "royale-asjs-rename" projects...
> >Which is the correct one ?
> >
> >2. I have grabbed "apache-royale-0.9.0-bin.zip" from "royale-asjs-
> rename".
> >After unzipping, should I launch any ant task or is it "ready for use"
> ?
> >
> >3. I have noticed that in "royale-sdk-description.xml" (in the root
> >dir) the opening tag (<flex-sdk-description>) and closing tag
> >(</royale-sdk-description>) do not match
> >
> >4 In Flashbuilder, you cannot "install" the SDK (it did work with
> >FlexJS v 0.8). youget the following error : "Directory does not
> contain
> >a Flex SDK".
> >I have tried to copy and rename "royale-sdk-description.xml" as
> >"flex-sdk-description.xml" and corrected the closing tag (now
> ></flex-sdk-description>) but still no luck. What am I missing ?
> >
> >5 What about environment variables (Windows) ?
> >
> >Many thanks in advance
> >
> >Nicolas Granon
> >



Re: Apache Royale 0.9 setup

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Nicolas,

Yeah, we are still fixing bugs after trying to rename everything.  I was
able to start with:

http://apacheflexbuild.cloudapp.net:8080/job/royale-asjs-jsonly/lastSuccess
fulBuild/artifact/out/

And rename royale-sdk-description.xml to flex-sdk-description.xml and
change the closing tag to be flex-sdk-description and FB accepted that as
an SDK on my Mac.

HTH,
-Alex

On 10/25/17, 11:22 AM, "Idylog - Nicolas Granon" <ng...@idylog.com>
wrote:

>I would like to setup a Apache Royale 0.9 environment.
>I do not want to build it, just get the bin distribution.
>I have FlashBuilder setup (Windows).
>I am not interested in SWF output, just JS.
>
>1. Where is the latest bin distribution ? On Jenkins there are
>"royale-asjs", "royale-asjs-only", "royale-asjs-rename" projects... Which
>is
>the correct one ?
>
>2. I have grabbed "apache-royale-0.9.0-bin.zip" from "royale-asjs-rename".
>After unzipping, should I launch any ant task or is it "ready for use" ?
>
>3. I have noticed that in "royale-sdk-description.xml" (in the root dir)
>the
>opening tag (<flex-sdk-description>) and closing tag
>(</royale-sdk-description>) do not match
>
>4 In Flashbuilder, you cannot "install" the SDK (it did work with FlexJS v
>0.8). youget the following error : "Directory does not contain a Flex
>SDK".
>I have tried to copy and rename "royale-sdk-description.xml" as
>"flex-sdk-description.xml" and corrected the closing tag (now
></flex-sdk-description>) but still no luck. What am I missing ?
>
>5 What about environment variables (Windows) ?
>
>Many thanks in advance
>
>Nicolas Granon
>