-
1. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
magomarcelo Apr 13, 2009 4:56 PM (in response to Codesquared)I've tried to install it on Eclipse 3.4.2 but I get the following error:
"Cannot complete the request. See the details.
Cannot find a solution satisfying the following requirements org.eclipse.debug.ui [3.4.0.v20080529-1300]."
-
2. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
Codesquared Apr 14, 2009 2:24 AM (in response to magomarcelo)Hi Marcello,
Interestly org.eclipse.debug.ui is not a plugin dependency for the FlexUnit plugin. When did you get this error - during installation of the plugin or post installation?
If it was during the installation at which step did this ocurr?
If it was at runtime did this happen when you were setting the preferences for the plugin or when you attempted to run a test?
I have reviewed the installed plugins on my Eclipse version and I do have org.eclipse.debug.ui plugin albeit version 3.4.2. You can check if this plugin exists on your eclipse implementation by doing Help -> About Eclipse SDK and selecting the plugin details button.
Regards,
Mark
-
3. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
yoyesman Apr 18, 2009 12:48 PM (in response to Codesquared)Hi, I just install FlexUnit eclipse plugin. I was waiting for this kind of plugin !!!
I'm on Mac OS 10.5.6 with Flex Builder 3 standalone and I get a validation error on preference page...
When I try to set the flash player app path ( /Applications/DEVELOPPEMENT/Adobe Flex Builder 3/Player/mac/10/mac/Flash Player.app) I get a validation error : Value must be an existing file.
Seems that Mac Path are not supported here... But Flash player log directory set to : /Library/Application Support/Macromedia/Flash Player/Logs/ seems to be accepted.
Ready to help for having a MAC compliant version...
-
4. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
Codesquared Apr 24, 2009 2:18 AM (in response to yoyesman)Firstly thanks for bringing this to my attention, not having a MAC has stopped me from testing it in that environment so the support you have given me in sorting out the compatibility issues has been fantastic.
For everyone else there is now a new version of the plugin which incorporates the MAC compatibility fixes along with the following new features:
New In Version 1.1.0
Wizard support to automatically generate the test harness
Dynamic creation and execution of tests direct from the actionscript class -
5. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
magomarcelo Apr 24, 2009 1:12 PM (in response to Codesquared)I don't see it on the update site, is it already published?
Also, is it possible to have a downloadable version, so I can try putting it into the dropins folder directly, as I still have the error on the eclipse dependency above. My computer is also a Mac with Leopard and Flex Builder is installed as an Eclipse plugin, not the standalone version.
-
6. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
Codesquared Apr 26, 2009 4:08 AM (in response to magomarcelo)Hi Marcello,
Yes it is already published and can be found by browsing to the update site directly or by pointing the Eclipse update manager at the site which I would recommend.
http://www.codesquared.com/eclipse
Can you answer the questions I posed to you before about the error you are getting as it will help me understand the problem better. I know the plugin works just fine on the MAC using FlexBuilder standalone but there could be some differences in the MAC Eclipse product and the Windows version that is causing this.
Regards,
Mark
-
7. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
magomarcelo Apr 26, 2009 6:42 AM (in response to Codesquared)Hi Mark,
the Eclipse version that I have is the Mac OS X 3.4.2 Eclipse SDK.
If I add the update site "http://www.codesquared.com/eclipse" in Help -> Software Updates from the Add Site... button I get a new item in the tree with name:
file:/C:/Users/Mark/Documents/Projects/Eclipse/EclipsePlugIn/com.codesquared.eclipseplugi n.flex.flexunit.updatesite/ - metadata
which contains the Flex Unit Plugin category and inside that the FlexUnit Plugin, but only version 1.0.0.
When I select the checkbox and press the button "Install..." I get a dialog with the FlexUnit plugin selected and the error in the title "cannot complete the request" and in the details textarea "Cannot complete the request. See the details.
Cannot find a solution satisfying the following requirements org.eclipse.debug.ui [3.4.0.v20080529-1300]." so I cannot proceed with the "Next" or "FInish" button which are disabled.
If I go to Plugin Details the org.eclipse.debug.ui item is present with version 3.4.2.v20090110_r342.
Hope this helps in spotting the problem, I don't have any issues installing other plugins.
--m
-
8. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
Codesquared Apr 27, 2009 2:58 AM (in response to magomarcelo)Hi Marcello,
It would appear the update site metadata didn't refresh correctly. Should be sorted now.
Sorry for the problem
-
9. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
Michael Labriola Jun 2, 2009 11:37 AM (in response to Codesquared)Mark,
Let me know if you would like to work with us for FlexUnit 4 support.
Mike
-
10. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
Codesquared Jun 4, 2009 1:04 AM (in response to Michael Labriola)Hi Mike,
Have just read your blog on FlexUnit 4 and I'm excited about the alignment with the JUnit 4 approach.
I would be more than happy to work with you on FlexUnit 4 support. What areas specifically are you interested in me getting invoved?
Regards,
Mark
-
11. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
s0puli Jun 19, 2009 1:02 AM (in response to Codesquared)Hi, is the source for this available somewhere? This would be a perfect addition to my development evironment, but it doesn't seem to run with a flex-mojos created project which uses src/main/flex as the main source folder instead of just src.
Regards,
Hannu
-
12. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
keegsands Jul 20, 2009 8:59 AM (in response to Codesquared)The Plugin looks great, but I too am using the Flexmojos project and so my main flex source directory is not in the typical Flex source location. Can the location of the flex src directory be added as a preference?
Keegan
-
13. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
Codesquared Jul 20, 2009 1:49 PM (in response to keegsands)Sorry for the delayed response I have been busy with the daytime job.
The plugin identifies the source directory by looking in the .actionscriptproperties file. How is the Flexmojos dev environment managing this?
Mark
-
14. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
keegsands Jul 20, 2009 2:26 PM (in response to Codesquared)Hi,
Your response to my question was pretty quick actually and I am grateful. Flexmojos makes you put non test code in src/main and test code in src/test. The problem may be that in eclipse we use src/main as the source folder path and then add src/test as a separate library path entry.
Does the plugin only reference the sourceFolderPath in the compiler tag of .actionscriptproperties or does it look at all the compilerSourcePathEntry tags inside the compilerSourcePath tag.
I have attached a copy of our .actionScriptProperties so you can see how we have it mapped out.
Thanks,
Keegan
-
15. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
Codesquared Aug 10, 2009 6:24 AM (in response to keegsands)Hi Keegan,
I am not seeing the attached file could you send it again.
Mark
-
16. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
keegsands Aug 10, 2009 10:35 AM (in response to Codesquared)Sorry the attachments don't work. Here are the contents of the .actionscriptproperties file.
We have multiple source paths.
Keegan
-
17. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
fuzzyb123 Aug 11, 2009 11:53 AM (in response to Codesquared)A great plugin. I have installed it, although had some troubles first. See my blog at http://sberka.blogspot.com/.
-
18. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
mr2dark Nov 14, 2009 12:46 AM (in response to keegsands)Hi, Keegan,
It looks like the plugin can't deal with multiple source paths.
However you can generate harness in some other project with a single source path and then copy it to you test source path.
But for me, unfortunately, version 1.1.0 of this plugin does not support FlexUnit 4 test annotations, since EclipsePluginTestRunner.run() expects input paramater of type flexunit.framework.Test.
So I decided to use standard FlexUnit4 UI test runner for Flex Builder-based debugging. And of course I use flexmojos runner in Maven build process.
-
19. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
unmarshall Mar 12, 2010 6:15 AM (in response to Codesquared)Hi,
I am trying to use the update site for the FlexUnit plugin, however when it tries to get the repository details, it throws an error message saying that there is no repository at this location.
Has the repository being removed?
Thanks & Regards,
Madhav
-
20. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
n!co78 Jun 28, 2010 5:24 AM (in response to Codesquared)Any avancement for the Flexunit 4 support ??
Thanks
-
21. Re: FlexUnit Eclipse/Flex Builder 3 Plugin - Feedback Please
gSalsero Mar 16, 2011 2:05 PM (in response to Codesquared)I am using Eclipse 3.4.2 . The plugin doesn't seem to detect any output written to flashlog.txt. I have a very small test that only calls assertTrue(false). I see the following in the log file:
F,com.codesquared.example.test::AccoutTest,testNew,expected:<true> but was:<false>,<<
Nothing shows up in the FlexUnit output tab. Also, I have to exit the flash player manually, not sure if this is expected. Once I run this once, eclipse (javaw.exe) has a hold of the flashlog.txt file and subsequent tests will not write to it. Using Process Explorer (I'm using Windows XP), I can force it to close the handle to the log file and the next flash player instance will use it. (but eclipse will once again hold on to this).
Anyone have any ideas?
Thanks,
George


