My mistake, I downloaded the regular version, not the jsonly version. So now 
I’m able to configure royale-asjs as a js-only sdk, and run launch 
configurations. The problem I’m seeing now [1] is that Language.swc isn’t where 
jsc thinks it should be (I have it under 
C:\dev\royale\royale-asjs\frameworks\projects\Language\target)



[1] https://paste.apache.org/fb3I





________________________________
From: Alex Harui <aha...@adobe.com.INVALID>
Sent: Tuesday, December 12, 2017 10:38:41 PM
To: dev@royale.apache.org
Subject: Re: Repos and Releases

Actually, it was:

cd royale-asjs/ide/flashbuilder
ant -f antscripts.xml setup

I have updated the wiki to reflect this.  I was able to import the jsonly
SDK and create a new project that compiled without errors.

I'll be looking into the code-assist issue next.

-Alex



On 12/12/17, 9:24 AM, "Alex Harui" <aha...@adobe.com.INVALID> wrote:

>On 12/12/17, 7:20 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:
>
>>Ok, I guess I was missing some context. Piotr’s upthread [1] link made it
>>clear to me what the topic was about…
>>
>>So yes, royale-asjs siblings are recognized and it builds fine with ant
>>all.
>>
>>I tried following the wiki for making it work with FB [2] and ran into
>>some trouble.
>>
>>
>>  1.  The external tools under ide/flashbuilder have references to
>>$ROYALE_HOME (e.g.  stringAttribute
>>key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>value="$ROYALE_HOME/ide/flashbuilder/antscripts.xml"/). I’m not sure if
>>these are place holders for the build, or something that’s supposed to
>>work on mac but on my windows machine I had to replace them with the
>>explicit path.
>
>Yes, the instructions for FB usage needs updating.  I think you have to
>do:
>
>cd ide/flashbuilder
>ant -f antscripts.xml
>
>Before importing the external tools.
>
>
>>  2.  Code completing wasn’t working. Remembering this [3] discussion I
>>tweaked flex-config.xml and am now getting tag completion in mxml, but
>>not in AS3 scripts. I’m seeing this [4] in the FB log.
>
>It is still on my list to try to fix this.
>>
>>
>>One thing I’m not clear about, which is related to (b) is whether we can
>>use FB and similar IDEs with a JS only package. I had to run
>>InstallAdobeSDKs.xml which copies depends on playerglobal.swc and AIR so
>>I’m guessing it needs flash.
>
>The JSOnly package should work in FB.  I'll try it again and see why it
>failed.
>
>-Alex
>>
>>Thanks.
>>
>>
>>[1]
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapachefle
>>x
>>build.cloudapp.net%3A8080%2Fjob%2Froyale-asjs%2FlastSuccessfulBuild%2Fart
>>i
>>fact%2Fout%2F&data=02%7C01%7Caharui%40adobe.com%7Cf4463649f2fe48c9b0b708d
>>5
>>4173ee6d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636486888529206710&
>>s
>>data=4nfCQSPt9m3hp%2FqvZOGoPPvOk%2FdrzX0NARCILiOinNc%3D&reserved=0
>>[2]
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.c
>>o
>>m%2Fapache%2Froyale-asjs%2Fwiki%2FFlash-Builder-4.7&data=02%7C01%7Caharui
>>%
>>40adobe.com%7Cf4463649f2fe48c9b0b708d54173ee6d%7Cfa7b1b5a7b34438794aed2c1
>>7
>>8decee1%7C0%7C0%7C636486888529206710&sdata=Qdb0wUJFEhh%2BnnUZZiUVDXNHeLzB
>>R
>>%2FwV7d%2BmFsRxKmw%3D&reserved=0
>>[3]
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>e
>>x-development.2333347.n4.nabble.com%2FLAST-CALL-Release-FlexJS-FalconJX-0
>>-
>>8-0-tp61275p61654.html&data=02%7C01%7Caharui%40adobe.com%7Cf4463649f2fe48
>>c
>>9b0b708d54173ee6d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364868885
>>2
>>9206710&sdata=rgtHk9T02d4%2BqFNjRiomfNph0KAZFmPv0bkFdl7P7xw%3D&reserved=0
>>[4]
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.ap
>>a
>>che.org%2Fmb8f&data=02%7C01%7Caharui%40adobe.com%7Cf4463649f2fe48c9b0b708
>>d
>>54173ee6d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636486888529206710
>>&
>>sdata=7zxTC0iyY5U6yDi9qUU0JKm5%2Fi6Q8Tz9v3BHmQ2cuVY%3D&reserved=0
>>
>>
>>
>>
>>From: Alex Harui<mailto:aha...@adobe.com.INVALID>
>>Sent: Tuesday, December 12, 2017 10:15 AM
>>To: dev@royale.apache.org<mailto:dev@royale.apache.org>
>>Subject: Re: Repos and Releases
>>
>>
>>
>>On 12/12/17, 12:06 AM, "Yishay Weiss" <yishayj...@hotmail.com> wrote:
>>
>>>I’m trying to understand what’s going on here, so I’ll ask some naïve
>>>questions:
>>>
>>>
>>>  1.  Are royale-compiler and royale-typedefs supposed to be merged into
>>>royale-asjs?
>>
>>The current package doesn't "merge" as much as it co-packages all 3 repos
>>into one package.  IOW, the package has 3 subfolders (royale-asjs,
>>royale-compiler, royale-typedefs).
>>
>>>  2.  If so, why does running ant all from royale-asjs clone said repos?
>>
>>It depends on what you tried.  If you just cloned royale-asjs and run
>>"ant
>>all", the script will still clone the repos, but for me, if I run "ant
>>all" in the royale-asjs folder of the nightly source package, it doesn't
>>clone the repos as it finds royale-compiler and royale-typedefs.  Of
>>course, something might have broken so I will verify that tomorrow.
>>
>>>  3.  “Folks should have noticed that the
>>>IDE-compatible folder is now a royale-asjs subfolder in the binary
>>>package.” What’s the path to that folder?
>>
>>royale-asjs
>>
>>>  4.  Will my IDE (Flash Builder) recognize changes I make to the
>>>framework, in other words will re-building the framework from modified
>>>source update this (3) folder?
>>
>>I'm not sure what configuration you are trying, but the source package
>>really is like packaging up the parent folder of the 3 repos and the
>>binary package is really like packaging up the parent folder of the 3
>>repos after building everything.   So if changes are detected today, they
>>should be in this package too.
>>
>>HTH,
>>-Alex
>>>
>>>From: Alex Harui<mailto:aha...@adobe.com.INVALID>
>>>Sent: Tuesday, December 12, 2017 3:03 AM
>>>To: dev@royale.apache.org<mailto:dev@royale.apache.org>
>>>Subject: Re: Repos and Releases
>>>
>>>I think I have the packaging scripts set up to package the 3 repos into
>>>a
>>>single source package.  The nightly builds for the past few days have
>>>been
>>>churning out this new package.  Folks should have noticed that the
>>>IDE-compatible folder is now a royale-asjs subfolder in the binary
>>>package.
>>>
>>>I'll be spending a bit more time on some final checks (like execute bits
>>>on the scripts) but I think we're at the point where others should
>>>review
>>>the package to see if they like it or not and report things that need
>>>improvement.  If we want to bake in NPM artifact generation into the
>>>scripts, we should get going on that now.
>>>
>>>Once we get consensus that this package structure is the one we want to
>>>release, the next thing to try is to create a release candidate.  My
>>>current thinking is to use Maven to generate its per-repo source
>>>packages
>>>and alter the Ant script to grab the 3 packages and run the release
>>>script
>>>in those packages.
>>>
>>>Constructive feedback welcome,
>>>-Alex
>>>
>>>On 12/5/17, 11:42 PM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com>
>>>wrote:
>>>
>>>>Ok I will wait for your final push to develop. In any case it looks
>>>>good
>>>>till now.
>>>>
>>>>Once you update Readme I can make a build - I haven't done ant build
>>>>for
>>>>a
>>>>while.
>>>>
>>>>Thanks, Piotr
>>>>
>>>>On Wed, Dec 6, 2017, 08:38 Alex Harui <aha...@adobe.com.invalid> wrote:
>>>>
>>>>> Hi Piotr,
>>>>>
>>>>> I have all 3 feature/rename branches merged into the develop branch
>>>>> locally.  I'm not sure it is necessary to merge the other way first,
>>>>> especially in royale-asjs because most of the changes were in the
>>>>>compiler.
>>>>>
>>>>> I was going to push it tomorrow (for me) so I can babysit the CI
>>>>>servers
>>>>> if they don't pass since I haven't tested the merge on Windows (the
>>>>>CI
>>>>> server has built and ran tests on Windows on feature/rename).
>>>>>
>>>>> I can hold off if folks want to do more testing on feature/rename
>>>>>before
>>>>> the merge to develop.
>>>>>
>>>>> Regarding Flash dependencies, I would like to see some folks use a
>>>>>clean
>>>>> machine or try to simulate a clean machine (by removing folders and
>>>>> environment variables) and see if they can get the repos and build
>>>>> everything, although that reminds me that I need to update the
>>>>>various
>>>>> READMEs first.
>>>>>
>>>>> Thanks,
>>>>> -Alex
>>>>>
>>>>> On 12/5/17, 11:19 PM, "Piotr Zarzycki" <piotrzarzyck...@gmail.com>
>>>>>wrote:
>>>>>
>>>>> >Hi Alex,
>>>>> >
>>>>> >I did merge develop into rename for asjs repo locally, but not sure
>>>>> >whether
>>>>> >I can push it to the rename - let me know.
>>>>> >Apart of that you have said that you need volunteers that check
>>>>>whether
>>>>> >there are still places with dependencies to Flash. - What do you
>>>>>mean
>>>>>by
>>>>> >that actually ? Do you mean making build on branches ? I did it by
>>>>>maven
>>>>> >but not sure whether it is sufficient.
>>>>> >
>>>>> >I did also use your rename branch with Moonshine and everything
>>>>>looks
>>>>>ok.
>>>>> >
>>>>> >I have also discovered that in the following locations for all
>>>>>modules
>>>>> >"frameworks\js\projects\BasicJS\target\" we have swc - probably it
>>>>>should
>>>>> >be excluded in the distribution package build for ant.
>>>>> >
>>>>> >Thanks, Piotr
>>>>> >
>>>>> >2017-12-03 12:53 GMT+01:00 Piotr Zarzycki
>>>>><piotrzarzyck...@gmail.com>:
>>>>> >
>>>>> >> In that place I think we should have Wiki page called: "How to
>>>>>download
>>>>> >> IDE ready Royale framework" - or something similar. It should
>>>>>describe
>>>>> >>what
>>>>> >> kind of package do we have and what people need to do in order to
>>>>>have
>>>>> >>SWF
>>>>> >> output.
>>>>> >>
>>>>> >> I don't think we should have in the title word "binary package" -
>>>>>It
>>>>> >> wasn't mean to me anything when I come up to Apache Flex project.
>>>>>I
>>>>> >>believe
>>>>> >> there could be more people like me.
>>>>> >>
>>>>> >> Thanks, Piotr
>>>>> >>
>>>>> >>
>>>>> >> 2017-12-03 8:22 GMT+01:00 Alex Harui <aha...@adobe.com.invalid>:
>>>>> >>
>>>>> >>> I'm going to try to reply to everyone else in this one post...
>>>>> >>>
>>>>> >>> Today, for folks just wanting to write an app with Royale, the
>>>>>nightly
>>>>> >>>for
>>>>> >>> "JSOnly" has everything you need to create JS output, but not SWF
>>>>> >>>output.
>>>>> >>> The nightly for the "FlexJS" package does not (and can never)
>>>>>bundle
>>>>> >>>the
>>>>> >>> Adobe playerglobal and airglobal needed to generate SWF output.
>>>>>The
>>>>> >>> "FlexJS" nightly contains an Ant script to copy in the Adobe bits
>>>>>after
>>>>> >>> you download them.
>>>>> >>>
>>>>> >>> And now, I am proposing to change this packaging so that the
>>>>>source
>>>>>zip
>>>>> >>> will contain 3 folders representing the 3 repos (royals-compiler,
>>>>> >>> royals-typedefs, royale-asjs) and without more fiddling, the
>>>>>JSOnly
>>>>> >>>binary
>>>>> >>> artifact will contain what is currently in the "JSOnly" nightly
>>>>>but
>>>>>in
>>>>> >>>a
>>>>> >>> royale-asjs folder and be otherwise ready to go for Flash Builder
>>>>>and
>>>>> >>> other IDEs, and the "FlexJS" binary artifact will again require
>>>>> >>>running an
>>>>> >>> Ant script to position the Adobe bits.
>>>>> >>>
>>>>> >>> For these IDE users, SWF functionality is essentially something
>>>>>you
>>>>> >>>choose
>>>>> >>> early when deciding what package to download.  I'm not sure how,
>>>>>under
>>>>> >>> Apache rules, to create a binary artifact that is an add-in of
>>>>>the
>>>>> >>> SWF-only bits.  Binary artifacts are supposed to be the results
>>>>>of
>>>>>a
>>>>> >>> compilation of a source package.  I suppose we could create some
>>>>>sort
>>>>> >>>of
>>>>> >>> script that overlays the SWF-only bits over a JSOnly binary.
>>>>> >>>
>>>>> >>> Meanwhile, to answer Carlos's question, I think for Maven users
>>>>>you
>>>>> >>>choose
>>>>> >>> to get SWF output merely by adding the Adobe
>>>>>airglobal/playerglobal
>>>>> >>> dependencies to your POM.  These dependencies are in by default
>>>>>for
>>>>>the
>>>>> >>> examples.  Although it occurs to me that MDLExample shouldn't
>>>>>have
>>>>> >>>them,
>>>>> >>> so maybe I'll double-check that when I have time tomorrow.
>>>>> >>>
>>>>> >>> I will have limited time to work on this until tomorrow night.
>>>>> >>>
>>>>> >>> HTH,
>>>>> >>> -Alex
>>>>> >>>
>>>>> >>> On 12/2/17, 1:14 PM, "omup...@gmail.com on behalf of OmPrakash
>>>>> >>>Muppirala"
>>>>> >>> <omup...@gmail.com on behalf of bigosma...@gmail.com> wrote:
>>>>> >>>
>>>>> >>> >On Dec 2, 2017 11:20 AM, "Piotr Zarzycki"
>>>>><piotrzarzyck...@gmail.com>
>>>>> >>> >wrote:
>>>>> >>> >
>>>>> >>> >As an application developer no. You are getting that package [1]
>>>>>and
>>>>> >>>have
>>>>> >>> >everything what you need to build app to swf an js.
>>>>> >>> >
>>>>> >>> >[1]
>>>>> >>>
>>>>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%<https://n
>>>>>>a
>>>>>>0<https://na01.safelinks.protection.outlook.com/?url=http%3A%25%3chtt
>>>>>>p
>>>>>>s://na0>
>>>>>>1.safelinks.protection.outlook.com/?url=http%3A%25>
>>>>> >>> 2F%2Fapacheflex
>>>>> >>> >build.cloudapp.net%3A8080%2Fjob%2Froyale-&data=02%7C01%7Caharui%
>>>>> >>> 40adobe.co
>>>>> >>> >m%7Cacd29e28cb594f6788fd08d539c9a8ff%7Cfa7b1b5a7b34438794ae
>>>>> >>> d2c178decee1%7C
>>>>> >>> >0%7C0%7C636478460681913302&sdata=84IVbhNcVYNkti7qeE%2B6VeEJ
>>>>> >>> 7E8uDM0y9NDychV
>>>>> >>> >bYvc%3D&reserved=0
>>>>> >>> >asjs/lastSuccessfulBuild/artifact/out/
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >That's good to know.  I should be able to use this in the npm
>>>>>package
>>>>> >>> >right?
>>>>> >>> >
>>>>> >>> >Thanks,
>>>>> >>> >Om
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >
>>>>> >>> >Thanks, Piotr
>>>>> >>> >
>>>>> >>> >On Sat, Dec 2, 2017, 19:33 OmPrakash Muppirala
>>>>><bigosma...@gmail.com>
>>>>> >>> >wrote:
>>>>> >>> >
>>>>> >>> >> On Dec 2, 2017 9:08 AM, "Piotr Zarzycki"
>>>>><piotrzarzyck...@gmail.com
>>>>> >
>>>>> >>> >> wrote:
>>>>> >>> >>
>>>>> >>> >> Hi Om,
>>>>> >>> >>
>>>>> >>> >> Not sure what do you mean? We have it. You are downloading one
>>>>>zip
>>>>> >>>file
>>>>> >>> >and
>>>>> >>> >> using it in IDE.
>>>>> >>> >>
>>>>> >>> >>
>>>>> >>> >>
>>>>> >>> >> Are we not downloading falcon, gcc etc separately?
>>>>> >>> >>
>>>>> >>> >> Thanks,
>>>>> >>> >> Om
>>>>> >>> >>
>>>>> >>> >>
>>>>> >>> >>
>>>>> >>> >> Piotr
>>>>> >>> >>
>>>>> >>> >> On Sat, Dec 2, 2017, 17:30 OmPrakash Muppirala
>>>>> >>><bigosma...@gmail.com>
>>>>> >>> >> wrote:
>>>>> >>> >>
>>>>> >>> >> > With this setup, can we have the binary release package all
>>>>>the
>>>>> >>> >> > dependencies in one zip file?
>>>>> >>> >> >
>>>>> >>> >> > Thanks,
>>>>> >>> >> > Om
>>>>> >>> >> >
>>>>> >>> >> > On Dec 2, 2017 8:25 AM, "Harbs" <harbs.li...@gmail.com>
>>>>>wrote:
>>>>> >>> >> >
>>>>> >>> >> > > I don’t have much to add. For me, the simpler, the better.
>>>>>The
>>>>> >>> >> decisions
>>>>> >>> >> > > should be to get the first release out as quickly as
>>>>>possible
>>>>> >>>and
>>>>> >>> >>make
>>>>> >>> >> > our
>>>>> >>> >> > > release process as easy as it can be so we can release
>>>>>often.
>>>>> >>> >> > >
>>>>> >>> >> > > > On Dec 2, 2017, at 2:00 PM, Piotr Zarzycki <
>>>>> >>> >> piotrzarzyck...@gmail.com>
>>>>> >>> >> > > wrote:
>>>>> >>> >> > > >
>>>>> >>> >> > > >  I would also see in the develop Harbs
>>>>> >>> >> > > > changes with namespaces before release, after your
>>>>>merge.
>>>>> >>> >> > >
>>>>> >>> >> > > I’ll try to finish that up tomorrow.
>>>>> >>> >> > >
>>>>> >>> >> > >
>>>>> >>> >> >
>>>>> >>> >>
>>>>> >>>
>>>>> >>>
>>>>> >>
>>>>> >>
>>>>> >> --
>>>>> >>
>>>>> >> Piotr Zarzycki
>>>>> >>
>>>>> >> Patreon:
>>>>> >>*
>>>>>
>>>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.p
>>>>>a
>>>>>t
>>>>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>>>>> %7Cb14108fd4443
>>>>>
>>>>>>>42bdb2b108d53c79ba28%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63
>>>>>>>6
>>>>>>>4
>>>>>>>8
>>>>>>>14
>>>>>
>>>>>>>15877839045&sdata=br%2F4ewsBWblNGYXfpJXrQaqGhQqD%2F3XJcedj3XNPMfs%3D
>>>>>>>&
>>>>>>>r
>>>>>>>e
>>>>>>>se
>>>>> >>rved=0
>>>>> >>
>>>>> >><
>>>>>
>>>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.p
>>>>>a
>>>>>t
>>>>> >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>>>>> %7Cb14108fd4443
>>>>>
>>>>>>>42bdb2b108d53c79ba28%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63
>>>>>>>6
>>>>>>>4
>>>>>>>8
>>>>>>>14
>>>>>
>>>>>>>15877839045&sdata=br%2F4ewsBWblNGYXfpJXrQaqGhQqD%2F3XJcedj3XNPMfs%3D
>>>>>>>&
>>>>>>>r
>>>>>>>e
>>>>>>>se
>>>>> >>rved=0>*
>>>>> >>
>>>>> >
>>>>> >
>>>>> >
>>>>> >--
>>>>> >
>>>>> >Piotr Zarzycki
>>>>> >
>>>>> >Patreon:
>>>>> >*
>>>>>
>>>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.p
>>>>>a
>>>>>t
>>>>>r
>>>>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>>>>> %7Cb14108fd444342
>>>>>
>>>>>>bdb2b108d53c79ba28%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63648
>>>>>>1
>>>>>>4
>>>>>>1
>>>>>>58
>>>>>
>>>>>>77839045&sdata=br%2F4ewsBWblNGYXfpJXrQaqGhQqD%2F3XJcedj3XNPMfs%3D&res
>>>>>>e
>>>>>>r
>>>>>>v
>>>>>>ed
>>>>> >=0
>>>>> ><
>>>>>
>>>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.p
>>>>>a
>>>>>t
>>>>>r
>>>>> >eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com
>>>>> %7Cb14108fd444342
>>>>>
>>>>>>bdb2b108d53c79ba28%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63648
>>>>>>1
>>>>>>4
>>>>>>1
>>>>>>58
>>>>>
>>>>>>77839045&sdata=br%2F4ewsBWblNGYXfpJXrQaqGhQqD%2F3XJcedj3XNPMfs%3D&res
>>>>>>e
>>>>>>r
>>>>>>v
>>>>>>ed
>>>>> >=0>*
>>>>>
>>>>>
>>>
>>
>

Reply via email to