IIRC, you are trying to get the build to work in a new XML folder?

In theory, you can copy any build.xml from, say Binding into the root of
XML.  Open it and search for Binding and replace with XML.

Next, copy the src/main/resources folder from Binding.  Open
compile-config.xml and search and replace Binding.

Open compile-asjs-config.xml and do the same.

If you don't have a src/main/flex/XMLClasses.as file, create one and list
the files you want to compile.  If you don't want a particular class in
the AS version of the SWC, put it in a COMPILE::AS3 block.

Open basic-manifest.xml and comment everything out.  This is the list of
components that go in MXML, but I think you are emulating classes that are
already in the fx: namespace so you shouldn't need anything.

Then running "ant" from XML should "do the right thing".

To integrate into the main build, open frameworks/build.xml, search for
Binding and clone the patterns you see.

HTH,
-Alex

On 2/11/16, 1:25 AM, "Harbs" <harbs.li...@gmail.com> wrote:

>OK. I merged and copied the new folder structure. Unfortunately I have no
>idea how to set up the compilation. I just copied the folder structure
>like a monkey, but I have no idea how it’s supposed to work.
>
>Can someone help me set up the scripts so it can actually compile
>something? Once I understand how the compilation is supposed to work, I
>can continue with this.
>
>Harbs
>
>On Feb 11, 2016, at 10:56 AM, Harbs <harbs.li...@gmail.com> wrote:
>
>> OK. I’m up to #2. I know of a number of problems/holes in the
>>implementation as it stands and there’s probably a lot of problems I’m
>>not aware of, but I’m going to try to get to the point where this
>>compiles and actually does something to make the problems more visible.
>> 
>> Maybe some other folks can even help at that point… ;-)
>> 
>> On Feb 8, 2016, at 11:00 AM, Harbs <harbs.li...@gmail.com> wrote:
>> 
>>> So here’s my current plan:
>>> 1. Finish up the methods (minus filtering) in the next day or two.
>>> 2. Sync up XML with the current FlexJS folder structure and get rid of
>>>some junk (like all the JXON classes).
>>> 3. Get this all to compile.
>>> 4. Figure out the whole filtering issue.
>>> 5. Create test cases.
>> 
>

Reply via email to