flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FalconJX] Testing the compiler with FlexJS targets
Date Tue, 26 May 2015 22:18:45 GMT


On 5/26/15, 2:14 PM, "Michael Schmalle" <teotigraphixllc@gmail.com> wrote:

>Alex, you said that you run the compiler with Eclipse args to test output
>and be able to step through the code.
>
>Can you give me a couple of your example run configs/args?

Here are two of them. The first cross-compiles, the second builds a swf:

=============
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry 
value="/compiler.jx/src/org/apache/flex/compiler/clients/MXMLJSC.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
<mapEntry key="GOOG_HOME" value="/Users/aharui/closure-library-master"/>
<mapEntry key="PLAYERGLOBAL_HOME" value="/Users/aharui/adobe/flashplayer"/>
</mapAttribute>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER"
value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.deb
ug.ui.launcher.StandardVMType/JDK1.7.0_67"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE"
value="org.apache.flex.compiler.clients.MXMLJSC"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS"
value="+flexlib=&quot;/Users/aharui/git/flex/master/flex-asjs/frameworks&qu
ot; -debug -compiler.mxml.children-as-data
-compiler.binding-value-change-event=org.apache.flex.events.ValueChangeEven
t 
-compiler.binding-value-change-event-kind=org.apache.flex.events.ValueChang
eEvent -compiler.binding-value-change-event-type=valueChange
-js-output-type=FLEXJS
-sdk-js-lib=/Users/aharui/git/flex/master/flex-asjs/frameworks/js/FlexJS/sr
c 
-sdk-js-lib=/Users/aharui/git/flex/master/flex-asjs/frameworks/js/FlexJS/li
bs -closure-lib=/Users/aharui/closure-library-master
&quot;/Users/aharui/Flex
Demos/DataBindingTest/src/DataBindingTest.mxml&quot;"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR"
value="compiler.jx"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS"
value="-Dflexcompiler=&quot;/Users/aharui/git/flex/master/flex-falcon/compi
ler/generated/dist/sdk/lib&quot;
-Dflexlib=&quot;/Users/aharui/git/flex/master/flex-asjs/frameworks&quot;"/>
</launchConfiguration>

=============


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry 
value="/compiler/src/org/apache/flex/compiler/clients/MXMLC.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
<mapEntry key="GOOG_HOME" value="/Users/aharui/closure-library-master"/>
<mapEntry key="PLAYERGLOBAL_HOME" value="/Users/aharui/adobe/flashplayer"/>
</mapAttribute>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER"
value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.deb
ug.ui.launcher.StandardVMType/JDK1.7.0_67"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE"
value="org.apache.flex.compiler.clients.MXMLC"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS"
value="+flexlib=&quot;/Users/aharui/ApacheFlexJSLocal/frameworks&quot;
-debug -fb &quot;/Users/aharui/Flex Demos/DataBindingTest&quot;"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR"
value="compiler"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS"
value="-Dflexcompiler=&quot;/Users/aharui/git/flex/master/flex-falcon/compi
ler/generated/dist/sdk/lib&quot;
-Dflexlib=&quot;/Users/aharui/ApacheFlexJSLocal/frameworks&quot;"/>
</launchConfiguration>

=============


Mime
View raw message