-
1. Re: flexunit running swf from ant in browser error
legrosb Oct 19, 2010 12:20 PM (in response to delaliD)@delaliD - Doh, no JIRA issue was ever created for this feature request, so it didn't make it into 4.1. I'll have to look into how difficult this would be to support and talk to the team about putting it into RC2. I'll let you know what I can find out.
-Brian
-
2. Re: flexunit running swf from ant in browser error
delaliD Oct 19, 2010 12:26 PM (in response to legrosb)Brian,
DOH!
Please keep me posted, we really need this feature.
Thanks!
-
3. Re: flexunit running swf from ant in browser error
delaliD Oct 20, 2010 7:26 AM (in response to delaliD)Brian,
In org.flexunit.ant.tasks.configuration.TaskConfiguration
Lines 123-126:
public void setSwf(String swf)
{
testRunConfiguration.setSwf(project.resolveFile(swf));
}Perhaps a check to see if the swf is a URL before calling project.resolveFile on it?
Since I have the command property set, the browser should try to open the url when loaded. No?
-
4. Re: flexunit running swf from ant in browser error
legrosb Oct 20, 2010 7:35 AM (in response to delaliD)@delaliD - Right now there are a lot of sub-componets in the task which use the location of the swf file to generate files. Additionally, work will have to be put into making sure LocalTrust isn't generated since it's connecting over the network; we'll also have to validate that ADL doesn't use URLs due to the the app descriptor. I was thinking of a Swf class type that could tell me if it was a URL or a File and then making the sub-components sensitive to the new interface.
On a separate note, if I can get the fix in by this weekend, it will go out with RC2, but it's a pretty swamped week and weekend, so I'm unsure. I'll keep this thread updated with my progress.
-Brian
-
5. Re: flexunit running swf from ant in browser error
delaliD Oct 28, 2010 8:19 AM (in response to legrosb)Brian,
Not sure if you were able to get to this?
In any case, I did want to confirm that a JIRA ticket was created this time? Any ETA on this fearure?
Delali
-
6. Re: flexunit running swf from ant in browser error
legrosb Oct 28, 2010 9:12 AM (in response to delaliD)@delaliD - Unfortunately, I'm still swamped. No ETA and no-one has created a ticket in JIRA from what I can tell. Could you throw one out there?
-Brian
-
7. Re: flexunit running swf from ant in browser error
delaliD Oct 28, 2010 1:22 PM (in response to legrosb)sure...what's the link to your jira?
-
8. Re: flexunit running swf from ant in browser error
legrosb Oct 29, 2010 11:03 AM (in response to delaliD)You can find the link to JIRA on the Resources wiki page @ http://docs.flexunit.org/index.php?title=Resources. The direct link is https://bugs.adobe.com/jira/browse/fxu.
-Brian
-
9. Re: flexunit running swf from ant in browser error
delaliD Nov 12, 2010 11:20 AM (in response to legrosb)FYI, here is the JIRA issue ticket: https://bugs.adobe.com/jira/browse/FXU-142

