Skip to main content
April 30, 2011
Question

flexunit breaks when using -load-config

  • April 30, 2011
  • 1 reply
  • 1563 views

1. I dump the compiler options using -dump-config=config.xml

2. I then load those options using -load-config+=config.xml

3. I can no longer right-click and 'Execute FlexUnit Test'

The error says: unable to open c'onfig.xml'

However, if I clean and build the project, it's just fine.

This topic has been closed for replies.

1 reply

April 30, 2011

Update: This is for a Library project. It seems to work fine for a regular project.

Participating Frequently
April 30, 2011

hi, sorry but i dont know that there is much we can do to help. this sound like a flash builder bug. these forums  are for the open source flexunit project. the execute flexunit stuff inside builder was implemented by the flash builder team and is not part of the project nor maintained outside of adobe engineering. i would file a bug at bugs.adobe.com and post the bug number here. i can try to get some attention drawn to it, but we dont even have  access to that source

mike

April 30, 2011

As a workaround, could I create an ant task to run the tests for library projects?