What commands were you running? What environment vars did you need to set? No environment vars should be required other than as specified in the README.
Your output looks like the tail end of the compiler build, not the royale-asjs/examples/royale/ASDoc/build.xml Note that the royale-asjs build copies the compiler from royale-compiler, so if you make changes to the compiler you have to run enough of the royale-asjs build as well to copy the compiler over. Thanks, -Alex On 2/5/18, 9:13 AM, "Gabe Harbs" <[email protected]> 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%2Fstorage.g >oogleapis.com%2Fgoogle-code-archive-downloads%2Fv2%2Fcode.google.com%2Fclo >sureidl%2Fsvg.js&data=02%7C01%7Caharui%40adobe.com%7C3adf73d4ff584fe4bd350 >8d56cbbdc35%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0%7C63653447647268233 >5&sdata=htrF8KLkzD2CcpliKTC5tneDHYE19Za75LzjtzCAqms%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 <[email protected]> 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 <[email protected] >>><mailto:[email protected]>> 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, "[email protected] >>><mailto:[email protected]> on behalf of Carlos Rovira" >>> <[email protected] <mailto:[email protected]> on behalf of >>>[email protected] <mailto:[email protected]>> 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 <[email protected] >>>><mailto:[email protected]>>: >>>> >>>>> 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 <[email protected] >>>>>><mailto:[email protected]>> >>>>> 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%2Fabout.m >>>>e%2 >>>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout. >>>>me%2> >>>> Fcarlosrovira&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%7C3adf73d4ff584fe4bd3508d56c >>>>bbdc35%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0%7C636534476472682335& >>>>sdata=rX1U4uVSEN4hkL5MI1tbg7vGzBuH7c35d%2BErlL4Vg1I%3D&reserved=0>%7C6b >>>>c182a710ed4ce440e408d5 >>>> >>>>6cac3212%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0%7C63653440918450578 >>>>4&s >>>> data=lNdSFaLQoU9IXHtzD0ryoGXjgupvjEh314hc9nTKyds%3D&reserved=0 >> >
