FWIW, we also have the option of making the SWF support more of an "add-on" instead of its own package. IOW, right now both packages contain mostly the same files and the SWF support is additional files and some slightly different settings.
An add-on package would just contain the additional files and settings so to get SWF support you would have to "npm install" two packages. I don't think I care which way we go on that. -Alex On 12/12/17, 11:17 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" <omup...@gmail.com on behalf of bigosma...@gmail.com> wrote: >I think it would be good if we do: apache-royale-x.x.x and >apache-royale-with-swf-x.x.x. >That makes it much clearer. > >Thanks, >Om > >On Tue, Dec 12, 2017 at 11:04 AM, Alex Harui <aha...@adobe.com.invalid> >wrote: > >> OK, I think I got the packaging fixed. The CI server is building it and >> should finish in 90 minutes or so. >> >> You can try it out locally if you want by syncing up and running "ant >> release" and pointing NPM at the tar.gz file in the out folder. I think >> you need to "npm uninstall flexjs" first. I only tried the -jsonly- >> package and it installed for me. I didn't do any further testing to see >> if the command-line scripts worked or not. If you run against the other >> -bin.tar.gz it should try to run the code that downloads Adobe stuff, >> which might need tuning. >> >> I'm thinking we should create s.apache.org URLs for the nightly builds >>so >> you could do something like: >> >> npm install >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fs.apache. >>org%2FRoyale090NightlyBuild&data=02%7C01%7Caharui%40adobe.com%7C5cf18485a >>7ea436ab37008d541952581%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364 >>87031193280540&sdata=YTCxCqR%2Brex4xYW1l%2B0SL2Yl5d1DeLXLeukb7JyT8Ls%3D&r >>eserved=0 >> >> But before we do that, we should decide on the package names. Right now >> it is: >> >> apache-royale-0.9.0-bin This contains SWF support. >> apache-royale-jsonly-0.9.0.bin >> >> A while back I suggested: >> >> apache-royale-flexjs-0.9.0-bin This contains SWF support. >> apache-royale-0.9.0.bin The default package is JS only. >> >> Another option is: >> >> apache-royale-swf-0.9.0-bin This contains SWF support. >> apache-royale-0.9.0.bin The default package is JS only. >> >> I still think it might be valuable to have 'flexjs' in the package name >> for the package with SWF support. >> >> >> Thoughts? >> -Alex >> >> >> >> On 12/12/17, 10:18 AM, "Alex Harui" <aha...@adobe.com.INVALID> wrote: >> >> >The package on the CI server aren't working with NPM. I think I >>messed up >> >the Ant script. Looking into it now. >> > >> >-Alex >> > >> >On 12/12/17, 10:10 AM, "omup...@gmail.com on behalf of OmPrakash >> >Muppirala" <omup...@gmail.com on behalf of bigosma...@gmail.com> wrote: >> > >> >>On Dec 12, 2017 8:41 AM, "Alex Harui" <aha...@adobe.com.invalid> >>wrote: >> >> >> >> >> >> >> >>On 12/12/17, 3:51 AM, "omup...@gmail.com on behalf of OmPrakash >> >>Muppirala" >> >><omup...@gmail.com on behalf of bigosma...@gmail.com> wrote: >> >> >> >>>On Dec 12, 2017 12:25 AM, "Alex Harui" <aha...@adobe.com.invalid> >> wrote: >> >>> >> >>>I just pushed changes to see if it can work. We'll see after the CI >> >>>server builds it. In theory, you will be able to run: >> >>> >> >>> npm install >> >>>https://na01.safelinks.protection.outlook.com/?url= >> http%3A%2F%2Fapachefl >> >>>e >> >>>x >> >>>build.cloudapp.net%3A8080%2Fjob%2Froyale-asjs% >> 2FlastSuccessfulBuil&data= >> >>>0 >> >>>2 >> >>>%7C01%7Caharui%40adobe.com%7C5d4cb0a761544b1e6dce08d54156 >> c7cb%7Cfa7b1b5a >> >>>7 >> >>>b >> >>>34438794aed2c178decee1%7C0%7C0%7C636486763331683835& >> sdata=99F1YaFJunpkbE >> >>>E >> >>>Z >> >>>WSuZdiO2LJAEHAud55Tq5tx%2FYnM%3D&reserved=0 >> >>>d/artifact/out/apache-royale-jsonly-0.9.0-bin.tar.gz >> >>> >> >>>And it should install the JSOnlu package. Alternatively, you run: >> >>> >> >>> npm install >> >>>https://na01.safelinks.protection.outlook.com/?url= >> http%3A%2F%2Fapachefl >> >>>e >> >>>x >> >>>build.cloudapp.net%3A8080%2Fjob%2Froyale-asjs% >> 2FlastSuccessfulBuil&data= >> >>>0 >> >>>2 >> >>>%7C01%7Caharui%40adobe.com%7C5d4cb0a761544b1e6dce08d54156 >> c7cb%7Cfa7b1b5a >> >>>7 >> >>>b >> >>>34438794aed2c178decee1%7C0%7C0%7C636486763331683835& >> sdata=99F1YaFJunpkbE >> >>>E >> >>>Z >> >>>WSuZdiO2LJAEHAud55Tq5tx%2FYnM%3D&reserved=0 >> >>>d/artifact/out/apache-royale-0.9.0-bin.tar.gz >> >>> >> >>> >> >>>Does this tarball contain the Adobe dependencies as well? >> >> >> >>No, it will try to download the Adobe stuff like the earlier >>npm-flexjs >> >>code did. However, it only need to try to get the Adobe stuff since >> >>other >> >>things it looks like it used to download are in the package >>(framework, >> >>falcon, swfobject). >> >> >> >>Thanks, >> >>-Alex >> >>> >> >> >> >>Sounds good. I will start working on this today. >> >> >> >>Thanks, >> >>Om >> > >> >>