> OK, I got EXTERNC handling CLI and building a js.swc from Ant. Will > integrate it into the build over the weekend, but I think I am out of > Mike’s way now.
Is that why I've got this error building falcon ? Running org.apache.flex.compiler.internal.codegen.externals.TestExternalsJSCompile Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0,035 sec U:\sources\asf\flex\falcon\compiler.jx.tests\build.xml:64: Tests failed at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.actOnTestResult(JUnitTask.java:2150) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:1101) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.oneJunitThread(JUnitTask.java:919) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.runTestsInThreads(JUnitTask.java:932) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:841) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) Frédéric THOMAS ---------------------------------------- > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > Date: Sat, 20 Jun 2015 07:09:23 +0000 > > OK, I got EXTERNC handling CLI and building a js.swc from Ant. Will > integrate it into the build over the weekend, but I think I am out of > Mike’s way now. Then I will try Jquery externs in its own SWC unless > someone beats me to it. > > -Alex > > On 6/18/15, 4:46 PM, "Alex Harui" <aha...@adobe.com> wrote: > >>Mike, >> >>It looks like EXTERNC needs to handle command-line arguments, correct? I >>will try to get that working. I am planning on using the same >>Configurator that MXMLJSC and COMPJSC use unless you can think of a reason >>not to. >> >>-Alex >> >>On 6/18/15, 3:57 PM, "Michael Schmalle" <teotigraphix...@gmail.com> wrote: >> >>>Yeah, I am probably going to leave this stuff to to other people if they >>>so >>>choose. :) I could eventually parse that one to get something going >>>though. >>> >>>Mike >>> >>>BTW the jQuery will end up in separate SWC sooner than later. >>> >>>On Thu, Jun 18, 2015 at 6:49 PM, OmPrakash Muppirala >>><bigosma...@gmail.com> >>>wrote: >>> >>>> On Thu, Jun 18, 2015 at 3:42 PM, Michael Schmalle < >>>> teotigraphix...@gmail.com >>>>> wrote: >>>> >>>>> On Thu, Jun 18, 2015 at 4:27 PM, OmPrakash Muppirala < >>>> bigosma...@gmail.com >>>>>> >>>>> wrote: >>>>> >>>>>> I don't remember using different modules in D3.js, they are all >>>>part of >>>>> the >>>>>> same module I guess? Unless you mean Behaviors, Core, etc. from >>>>here: >>>>>> https://github.com/mbostock/d3/wiki/API-Reference >>>>>> >>>>> >>>>> Well I looked at this, I really want to try and get it but MAN this >>>>stuff >>>>> takes a lot of time to write and I just don't have the time. >>>>> >>>>> I did find a piece of something that might get you going when we get >>>>the >>>>> compiler EXTERNC creating separate packages. Do me a favor and look >>>>at >>>> that >>>>> file and API, tell me how much is missing from it that you would use >>>>> "regularly". >>>>> >>>>> >>>>> >>>> >>>>https://github.com/lbondaryk/BrixClient/blob/master/src/externs/d3.v3.ex >>>>t >>>>erns.js >>>> >>>> >>>> Looks a bit outdated, this one is for v3, whereas D3.js is at version >>>>3.1 >>>> now. Other than that, on a cursory glance, it looks like all the >>>>commonly >>>> used APIs are available. >>>> >>>> Thanks, >>>> Om >>>> >>>> >>>>> >>>>> >>>>> Mike >>>>> >>>>> >>>>> >>>>>> >>>>>> Thanks, >>>>>> Om >>>>>> >>>>>> On Thu, Jun 18, 2015 at 1:03 PM, Michael Schmalle < >>>>>> teotigraphix...@gmail.com >>>>>>> wrote: >>>>>> >>>>>>> Om, I am looking at d3, looks pretty impressive, what modules >>>>would >>>> you >>>>>> be >>>>>>> using. They have good API and I could create a base externs file >>>> pretty >>>>>>> quick. >>>>>>> >>>>>>> Mike >>>>>>> >>>>>>> On Thu, Jun 18, 2015 at 3:52 PM, Michael Schmalle < >>>>>>> teotigraphix...@gmail.com >>>>>>>> wrote: >>>>>>> >>>>>>>> I agree, but I am just throwing crap at the wall right now. :) >>>>>>>> >>>>>>>> Mike >>>>>>>> >>>>>>>> On Thu, Jun 18, 2015 at 3:50 PM, Alex Harui <aha...@adobe.com> >>>>> wrote: >>>>>>>> >>>>>>>>> Yes, you continue to amaze. FWIW, I think Jquery should be in >>>>its >>>>> own >>>>>>>>> swc. What do others think? Svg would go in js.swc since all >>>>> browser >>>>>> we >>>>>>>>> care about have these APIs, but the JS-framework-specific >>>>externs >>>>>> should >>>>>>>>> probably have their own swc. >>>>>>>>> >>>>>>>>> Thoughts? >>>>>>>>> >>>>>>>>> -Alex >>>>>>>>> >>>>>>>>> On 6/18/15, 12:42 PM, "OmPrakash Muppirala" >>>><bigosma...@gmail.com >>>>> >>>>>>> wrote: >>>>>>>>> >>>>>>>>>>Fantastic! This is huge. I will build something with it as >>>>soon >>>>> as >>>>>>> you >>>>>>>>>>check it in. >>>>>>>>>> >>>>>>>>>>Any chance you can bring in d3.js as well? This looks like a >>>> good >>>>>>>>> source: >>>>>>>>>>https://github.com/federico-b/d3-externs >>>>>>>>>> >>>>>>>>>>On that note, there is an extern file generator available >>>>here: >>>>>>>>>>http://www.dotnetwise.com/Code/Externs/ Have you seen it? >>>>>>>>>> >>>>>>>>>>Thanks, >>>>>>>>>>Om >>>>>>>>>> >>>>>>>>>>On Thu, Jun 18, 2015 at 12:28 PM, Michael Schmalle < >>>>>>>>>>teotigraphix...@gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>> >>>>>>>>>>> I decided I needed to give myself a severe headache, so I >>>> decided >>>>>> to >>>>>>>>>>>tackle >>>>>>>>>>> JQuery externals! >>>>>>>>>>> >>>>>>>>>>> Well 4 hours later and some swearing, I got it working >>>>pretty >>>>>> well, I >>>>>>>>>>>had >>>>>>>>>>> to exclude a couple "inner classes", for the most part, it >>>>is >>>>> very >>>>>>>>>>>usable. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> 1. This needs to be added to the build file >>>>>>>>>>>(contrib/externs/jquery-1.9.js) >>>>>>>>>>> is the source location and needs to be placed with the >>>>others. >>>>> Same >>>>>>>>> with >>>>>>>>>>> svg.js. >>>>>>>>>>> >>>>>>>>>>> I have not really used jQuery much so.... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> package >>>>>>>>>>> { >>>>>>>>>>> >>>>>>>>>>> public class Main >>>>>>>>>>> { >>>>>>>>>>> public function Main() >>>>>>>>>>> { >>>>>>>>>>> var div:HTMLDivElement = >>>>>>>>>>> HTMLDivElement(document.createElement("div")); >>>>>>>>>>> div.innerHTML = "A nice Div element"; >>>>>>>>>>> document.body.appendChild(div); >>>>>>>>>>> >>>>>>>>>>> $("div").css("border", "2px solid green"); >>>>>>>>>>> } >>>>>>>>>>> } >>>>>>>>>>> } >>>>>>>>>>> >>>>>>>>>>> http://snag.gy/il5R6.jpg >>>>>>>>>>> >>>>>>>>>>> http://snag.gy/wyPcH.jpg >>>>>>>>>>> >>>>>>>>>>> Mike >>>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >> >