[FalconJX] Testing the compiler with FlexJS targets

2015-05-26 Thread Michael Schmalle
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?

The best way for me to get back into the compiler and see what you are
doing with the flexjs emitter is to step through and see what is going on.

Mike


Re: [FalconJX] Testing the compiler with FlexJS targets

2015-05-26 Thread Michael Schmalle
Thanks.

OT Erik had committed a Eclipse formatter XML file for the Eclipse
formatter, was that removed? I have been looking for it and can't find it.

Mike

On Tue, May 26, 2015 at 6:18 PM, Alex Harui aha...@adobe.com wrote:



 On 5/26/15, 2:14 PM, Michael Schmalle teotigraphix...@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/frameworksqu
 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.mxmlquot;/
 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/libquot;
 -Dflexlib=quot;/Users/aharui/git/flex/master/flex-asjs/frameworksquot;/
 /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/frameworksquot;
 -debug -fb quot;/Users/aharui/Flex Demos/DataBindingTestquot;/
 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/libquot;
 -Dflexlib=quot;/Users/aharui/ApacheFlexJSLocal/frameworksquot;/
 /launchConfiguration

 =





Re: [FalconJX] Testing the compiler with FlexJS targets

2015-05-26 Thread Alex Harui


On 5/26/15, 2:14 PM, Michael Schmalle teotigraphix...@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/frameworksqu
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.mxmlquot;/
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/libquot;
-Dflexlib=quot;/Users/aharui/git/flex/master/flex-asjs/frameworksquot;/
/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/frameworksquot;
-debug -fb quot;/Users/aharui/Flex Demos/DataBindingTestquot;/
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/libquot;
-Dflexlib=quot;/Users/aharui/ApacheFlexJSLocal/frameworksquot;/
/launchConfiguration

=