I pushed an Ant script that copies ASDoc from the CI server and copies it to the asdoc folder on the site. I also pushed the ASDoc.
I was going to hook this up to a CI build but am having second thoughts. Maybe we should only update after a release. Otherwise, folks may find stuff in ASDoc that is only in the nightly and hasn't been released. Thoughts? -Alex On 2/6/18, 12:38 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote: >Hi Alex, > >in fact I think that's what it should be :) >don't know if as part of the website or in the royale-docs live url. >Anyway the proposed url is ok. > >When I updated the website I overlay the folder with changes, as in the >website there's no "/asdoc/" url it will be untouched by my changes > >thanks > > > > > > >2018-02-06 6:29 GMT+01:00 Alex Harui <aha...@adobe.com.invalid>: > >> ASDoc is looking better. I was looking into tools to understand how >> google crawls sites and found that I can't use them on Jenkins. I also >> saw in another thread that there is a way to get ASF Jenkins to push >> changes to a gitpubsub site. Also, the ASDoc URL is long and ugly. >> >> So, I'm thinking we should create a Jenkins job to copy ASDoc to >> royale.a.o. Does anybody have any reason we shouldn't publish ASDoc on >> royale.a.o? Also, what folder should we use? royale.a.o/asdoc/? >> >> Thoughts? >> -Alex >> >> On 2/5/18, 9:44 AM, "Gabe Harbs" <harbs.li...@gmail.com> wrote: >> >> >> What did you clean out? >> > >> >Everything. >> > >> >I deleted the entire contents of the three repo folders except the .git >> >folder. >> > >> >I then stashed my local “changes" and pulled develop to bring my repo >> >into a clean up-to-date state. >> > >> >I’m not sure what the problem was. >> > >> >Harbs >> > >> >> On Feb 5, 2018, at 7:37 PM, Alex Harui <aha...@adobe.com.INVALID> >> wrote: >> >> >> >> What did you clean out? It might help others if you update the >>scripts >> >>to >> >> clean up better. I thought it was working correctly. >> >> >> >> When things get renamed, the scripts don't always clean out the old >> >> folders. >> >> >> >> -Alex >> >> >> >> On 2/5/18, 9:29 AM, "Gabe Harbs" <harbs.li...@gmail.com >> >><mailto:harbs.li...@gmail.com>> wrote: >> >> >> >>> I manually cleaned out my repo folders, pulled again and now it >>seems >> >>>to >> >>> be working. >> >>> >> >>> It looks like ant wipe-all on the compiler and ant clean all on >>asjs, >> >>> doesn’t quite clean everything… >> >>> >> >>>> On Feb 5, 2018, at 7:13 PM, Gabe Harbs <harbs.li...@gmail.com> >>wrote: >> >>>> >> >>>> It looks like I needed to set some env vars. >> >>>> >> >>>> I did so, and I’m getting some JSON files, but not the full thing. >> >>>> >> >>>> I just updated my repos and did ant clean all. I’m now getting a >> >>>>failed >> >>>> build of Royale and I’m not sure why... >> >>>> >> >>>> royale.royaletasks.jar: >> >>>> >> >>>> jar: >> >>>> >> >>>> main: >> >>>> >> >>>> main: >> >>>> >> >>>> download: >> >>>> [echo] /Apache/royale-asjs >> >>>> [unjar] Expanding: >> >>>> /Apache/royale-asjs/js/lib/google/closure-compiler/compiler.jar >>into >> >>>> /Apache/royale-typedefs/js/target/temp/externs >> >>>> [unzip] Expanding: >> >>>> /Apache/royale-typedefs/js/target/temp/externs/externs.zip into >> >>>> /Apache/royale-typedefs/js/target/downloads >> >>>> [get] Getting: >> >>>> >> >>>>https://na01.safelinks.protection.outlook.com/?url= >> https%3A%2F%2Fstorag >> >>>>e >> >>>><https://na01.safelinks.protection.outlook.com/?url= >> https%3A%2F%2Fstora >> >>>>ge>. >> >>>> googleapis.com >> >>>><https://na01.safelinks.protection.outlook.com/?url= >> http%3A%2F%2Fgoogle >> >>>>apis.com%2F&data=02%7C01%7Caharui%40adobe.com% >> 7Cea3588c69d96467c165f08d >> >>>>56cc01d3d%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0% >> 7C6365344947393196 >> >>>>87&sdata=wz0mlDPXSNb9R9uIL55hVuaRVCE1Qsxa5EN5XZoF1K4%3D&reserved=0>% >> 2Fg >> >>>>oogle-code-archive-downloads%2Fv2%2Fcode.google.com >> >>>><https://na01.safelinks.protection.outlook.com/?url= >> http%3A%2F%2F2fcode >> >>>>.google.com%2F&data=02%7C01%7Caharui%40adobe.com% >> 7Cea3588c69d96467c165f >> >>>>08d56cc01d3d%7C71f1da39c0a84d5a8d88a67b23c3 >> 0bf4%7C0%7C0%7C6365344947393 >> >>>>19687&sdata=kkKyUtW7yWmIlI2YaMM2084mFatUbp >> lmnr6PBa26PDU%3D&reserved=0>% >> >>>>2Fc >> >>>> losureidl%2Fsvg.js&data=02%7C01%7Caharui%40adobe.com >> >>>><https://na01.safelinks.protection.outlook.com/?url= >> http%3A%2F%2F40adob >> >>>>e.com%2F&data=02%7C01%7Caharui%40adobe.com% >> 7Cea3588c69d96467c165f08d56c >> >>>>c01d3d%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0% >> 7C636534494739319687& >> >>>>sdata=OdEf7fY9Th9Rzl0I47YgM0c%2F0nkANAERsBzzoNptghc%3D& >> reserved=0>%7Ce7 >> >>>>402a81cda54e1dbc >> >>>> >> >>>>e608d56cbe0f88%7C71f1da39c0a84d5a8d88a67b23c3 >> 0bf4%7C0%7C0%7C63653448592 >> >>>>05 >> >>>> >> >>>>06853&sdata=NwzNAbDc3gdOLz94AJG1T8sf1%2FYeEzPZIjxsLLCCN68%3D& >> reserved=0 >> >>>> >> >>>><https://na01.safelinks.protection.outlook.com/?url= >> https%3A%2F%2Fstora >> >>>>ge >> >>>><https://na01.safelinks.protection.outlook.com/?url= >> https%3A%2F%2Fstora >> >>>>ge> >> >>>> .googleapis.com >> >>>><https://na01.safelinks.protection.outlook.com/?url= >> http%3A%2F%2Fgoogle >> >>>>apis.com%2F&data=02%7C01%7Caharui%40adobe.com% >> 7Cea3588c69d96467c165f08d >> >>>>56cc01d3d%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0% >> 7C6365344947393196 >> >>>>87&sdata=wz0mlDPXSNb9R9uIL55hVuaRVCE1Qsxa5EN5XZoF1K4%3D&reserved=0>% >> 2Fg >> >>>>oogle-code-archive-downloads%2Fv2%2Fcode.google.com >> >>>><https://na01.safelinks.protection.outlook.com/?url= >> http%3A%2F%2F2fcode >> >>>>.google.com%2F&data=02%7C01%7Caharui%40adobe.com% >> 7Cea3588c69d96467c165f >> >>>>08d56cc01d3d%7C71f1da39c0a84d5a8d88a67b23c3 >> 0bf4%7C0%7C0%7C6365344947393 >> >>>>19687&sdata=kkKyUtW7yWmIlI2YaMM2084mFatUbp >> lmnr6PBa26PDU%3D&reserved=0>% >> >>>>2F >> >>>> closureidl%2Fsvg.js&data=02%7C01%7Caharui%40adobe.com >> >>>><https://na01.safelinks.protection.outlook.com/?url= >> http%3A%2F%2F40adob >> >>>>e.com%2F&data=02%7C01%7Caharui%40adobe.com% >> 7Cea3588c69d96467c165f08d56c >> >>>>c01d3d%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0% >> 7C636534494739319687& >> >>>>sdata=OdEf7fY9Th9Rzl0I47YgM0c%2F0nkANAERsBzzoNptghc%3D& >> reserved=0>%7Ce7 >> >>>>402a81cda54e1db >> >>>> >> >>>>ce608d56cbe0f88%7C71f1da39c0a84d5a8d88a67b23c3 >> 0bf4%7C0%7C0%7C6365344859 >> >>>>20 >> >>>> >> >>>>506853&sdata=NwzNAbDc3gdOLz94AJG1T8sf1%2FYeEzPZIjxsLLCCN68%3D& >> reserved= >> >>>>0> >> >>>> [get] To: /Apache/royale-typedefs/js/target/downloads/svg.js >> >>>> >> >>>> double-check-file: >> >>>> [echo] ${env.ROYALE_DOWNLOAD_CACHE} >> >>>> [echo] Need file: ${still_no_file} >> >>>> >> >>>> get-from-cache-if-needed: >> >>>> >> >>>> fail-if-not-found: >> >>>> >> >>>> preprocess: >> >>>> >> >>>> externc: >> >>>> [java] Error: Could not find or load main class >> >>>> org.apache.royale.compiler.clients.EXTERNC >> >>>> >> >>>> BUILD FAILED >> >>>> /Apache/royale-asjs/build.xml:1753: The following error occurred >> while >> >>>> executing this line: >> >>>> /Apache/royale-asjs/build.xml:1825: The following error occurred >> while >> >>>> executing this line: >> >>>> /Apache/royale-typedefs/build.xml:52: The following error occurred >> >>>> while executing this line: >> >>>> /Apache/royale-typedefs/js/build.xml:159: Java returned: 1 >> >>>> >> >>>> Total time: 58 seconds >> >>>> Harbss-MacBook-Pro:royale-asjs harbs$ >> >>>> >> >>>>> On Feb 5, 2018, at 6:32 PM, Gabe Harbs <harbs.li...@gmail.com >> >>>>><mailto:harbs.li...@gmail.com> >> >>>>> <mailto:harbs.li...@gmail.com <mailto:harbs.li...@gmail.com>>> >> wrote: >> >>>>> >> >>>>> I’m using ant, but I’m not getting the json files. >> >>>>> >> >>>>> Now that I know where to look, I’ll try and examine the script and >> >>>>>see >> >>>>> if I can figure it out… >> >>>>> >> >>>>>> On Feb 5, 2018, at 6:09 PM, Alex Harui <aha...@adobe.com.INVALID >> >>>>>><mailto:aha...@adobe.com.INVALID> >> >>>>>> <mailto:aha...@adobe.com.INVALID >> >>>>>><mailto:aha...@adobe.com.INVALID>>> wrote: >> >>>>>> >> >>>>>> The Ant script for examples/royale/ASDoc builds the JSON files. >>I >> >>>>>> have >> >>>>>> not taken the time to figure out how to make Maven call the ASDoc >> >>>>>> compiler. Someone with more Maven knowledge might be faster at >> >>>>>> figuring >> >>>>>> that out. >> >>>>>> >> >>>>>> Thanks, >> >>>>>> -Alex >> >>>>>> >> >>>>>> On 2/5/18, 7:21 AM, "carlos.rov...@gmail.com >> >>>>>><mailto:carlos.rov...@gmail.com> >> >>>>>> <mailto:carlos.rov...@gmail.com <mailto:carlos.rov...@gmail.com>> >> >>>>>>on behalf of Carlos Rovira" >> >>>>>> <carlos.rov...@gmail.com <mailto:carlos.rov...@gmail.com> >> >>>>>><mailto:carlos.rov...@gmail.com <mailto:carlos.rov...@gmail.com>> >>on >> >>>>>>behalf >> >>>>>> of carlosrov...@apache.org <mailto:carlosrov...@apache.org> >> >>>>>><mailto:carlosrov...@apache.org <mailto:carlosrov...@apache.org>>> >> >>>>>>wrote: >> >>>>>> >> >>>>>>> Hi I'm in the same boat. >> >>>>>>> I can build the App with Maven. >> >>>>>>> I ran it and saw the main layout but the list are not populated >> >>>>>>> >> >>>>>>> 2018-02-05 11:10 GMT+01:00 Gabe Harbs <harbs.li...@gmail.com >> >>>>>>><mailto:harbs.li...@gmail.com> >> >>>>>>> <mailto:harbs.li...@gmail.com <mailto:harbs.li...@gmail.com>>>: >> >>>>>>> >> >>>>>>>> I don’t see any son files when I build the framework. >> >>>>>>>> >> >>>>>>>> Building the ASDoc project builds the ASDoc app, but again, I >>see >> >>>>>>>>no >> >>>>>>>> JSON >> >>>>>>>> files anywhere. >> >>>>>>>> >> >>>>>>>> What creates the JSON files? >> >>>>>>>> >> >>>>>>>>> On Feb 4, 2018, at 8:08 AM, Alex Harui >><aha...@adobe.com.INVALID >> >>>>>>>>><mailto:aha...@adobe.com.INVALID> >> >>>>>>>>> <mailto:aha...@adobe.com.INVALID >> >>>>>>>>><mailto:aha...@adobe.com.INVALID>>> >> >>>>>>>> wrote: >> >>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>>> The big question: How do I build this with real JSON data >> >>>>>>>>>>locally, >> >>>>>>>> so I >> >>>>>>>>>> can work on the ASDoc app? >> >>>>>>>>> >> >>>>>>>>> What error are you getting? It builds with Ant for me and >>the CI >> >>>>>>>> server >> >>>>>>>>> is building it. The build script will build the JSON. >> >>>>>>>> >> >>>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> -- >> >>>>>>> Carlos Rovira >> >>>>>>> >> >>>>>>> >> >>>>>>>https://na01.safelinks.protection.outlook.com/?url= >> http%3A%2F%2Fabou >> >>>>>>>t >> >>>>>>>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F >>>>>>>>>na01.safelinks.protection.outlook&data=02%7C01%7Caharui%40adobe.co >>>>>>>>>m%7C353b69992e0a4801268508d56d3d09b3%7C71f1da39c0a84d5a8d88a67b23c >>>>>>>>>30bf4%7C0%7C0%7C636535031291442280&sdata=MP1S72Zz6mInHd%2Brhymc7yR >>>>>>>>>JGgK9v%2BEKhVQY0xTfJ0E%3D&reserved=0. >> com/?url=http%3A%2F%2Fabo >> >>>>>>>ut>. >> >>>>>>> me%2 >> >>>>>>> >> >>>>>>>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F >>>>>>>>>na01.safelinks.protection.outlook&data=02%7C01%7Caharui%40adobe.co >>>>>>>>>m%7C353b69992e0a4801268508d56d3d09b3%7C71f1da39c0a84d5a8d88a67b23c >>>>>>>>>30bf4%7C0%7C0%7C636535031291442280&sdata=MP1S72Zz6mInHd%2Brhymc7yR >>>>>>>>>JGgK9v%2BEKhVQY0xTfJ0E%3D&reserved=0. >> com/?url=http%3A%2F%2Fabo >> >>>>>>>ut >> >>>>>>>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F >>>>>>>>>na01.safelinks.protection.outlook&data=02%7C01%7Caharui%40adobe.co >>>>>>>>>m%7C353b69992e0a4801268508d56d3d09b3%7C71f1da39c0a84d5a8d88a67b23c >>>>>>>>>30bf4%7C0%7C0%7C636535031291442280&sdata=MP1S72Zz6mInHd%2Brhymc7yR >>>>>>>>>JGgK9v%2BEKhVQY0xTfJ0E%3D&reserved=0. >> com/?url=http%3A%2F%2Fabo >> >>>>>>>ut> >> >>>>>>> .me%2> >> >>>>>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com >> >>>>>>>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F >>>>>>>>>na01.safelinks.protection.outlook&data=02%7C01%7Caharui%40adobe.co >>>>>>>>>m%7C353b69992e0a4801268508d56d3d09b3%7C71f1da39c0a84d5a8d88a67b23c >>>>>>>>>30bf4%7C0%7C0%7C636535031291442280&sdata=MP1S72Zz6mInHd%2Brhymc7yR >>>>>>>>>JGgK9v%2BEKhVQY0xTfJ0E%3D&reserved=0. >> com/?url=http%3A%2F%2F40a >> >>>>>>>dobe.com%2F&data=02%7C01%7Caharui%40adobe.com% >> 7Cea3588c69d96467c165f >> >>>>>>>08d56cc01d3d%7C71f1da39c0a84d5a8d88a67b23c3 >> 0bf4%7C0%7C0%7C6365344947 >> >>>>>>>39319687&sdata=OdEf7fY9Th9Rzl0I47YgM0c% >> 2F0nkANAERsBzzoNptghc%3D&rese >> >>>>>>>rved=0> >> >>>>>>> >> >>>>>>>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F >>>>>>>>>na01.safelinks.protection.outlook&data=02%7C01%7Caharui%40adobe.co >>>>>>>>>m%7C353b69992e0a4801268508d56d3d09b3%7C71f1da39c0a84d5a8d88a67b23c >>>>>>>>>30bf4%7C0%7C0%7C636535031291442280&sdata=MP1S72Zz6mInHd%2Brhymc7yR >>>>>>>>>JGgK9v%2BEKhVQY0xTfJ0E%3D&reserved=0. >> com/?url=http%3A%2F%2F40a >> >>>>>>>do >> >>>>>>>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F >>>>>>>>>na01.safelinks.protection.outlook&data=02%7C01%7Caharui%40adobe.co >>>>>>>>>m%7C353b69992e0a4801268508d56d3d09b3%7C71f1da39c0a84d5a8d88a67b23c >>>>>>>>>30bf4%7C0%7C0%7C636535031291442280&sdata=MP1S72Zz6mInHd%2Brhymc7yR >>>>>>>>>JGgK9v%2BEKhVQY0xTfJ0E%3D&reserved=0. >> com/?url=http%3A%2F%2F40a >> >>>>>>>do> >> >>>>>>> be.com >> >>>>>>>>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fb >>>>>>>>>e >> . >> >>>>>>>com%2F&data=02%7C01%7Caharui%40adobe.com% >> 7Cea3588c69d96467c165f08d56 >> >>>>>>>cc01d3d%7C71f1da39c0a84d5a8d88a67b23c3 >> 0bf4%7C0%7C0%7C636534494739319 >> >>>>>>>687&sdata=3Chy4NVUzpv27fYh7IuSAXN8%2BiciSY7NBjlALeCnZkE%3D& >> reserved= >> >>>>>>>0>%2F&data=02%7C01%7Caharui%40adobe.com >> >>>>>>>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2F >>>>>>>>>na01.safelinks.protection.outlook&data=02%7C01%7Caharui%40adobe.co >>>>>>>>>m%7C353b69992e0a4801268508d56d3d09b3%7C71f1da39c0a84d5a8d88a67b23c >>>>>>>>>30bf4%7C0%7C0%7C636535031291442280&sdata=MP1S72Zz6mInHd%2Brhymc7yR >>>>>>>>>JGgK9v%2BEKhVQY0xTfJ0E%3D&reserved=0. >> com/?url=http%3A%2F%2F40a >> >>>>>>>dobe.com%2F&data=02%7C01%7Caharui%40adobe.com% >> 7Cea3588c69d96467c165f >> >>>>>>>08d56cc01d3d%7C71f1da39c0a84d5a8d88a67b23c3 >> 0bf4%7C0%7C0%7C6365344947 >> >>>>>>>39319687&sdata=OdEf7fY9Th9Rzl0I47YgM0c% >> 2F0nkANAERsBzzoNptghc%3D&rese >> >>>>>>>rved=0>%7Ce7402a81cda54e1dbce608d5 >> >>>>>>> >> >>>>>>>6cbe0f88%7C71f1da39c0a84d5a8d88a67b23c3 >> 0bf4%7C0%7C0%7C63653448592050 >> >>>>>>>68 >> >>>>>>> >> >>>>>>>53&sdata=UafNpmJN5iCvVENfLSZNokjQjZ9dot >> jZy0Z4S25ZGwU%3D&reserved=0>% >> >>>>>>>7C >> >>>>>>> 6bc182a710ed4ce440e408d5 >> >>>>>>> >> >>>>>>> >> >>>>>>>6cac3212%7C71f1da39c0a84d5a8d88a67b23c3 >> 0bf4%7C0%7C0%7C63653440918450 >> >>>>>>>57 >> >>>>>>> 84&s >> >>>>>>> data=lNdSFaLQoU9IXHtzD0ryoGXjgupvjEh314hc9nTKyds%3D&reserved=0 >> > >> >> > > >-- >Carlos Rovira >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2 >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C353b69992e0a4801268508d5 >6d3d09b3%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0%7C636535031291442280&s >data=pwXRrHQbWB%2B%2F%2F2ezyNdcp20RQb1QE7ggg4gy6lFc3DQ%3D&reserved=0