Re: [Falcon] Unit tests failing

2012-12-11 Thread Cyrill Zadra
- Gordon > > -Original Message- > From: Gordon Smith > Sent: Monday, December 10, 2012 11:21 AM > To: flex-dev@incubator.apache.org > Subject: RE: [Falcon] Unit tests failing > > They're not yet run by 'ant tests'. I just run them in Eclipse. But I&#x

RE: [Falcon] Unit tests failing

2012-12-10 Thread Gordon Smith
And I'm not blocked by this. - Gordon -Original Message- From: Gordon Smith Sent: Monday, December 10, 2012 11:21 AM To: flex-dev@incubator.apache.org Subject: RE: [Falcon] Unit tests failing They're not yet run by 'ant tests'. I just run them in Eclipse. But I

RE: [Falcon] Unit tests failing

2012-12-10 Thread Gordon Smith
create. > >> >> - Gordon >> >> -----Original Message- >> From: omup...@gmail.com [mailto:omup...@gmail.com] On Behalf Of Om >> Sent: Friday, December 07, 2012 4:40 PM >> To: flex-dev@incubator.apache.org >> Subject: Re: [Falcon] Unit tests fai

Re: [Falcon] Unit tests failing

2012-12-10 Thread Alex Harui
es file that have to be configured. Can you please make one, >>> perhaps >>> at the level of the falcon directory, that can be used by both projects? >>> >>> Also, can you please update the Falcon README to explain the .properties >>> file? >>>

Re: [Falcon] Unit tests failing

2012-12-10 Thread Cyrill Zadra
n you please update the Falcon README to explain the .properties >> file? >> >> - Gordon >> >> -Original Message- >> From: Alex Harui [mailto:aha...@adobe.com] >> Sent: Friday, December 07, 2012 9:01 PM >> To: flex-dev@incubator.apache.org >&

Re: [Falcon] Unit tests failing

2012-12-10 Thread Alex Harui
> >> -----Original Message- >> From: omup...@gmail.com [mailto:omup...@gmail.com] On Behalf Of Om >> Sent: Friday, December 07, 2012 4:40 PM >> To: flex-dev@incubator.apache.org >> Subject: Re: [Falcon] Unit tests failing >> >> In Eclipse: >> >&

RE: [Falcon] Unit tests failing

2012-12-10 Thread Gordon Smith
ed by both projects? Also, can you please update the Falcon README to explain the .properties file? - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Friday, December 07, 2012 9:01 PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing On

Re: [Falcon] Unit tests failing

2012-12-07 Thread Alex Harui
ll default to the compiler/generated/dist/sdk that copy.sdk would create. > > - Gordon > > -Original Message- > From: omup...@gmail.com [mailto:omup...@gmail.com] On Behalf Of Om > Sent: Friday, December 07, 2012 4:40 PM > To: flex-dev@incubator.apache.org > Subjec

Re: [Falcon] Unit tests failing

2012-12-07 Thread Chema Balsas
..@gmail.com [mailto:omup...@gmail.com] On Behalf Of Om > Sent: Friday, December 07, 2012 4:40 PM > To: flex-dev@incubator.apache.org > Subject: Re: [Falcon] Unit tests failing > > In Eclipse: > > Under 'Run' menu > Select "Debug Configurations..." > On th

RE: [Falcon] Unit tests failing

2012-12-07 Thread Gordon Smith
Subject: Re: [Falcon] Unit tests failing In Eclipse: Under 'Run' menu > Select "Debug Configurations..." On the left, right-click "JUnit" > Select "New" When the New Configuration is created, you can customize pretty much everything you want: Try

RE: [Falcon] Unit tests failing

2012-12-07 Thread Michael Schmalle
PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing Quoting Chema Balsas : The only problem with that is that if you're fixing things in the sdk so that the tests pass, you need to run ant eclipse everytime you change something to bring your changes over from the d

Re: [Falcon] Unit tests failing

2012-12-07 Thread Om
Run/Debug > Launching > but didn't see a way to do anything useful. > > - Gordon > > -Original Message- > From: Alex Harui [mailto:aha...@adobe.com] > Sent: Friday, December 07, 2012 3:52 PM > To: flex-dev@incubator.apache.org > Subject: Re: [Falcon] Unit t

RE: [Falcon] Unit tests failing

2012-12-07 Thread Gordon Smith
17 PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing I'll spend some time poking at it to see if I can get it to work without the copy. Because I see Falcon as SDK independent, if co-location is required to make it work, that doesn't seem very independent. I ran MXMLArray

RE: [Falcon] Unit tests failing

2012-12-07 Thread Gordon Smith
lle [mailto:apa...@teotigraphix.com] Sent: Friday, December 07, 2012 4:27 PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing Quoting Chema Balsas : > The only problem with that is that if you're fixing things in the sdk > so that the tests pass, you need to run

Re: [Falcon] Unit tests failing

2012-12-07 Thread Michael Schmalle
[mailto:jbal...@gmail.com] Sent: Friday, December 07, 2012 4:05 PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing I couldn't find anything in Eclipse either. The only place is /etc/launchd.conf (it was ~/MacOS/environment.plist before) which is quite like ~/.profile b

Re: [Falcon] Unit tests failing

2012-12-07 Thread Chema Balsas
y be possible that there is no place to configure >>> > Junit's >>> runtime environment from within Eclipse? >>> >>> I looked in the workspace preferences dialog under Run/Debug > >>> Launching but didn't see a way to do anything useful. &

RE: [Falcon] Unit tests failing

2012-12-07 Thread Gordon Smith
So I've checked in that change. - Gordon -Original Message- From: Gordon Smith [mailto:gosm...@adobe.com] Sent: Friday, December 07, 2012 4:08 PM To: flex-dev@incubator.apache.org Subject: RE: [Falcon] Unit tests failing I'm fine with just having 'ant eclipse' do

Re: [Falcon] Unit tests failing

2012-12-07 Thread Alex Harui
gt; -Original Message- >> From: Chema Balsas [mailto:jbal...@gmail.com] >> Sent: Friday, December 07, 2012 4:05 PM >> To: flex-dev@incubator.apache.org >> Subject: Re: [Falcon] Unit tests failing >> >> I couldn't find anything in Eclipse either. The o

RE: [Falcon] Unit tests failing

2012-12-07 Thread Michael Schmalle
ee a way to do anything useful. - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Friday, December 07, 2012 3:52 PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing On 12/7/12 3:48 PM, "Gordon Smith" wrote: > And it shoul

RE: [Falcon] Unit tests failing

2012-12-07 Thread Gordon Smith
t didn't see a way to do anything useful. > > - Gordon > > -Original Message- > From: Alex Harui [mailto:aha...@adobe.com] > Sent: Friday, December 07, 2012 3:52 PM > To: flex-dev@incubator.apache.org > Subject: Re: [Falcon] Unit tests failing > > > > >

Re: [Falcon] Unit tests failing

2012-12-07 Thread Chema Balsas
gt; > -Original Message- > From: Alex Harui [mailto:aha...@adobe.com] > Sent: Friday, December 07, 2012 3:52 PM > To: flex-dev@incubator.apache.org > Subject: Re: [Falcon] Unit tests failing > > > > > On 12/7/12 3:48 PM, "Gordon Smith" wrote: >

Re: [Falcon] Unit tests failing

2012-12-07 Thread Michael Schmalle
aving to customize a run-config or debug-config for it? If not, I will restore some ant targets to do the SDK copying. Alex may not want to use them, but I need to. - Gordon -Original Message----- From: Gordon Smith Sent: Thursday, December 06, 2012 2:58 PM To: flex-dev@incubator.apache.

RE: [Falcon] Unit tests failing

2012-12-07 Thread Gordon Smith
-- From: Alex Harui [mailto:aha...@adobe.com] Sent: Friday, December 07, 2012 3:52 PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing On 12/7/12 3:48 PM, "Gordon Smith" wrote: > And it should NOT require any voodoo to launch Eclipse, such as a > launch scr

Re: [Falcon] Unit tests failing

2012-12-07 Thread Chema Balsas
ironment variables > > there. > Can this really be possible that there is no place to configure Junit's > runtime environment from within Eclipse? > > > > - Gordon > > > > > > -Original Message----- > > From: Gordon Smith [mailto:gosm...@adob

Re: [Falcon] Unit tests failing

2012-12-07 Thread Alex Harui
2012 3:45 PM > To: flex-dev@incubator.apache.org > Subject: RE: [Falcon] Unit tests failing > > All unit tests (at least for Falcon) should be zero-configuration. You open up > a file like MXMLArrayTagTests.java. You double-click the name of an individual > test you want to debug

Re: [Falcon] Unit tests failing

2012-12-07 Thread Alex Harui
>>> Is there some way to make this work in Eclipse that I don't know about, so >>> that every JUnit test "just work" without having to customize a >>> run-config or >>> debug-config for it? >>> >>> If not, I will restore some an

RE: [Falcon] Unit tests failing

2012-12-07 Thread Gordon Smith
ember 07, 2012 3:49 PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing Sounds good to me. But where does the default debug configuration get established? Where in Eclipse do I go to set it up? Or what file can I change elsewhere? On 12/7/12 3:45 PM, "Gordon Smith&

Re: [Falcon] Unit tests failing

2012-12-07 Thread Alex Harui
lar unit test. >> >> Is there some way to make this work in Eclipse that I don't know >> about, so that every JUnit test "just work" without having to >> customize a run-config or debug-config for it? >> >> If not, I will restore some an

RE: [Falcon] Unit tests failing

2012-12-07 Thread Gordon Smith
Smith [mailto:gosm...@adobe.com] Sent: Friday, December 07, 2012 3:45 PM To: flex-dev@incubator.apache.org Subject: RE: [Falcon] Unit tests failing All unit tests (at least for Falcon) should be zero-configuration. You open up a file like MXMLArrayTagTests.java. You double-click the name of an indiv

Re: [Falcon] Unit tests failing

2012-12-07 Thread Alex Harui
>> so >>> that every JUnit test "just work" without having to customize a >> run-config or >>> debug-config for it? >>> >>> If not, I will restore some ant targets to do the SDK copying. Alex may >> not >>> want to use them, but

Re: [Falcon] Unit tests failing

2012-12-07 Thread Chema Balsas
ant to make an Eclipse debug config for a particular unit test. >> > >> > Is there some way to make this work in Eclipse that I don't know about, >> so >> > that every JUnit test "just work" without having to customize a >> run-config or >> &g

RE: [Falcon] Unit tests failing

2012-12-07 Thread Gordon Smith
day, December 07, 2012 3:36 PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing The copy.sdk target is still in there if you need it. But first, wow do you use the unit tests from Eclipse? I've never tried it, I always use the command line. Do you set up a run config of s

Re: [Falcon] Unit tests failing

2012-12-07 Thread Chema Balsas
having to customize a > run-config or > > debug-config for it? > > > > If not, I will restore some ant targets to do the SDK copying. Alex may > not > > want to use them, but I need to. > > > > - Gordon > > > > > > -Original Message-

Re: [Falcon] Unit tests failing

2012-12-07 Thread Michael Schmalle
al Message- From: Gordon Smith Sent: Thursday, December 06, 2012 2:58 PM To: flex-dev@incubator.apache.org Subject: RE: [Falcon] Unit tests failing OK, then I'll stop complaining. - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Thursday, December 06, 20

Re: [Falcon] Unit tests failing

2012-12-07 Thread Alex Harui
ll restore some ant targets to do the SDK copying. Alex may not > want to use them, but I need to. > > - Gordon > > > -Original Message- > From: Gordon Smith > Sent: Thursday, December 06, 2012 2:58 PM > To: flex-dev@incubator.apache.org > Subject: RE: [Falcon]

RE: [Falcon] Unit tests failing

2012-12-07 Thread Michael Schmalle
don -Original Message- From: Gordon Smith Sent: Thursday, December 06, 2012 2:58 PM To: flex-dev@incubator.apache.org Subject: RE: [Falcon] Unit tests failing OK, then I'll stop complaining. - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent

RE: [Falcon] Unit tests failing

2012-12-07 Thread Gordon Smith
cubator.apache.org Subject: RE: [Falcon] Unit tests failing OK, then I'll stop complaining. - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Thursday, December 06, 2012 1:59 PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing The v

RE: [Falcon] Unit tests failing

2012-12-06 Thread Gordon Smith
OK, then I'll stop complaining. - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Thursday, December 06, 2012 1:59 PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing The versions in compiler/commandline already looked for FLEX

Re: [Falcon] Unit tests failing

2012-12-06 Thread Alex Harui
> From: Gordon Smith > Sent: Thursday, December 06, 2012 1:55 PM > To: flex-dev@incubator.apache.org > Subject: RE: [Falcon] Unit tests failing > > So, how does Falcon's 'asc' shell script do its job? Did you make it use an > environment variable to find an SDK? >

RE: [Falcon] Unit tests failing

2012-12-06 Thread Gordon Smith
I should have said Falcon's 'mxmlc' and 'compc' shell scripts. - Gordon -Original Message- From: Gordon Smith Sent: Thursday, December 06, 2012 1:55 PM To: flex-dev@incubator.apache.org Subject: RE: [Falcon] Unit tests failing So, how does Falcon's 

RE: [Falcon] Unit tests failing

2012-12-06 Thread Gordon Smith
So, how does Falcon's 'asc' shell script do its job? Did you make it use an environment variable to find an SDK? - Gordon -Original Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Thursday, December 06, 2012 1:40 PM To: flex-dev@incubator.apache.org Subject: Re

Re: [Falcon] Unit tests failing

2012-12-06 Thread Alex Harui
On 12/6/12 12:57 PM, "Gordon Smith" wrote: > But doesn't it make it impossible to use Falcon's shell scripts, which expect > to find other things in the SDK using relative paths from those shell > scripts??? You mean like the mxmlc and compc scripts? They take a FLEX_HOME environment variable

RE: [Falcon] Unit tests failing

2012-12-06 Thread Gordon Smith
l Message- From: Alex Harui [mailto:aha...@adobe.com] Sent: Wednesday, December 05, 2012 8:40 PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing So I can point to different SDKs, including the new AS/JS one. It helps prove that Falcon is truly SDK independent, which i

Re: [FalconJS] changing to base.js was: (Re: [Falcon] Unit tests failing)

2012-12-06 Thread Michael Schmalle
Ok, I didn't get that far. I'll look at the code and README over there now. Mike Quoting Erik de Bruin : Well, I did put some effort into writing the README in the publisher dir in the develop branch of asjs. Once I have access I'll elaborate further on the Wiki. EdB On Thursday, Decemb

Re: [FalconJS] changing to base.js was: (Re: [Falcon] Unit tests failing)

2012-12-06 Thread Erik de Bruin
Well, I did put some effort into writing the README in the publisher dir in the develop branch of asjs. Once I have access I'll elaborate further on the Wiki. EdB On Thursday, December 6, 2012, Michael Schmalle wrote: > > Someone needs to give Erik WIKI permissions to edit so he can get up a

Re: [FalconJS] changing to base.js was: (Re: [Falcon] Unit tests failing)

2012-12-06 Thread Michael Schmalle
Someone needs to give Erik WIKI permissions to edit so he can get up a simple outline of what he is working on and how it works. For all of us that are still learning this stuff. Erik, it would be nice of you to tell us how to setup a project and get it working as well so I can test my out

Re: [FalconJS] changing to base.js was: (Re: [Falcon] Unit tests failing)

2012-12-06 Thread Alex Harui
On 12/6/12 10:40 AM, "Michael Schmalle" wrote: > Well considering I know exactly what the task is. > > I will warn you, as I have said previously I am green when it comes to > complex build scripts, that is eomthing you will have to do. > > I think my task is right now to get the output inli

Re: [Falcon] Unit tests failing

2012-12-06 Thread Alex Harui
On 12/6/12 10:31 AM, "Erik de Bruin" wrote: >> Also, I think it involves changing the build script to download base.js from >> google. > > This is probably a silly question, but why? The compiler is not > supposed to put the code through the Closure Compiler in the new > setup. It is probably

[FalconJS] changing to base.js was: (Re: [Falcon] Unit tests failing)

2012-12-06 Thread Michael Schmalle
Well considering I know exactly what the task is. I will warn you, as I have said previously I am green when it comes to complex build scripts, that is eomthing you will have to do. I think my task is right now to get the output inline with what Erik is proposing. Does this sound correct?

Re: [Falcon] Unit tests failing

2012-12-06 Thread Erik de Bruin
> Also, I think it involves changing the build script to download base.js from > google. This is probably a silly question, but why? The compiler is not supposed to put the code through the Closure Compiler in the new setup. Doing that would mean we'd loose an important optimisation step which in

Re: [Falcon] Unit tests failing

2012-12-06 Thread Alex Harui
OK, I am assuming you will complete this task? On 12/6/12 10:21 AM, "Michael Schmalle" wrote: > > Ok, that was an idiot question, I just answered my own with a cliche > "google search" > > base.js is what the closure compiler uses and exactly what I just > switched to. :) > > Yeah, I'm smart

Re: [Falcon] Unit tests failing

2012-12-06 Thread Michael Schmalle
Ok, that was an idiot question, I just answered my own with a cliche "google search" base.js is what the closure compiler uses and exactly what I just switched to. :) Yeah, I'm smart... Mike Quoting Michael Schmalle : Quoting Alex Harui : I just fixed another issue when you don't c

Re: [Falcon] Unit tests failing

2012-12-06 Thread Alex Harui
On 12/6/12 10:15 AM, "Michael Schmalle" wrote: > > Quoting Alex Harui : > >> I just fixed another issue when you don't copy the SDK. >> >> I am running unit tests from a command shell on MacOSX. All the tests run >> by the default ant target pass for me. >> >> I am about to embark on swi

Re: [Falcon] Unit tests failing

2012-12-06 Thread Alex Harui
It appears the Schmalle is already doing the switch so I will go do other things unless I hear otherwise. On 12/6/12 10:10 AM, "Alex Harui" wrote: > I just fixed another issue when you don't copy the SDK. > > I am running unit tests from a command shell on MacOSX. All the tests run > by the

Re: [Falcon] Unit tests failing

2012-12-06 Thread Michael Schmalle
Quoting Alex Harui : I just fixed another issue when you don't copy the SDK. I am running unit tests from a command shell on MacOSX. All the tests run by the default ant target pass for me. I am about to embark on switching the output to base.js. What does this exactly mean? Changing code

Re: [Falcon] Unit tests failing

2012-12-06 Thread Alex Harui
I just fixed another issue when you don't copy the SDK. I am running unit tests from a command shell on MacOSX. All the tests run by the default ant target pass for me. I am about to embark on switching the output to base.js. -Alex On 12/6/12 3:41 AM, "Michael Schmalle" wrote: > Adding the

Re: [Falcon] Unit tests failing

2012-12-06 Thread Michael Schmalle
Adding the DFLEX_HOME flag to the debug configuration worked. Are you running the feature tests? Mike Quoting Michael Schmalle : Ok I finally have it working again with the ant build! I can't get the actual tests to work in Eclipse yet. Was there anything specific you had to setup to debug

Re: [Falcon] Unit tests failing

2012-12-06 Thread Michael Schmalle
Ok I finally have it working again with the ant build! I can't get the actual tests to work in Eclipse yet. Was there anything specific you had to setup to debug a test in Eclipse? I have the FLEX_HOME path added to my windows env table. Which is pointing to the Apache Flex 4.8 SDK. Mike

Re: [Falcon] Unit tests failing

2012-12-06 Thread Cyrill Zadra
Hi You can run ant with java argument [1]. To define java properties you have to add the -D prefix. In Java they can be read with System.getProperty(). [1] https://docs.google.com/drawings/d/17bxXZ1k2CLLaBa__5humo7ecpsQUhYxmcn0svtB38GM/edit Cyrill On Thu, Dec 6, 2012 at 1:59 AM, Michael Schmal

Re: [Falcon] Unit tests failing

2012-12-06 Thread Michael Schmalle
we are not copying the full sdk to the compiler folder. What was the reason for changing this? - Gordon -Original Message- From: Cyrill Zadra [mailto:cyrill.za...@gmail.com] Sent: Wednesday, December 05, 2012 4:37 PM To: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit t

Re: [Falcon] Unit tests failing

2012-12-05 Thread Alex Harui
> to the compiler folder. > > What was the reason for changing this? > > - Gordon > > > -Original Message- > From: Cyrill Zadra [mailto:cyrill.za...@gmail.com] > Sent: Wednesday, December 05, 2012 4:37 PM > To: flex-dev@incubator.apache.org > Subject: Re

RE: [Falcon] Unit tests failing

2012-12-05 Thread Gordon Smith
o: flex-dev@incubator.apache.org Subject: Re: [Falcon] Unit tests failing Hi Mike Had the same problem after I used "ant wipe,main". But you can solve it when you run the tests with the FLEX_HOME as java system property - ( -DFLEX_HOME=C:/dev/tools/flex/apache-flex-4.8.0 ) Cyrill On Wed, D

Re: [Falcon] Unit tests failing

2012-12-05 Thread Cyrill Zadra
Hi Mike Had the same problem after I used "ant wipe,main". But you can solve it when you run the tests with the FLEX_HOME as java system property - ( -DFLEX_HOME=C:/dev/tools/flex/apache-flex-4.8.0 ) Cyrill On Wed, Dec 5, 2012 at 7:40 AM, Alex Harui wrote: > If you don’t copy sdk you need flex

Re: [Falcon] Unit tests failing

2012-12-05 Thread Alex Harui
If you don’t copy sdk you need flex_home environment var. I will be making improvement in the build scripts today. Sent from my Motorola ATRIX™ 4G on AT&T -Original message- From: Michael Schmalle To: "flex-dev@incubator.apache.org" Sent: Wed, Dec 5, 2012 11:06:28 GMT+00:00 Subject: [