Re: [DISCUSS] Discuss Release Apache FlexJS 0.5.0 RC1

2015-11-04 Thread Alex Harui
Even more interesting.  I deleted my compc.jar from the FalconJX build and
the FlexJS build still works.  I can’t figure out how you are getting into
this hole.

Has anyone else experienced the same issue?

Anyway, try running “ant all” again in your FalconJX build and see if that
makes the problem go away.

-Alex

On 11/4/15, 9:26 AM, "Alex Harui"  wrote:

>Interesting.  Looks like compc.jar is placed there by the
>flex-oem-compiler build.  Try running “ant all” in your FalconJX build and
>see if that gets you past that point.
>
>I’ll see if that can be smoothed out somehow.
>
>-Alex
>
>On 11/4/15, 12:32 AM, "Justin Mclean"  wrote:
>
>>Hi,
>>
>>> That part of the build is building the AS SWC using Falcon not
>>>FalconJX.
>>> So check FALCON_HOME/lib for compc and falcon-flexTasks.jar
>>
>>FALCON_HOME only has falcon-compc.jar and falcon-flexTasks.jar. There’s
>>no compc.jar in there.
>>
>>ls $FALCON_HOME/lib
>>compiler.jar  falcon-compc.jarfalcon-optimizer.jar
>>external  falcon-flexTasks.jarfalcon-swfdump.jar
>>falcon-asc.jarfalcon-mxmlc.jar
>>
>>> I noticed your FALCON_HOME and FALCONJX_HOME environment variables have
>>> trailing “/“. 
>>
>>Made no difference.
>>
>>Thanks,
>>Justin
>



Re: [Non-DoD Source] Re: [DISCUSS] Discuss Release Apache FlexJS 0.5.0 RC1

2015-11-04 Thread Alex Harui
Instead of running just ‘ant’ or ‘ant all’, you should be able to add:

-Dbrowser=C:/path/to/browser.exe

and it will override what is defaulted in the build.xml


On 11/4/15, 6:59 PM, "Mark Kessler"  wrote:

>Got it to finally build took it two more tries.
>
>Side bar:  I have a gripe about having to dig through build files several
>folders down to get to to run a browser other than IE.  Especially since I
>don't have IE installed on this particular machine.  Should we add a
>property that allows people to change browser used?  Or just run the SWF
>without the command in the build file and let the OS use the default
>program? The second option works in windows, not sure about Mac.

Instead of running just ‘ant’ or ‘ant all’, you should be able to add:

-Dbrowser=C:/path/to/browser.exe

and it will override what is defaulted in the build.xml


-Alex



Re: [Non-DoD Source] Re: [DISCUSS] Discuss Release Apache FlexJS 0.5.0 RC1

2015-11-04 Thread Mark Kessler
Got it to finally build took it two more tries.

Side bar:  I have a gripe about having to dig through build files several
folders down to get to to run a browser other than IE.  Especially since I
don't have IE installed on this particular machine.  Should we add a
property that allows people to change browser used?  Or just run the SWF
without the command in the build file and let the OS use the default
program? The second option works in windows, not sure about Mac.


[1] FlexJS\frameworks\projects\Core\as\tests\build.xml
[2] FlexJS\frameworks\projects\HTML\asjs\tests\build.xml

-Mark


Re: [DISCUSS] Discuss Release Apache FlexJS 0.5.0 RC1

2015-11-04 Thread Alex Harui
Interesting.  Looks like compc.jar is placed there by the
flex-oem-compiler build.  Try running “ant all” in your FalconJX build and
see if that gets you past that point.

I’ll see if that can be smoothed out somehow.

-Alex

On 11/4/15, 12:32 AM, "Justin Mclean"  wrote:

>Hi,
>
>> That part of the build is building the AS SWC using Falcon not FalconJX.
>> So check FALCON_HOME/lib for compc and falcon-flexTasks.jar
>
>FALCON_HOME only has falcon-compc.jar and falcon-flexTasks.jar. There’s
>no compc.jar in there.
>
>ls $FALCON_HOME/lib
>compiler.jar   falcon-compc.jarfalcon-optimizer.jar
>external   falcon-flexTasks.jarfalcon-swfdump.jar
>falcon-asc.jar falcon-mxmlc.jar
>
>> I noticed your FALCON_HOME and FALCONJX_HOME environment variables have
>> trailing “/“. 
>
>Made no difference.
>
>Thanks,
>Justin



Re: [Non-DoD Source] Re: [DISCUSS] Discuss Release Apache FlexJS 0.5.0 RC1

2015-11-04 Thread Alex Harui


On 11/4/15, 3:05 AM, "Kessler CTR Mark J" <mark.kessler@usmc.mil>
wrote:

>For the FlexUnit?  I already had it in for the Falcon test folders.

This part of the build is going to try to run a SWF from
D:\PortableDev\FlexJS\frameworks\projects\Core\as\tests\

So make sure the FlexJS folder is trusted.

That said, I have seen socket timeouts for other reasons.  Maybe try
shutting down all of your browsers or make sure they aren’t stuck waiting
for updates.   I believe the default is FireFox or maybe IE so make sure
those are running properly.

-Alex

>
>-Mark
>
>-Original Message-
>From: Justin Mclean [mailto:justinmcl...@me.com]
>Sent: Tuesday, November 03, 2015 9:39 PM
>To: dev@flex.apache.org
>Subject: [Non-DoD Source] Re: [DISCUSS] Discuss Release Apache FlexJS
>0.5.0 RC1
>
>Hi,
>
>> D:\PortableDev\FlexJS\frameworks\projects\Core\as\tests\build.xml:150:
>> java.util
>> .concurrent.ExecutionException: Socket timeout waiting for flexunit
>>report
>>at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>>at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>>at org.flexunit.ant.tasks.TestRun.run(Unknown Source)
>>at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
>>at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>>at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>>at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>
>You need to add the swf directory to be trusted in the Global Security
>Settings panel. (Right click on the blank player window to bring it up).
>
>Thanks,
>Justin



Re: [DISCUSS] Discuss Release Apache FlexJS 0.5.0 RC1

2015-11-04 Thread Justin Mclean
Hi,

> That part of the build is building the AS SWC using Falcon not FalconJX.
> So check FALCON_HOME/lib for compc and falcon-flexTasks.jar

FALCON_HOME only has falcon-compc.jar and falcon-flexTasks.jar. There’s no 
compc.jar in there.

ls $FALCON_HOME/lib
compiler.jarfalcon-compc.jarfalcon-optimizer.jar
externalfalcon-flexTasks.jarfalcon-swfdump.jar
falcon-asc.jar  falcon-mxmlc.jar

> I noticed your FALCON_HOME and FALCONJX_HOME environment variables have
> trailing “/“. 

Made no difference.

Thanks,
Justin

RE: [Non-DoD Source] Re: [DISCUSS] Discuss Release Apache FlexJS 0.5.0 RC1

2015-11-04 Thread Kessler CTR Mark J
When I set the FALCON_HOME and the FALCONJX_HOME I added the path up to the LIB 
folder, but did not include the LIB folder to get that to work.

So if I had a path...

C:\FALCON\releasefolders\lib

I would add

FALCON_HOME  = C:\FALCON\releasefolders



-Mark

-Original Message-
From: Justin Mclean [mailto:justinmcl...@me.com]
Sent: Wednesday, November 04, 2015 3:32 AM
To: dev@flex.apache.org
Subject: [Non-DoD Source] Re: [DISCUSS] Discuss Release Apache FlexJS 0.5.0 RC1

Hi,

> That part of the build is building the AS SWC using Falcon not FalconJX.
> So check FALCON_HOME/lib for compc and falcon-flexTasks.jar

FALCON_HOME only has falcon-compc.jar and falcon-flexTasks.jar. There’s no 
compc.jar in there.

ls $FALCON_HOME/lib
compiler.jarfalcon-compc.jarfalcon-optimizer.jar
externalfalcon-flexTasks.jarfalcon-swfdump.jar
falcon-asc.jar  falcon-mxmlc.jar

> I noticed your FALCON_HOME and FALCONJX_HOME environment variables have
> trailing “/“.

Made no difference.

Thanks,
Justin


Re: [DISCUSS] Discuss Release Apache FlexJS 0.5.0 RC1

2015-11-03 Thread Mark Kessler
Having building FlexJS source. Keep getting this timeout.


BUILD FAILED
D:\PortableDev\FlexJS\build.xml:431: The following error occurred while
executin
g this line:
D:\PortableDev\FlexJS\frameworks\build.xml:79: The following error occurred
whil
e executing this line:
D:\PortableDev\FlexJS\frameworks\build.xml:225: The following error
occurred whi
le executing this line:
D:\PortableDev\FlexJS\frameworks\projects\Core\build.xml:44: The following
error
 occurred while executing this line:
D:\PortableDev\FlexJS\frameworks\projects\Core\as\tests\build.xml:150:
java.util
.concurrent.ExecutionException: Socket timeout waiting for flexunit report
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.flexunit.ant.tasks.TestRun.run(Unknown Source)
at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces



-Mark

On Mon, Nov 2, 2015 at 8:58 PM, Alex Harui  wrote:

> This is the discussion thread.
>
>
> Thanks,
> Alex Harui
>
>


Re: [DISCUSS] Discuss Release Apache FlexJS 0.5.0 RC1

2015-11-03 Thread Justin Mclean
Hi,

I’m still unable to compile from source and get this error. I’m trying to 
compile FlexJS with the Falcon 0.5 RC.

compile:
 [echo] Compiling libs/Core.swc
 [echo] FLEX_HOME: 
/Users/justinmclean/Downloads/ApacheFlexJS/apache-flex-flexjs-0.5.0-src
 [echo] FALCON_HOME: 
/Users/justinmclean/Downloads/ApacheFalconJX/apache-flex-falconjx-0.5.0-src/compiler/generated/dist/sdk/

BUILD FAILED
/Users/justinmclean/Downloads/ApacheFlexJS/apache-flex-flexjs-0.5.0-src/build.xml:431:
 The following error occurred while executing this line:
/Users/justinmclean/Downloads/ApacheFlexJS/apache-flex-flexjs-0.5.0-src/frameworks/build.xml:79:
 The following error occurred while executing this line:
/Users/justinmclean/Downloads/ApacheFlexJS/apache-flex-flexjs-0.5.0-src/frameworks/build.xml:225:
 The following error occurred while executing this line:
/Users/justinmclean/Downloads/ApacheFlexJS/apache-flex-flexjs-0.5.0-src/frameworks/projects/Core/build.xml:96:
 File does not exist: compc.jar

compl.jar does exist:
find $FALCONJX_HOME -name compc.jar -print
/Users/justinmclean/Downloads/ApacheFalconJX/apache-flex-falconjx-0.5.0-src/compiler.jx/lib/compc.jar

This seems wrong (or at least confusing) to me:
FLEX_HOME: 
/Users/justinmclean/Downloads/ApacheFlexJS/apache-flex-flexjs-0.5.0-src

Caused by this:


echo $FLEX_HOME
/Users/justinmclean/Documents/ApacheFlex4.14.1/

ant check-compile-env returns SUCCESS

Here’s the environment vars I have set up:
JAVA_HOME:/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home
ANT_HOME:/Users/justinmclean/Downloads/apache-ant-1.9.3
GOOG_HOME:/Users/justinmclean/closure-llibrary/
PLAYER_GLOBAL_HOME:/Users/justinmclean/Documents/player/
AIR_HOME:/Users/justinmclean/Documents/air/mac/3.1/
FLASHPLAYER_DEBUGGER:/Users/justinmclean/Documents/player/11.1/mac/Flash Player 
Debugger.app/Contents/MacOS/Flash Player Debugger
FALCON_HOME:/Users/justinmclean/Downloads/ApacheFalconJX/apache-flex-falconjx-0.5.0-src/compiler/generated/dist/sdk/
FALCONJX_HOME:/Users/justinmclean/Downloads/ApacheFalconJX/apache-flex-falconjx-0.5.0-src/compiler.jx
FLEXUNIT_HOME:/Users/justinmclean/Documents/ApacheFlexUnit4.2.0/
FLEX_HOME:/Users/justinmclean/Documents/ApacheFlex4.14.1/

Anyone have any ideas to what might be wrong?

Thanks,
Justin




Re: [DISCUSS] Discuss Release Apache FlexJS 0.5.0 RC1

2015-11-03 Thread Alex Harui


On 11/3/15, 8:46 PM, "Justin Mclean"  wrote:

>Hi,
>
>I’m still unable to compile from source and get this error. I’m trying to
>compile FlexJS with the Falcon 0.5 RC.
>
>compile:
> [echo] Compiling libs/Core.swc
> [echo] FLEX_HOME:
>/Users/justinmclean/Downloads/ApacheFlexJS/apache-flex-flexjs-0.5.0-src
> [echo] FALCON_HOME:
>/Users/justinmclean/Downloads/ApacheFalconJX/apache-flex-falconjx-0.5.0-sr
>c/compiler/generated/dist/sdk/
>
>BUILD FAILED
>/Users/justinmclean/Downloads/ApacheFlexJS/apache-flex-flexjs-0.5.0-src/bu
>ild.xml:431: The following error occurred while executing this line:
>/Users/justinmclean/Downloads/ApacheFlexJS/apache-flex-flexjs-0.5.0-src/fr
>ameworks/build.xml:79: The following error occurred while executing this
>line:
>/Users/justinmclean/Downloads/ApacheFlexJS/apache-flex-flexjs-0.5.0-src/fr
>ameworks/build.xml:225: The following error occurred while executing this
>line:
>/Users/justinmclean/Downloads/ApacheFlexJS/apache-flex-flexjs-0.5.0-src/fr
>ameworks/projects/Core/build.xml:96: File does not exist: compc.jar

That part of the build is building the AS SWC using Falcon not FalconJX.
So check FALCON_HOME/lib for compc and falcon-flexTasks.jar

I noticed your FALCON_HOME and FALCONJX_HOME environment variables have
trailing “/“.  I don’t know if that is a problem or not but I don’t put
trailing slashes on my environment vars.

-Alex