Giter Site home page Giter Site logo

Comments (5)

joshtynjala avatar joshtynjala commented on May 10, 2024

You can see here that when library-path is parsed in the JSON, appendPaths() is called:

https://github.com/BowlerHatLLC/asconfigc/blob/v0.3.0/source/com/nextgenactionscript/asconfigc/CompilerOptionsParser.as#L97

In appendPaths(), it uses += here:

https://github.com/BowlerHatLLC/asconfigc/blob/v0.3.0/source/com/nextgenactionscript/asconfigc/CompilerOptionsParser.as#L277

Perhaps asconfigc is using a different SDK than your Ant build?

from vscode-as3mxml.

joshtynjala avatar joshtynjala commented on May 10, 2024

Since I didn't get a response, I'm closing for now feel free to reopen when you have more information.

from vscode-as3mxml.

Harbs avatar Harbs commented on May 10, 2024

Sorry I did not get back sooner.

I am using the same SDK for both ant and VSCode. The VSCode build is still not copying the XML files.

I can send you my project off-line if that'll help you find the issue.

from vscode-as3mxml.

Harbs avatar Harbs commented on May 10, 2024

To be super-clear: The difference between the build is that the following files (at the base level) are not being copied into js-debug:
Namespace.js
QName.js
XML.js
XMLList.js

from vscode-as3mxml.

joshtynjala avatar joshtynjala commented on May 10, 2024

This appears to be a bug in FlexJS. I created a simple MXML file with the following code:

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:js="library://ns.apache.org/flexjs/basic">
    <js:initialView>
        <js:View initComplete="test()">
            <js:Label text="Hello World" x="100" y="100"/>
        </js:View>
    </js:initialView>
    <js:valuesImpl>
        <js:SimpleCSSValuesImpl />
    </js:valuesImpl>
    <fx:Script><![CDATA[
        private function test():void
        {
            var xml:XML = new XML();
        }
    ]]></fx:Script>
</js:Application>

Then, I ran the following command in my terminal, completely outside of VSCode:

<path to flexjs>/js/bin/mxmlc src/HelloFlexJS.mxml

Just as you describe, those JS files are not present.

I tested with both 0.7.0 and a nightly build from Jan 6, 2017.

from vscode-as3mxml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.