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 <[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://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js > > <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js> > [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] >> <mailto:[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.me%2 >>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2> >>>> Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com >>>> <http://40adobe.com/>%7C6bc182a710ed4ce440e408d5 >>>> 6cac3212%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0%7C636534409184505784&s >>>> data=lNdSFaLQoU9IXHtzD0ryoGXjgupvjEh314hc9nTKyds%3D&reserved=0 >> >
