weird.... have nothing like you mention, but have this:

/target/COMPONENT_NAME-0.193-SNAPSHOT-config-report.xml

containing this:(no reference to any flexunit lib)

<?xml version="1.0" encoding="UTF-8"?>
<flex-config xmlns="http://www.adobe.com/2006/flex-config";>
        <compiler>
                <accessible>false</accessible>
                <actionscript-file-encoding>UTF-8</actionscript-file-encoding>
                <allow-source-path-overlap>false</allow-source-path-overlap>
                <as3>true</as3>
                <debug>true</debug>
                <es>false</es>
                <extensions />
                <external-library-path>
                        
<path-element>C:\work\PROJECT_NAME\COMPONENT_NAME\target\classes
\libraries\playerglobal.swc</path-element>
                </external-library-path>
                <fonts>
                        <advanced-anti-aliasing>true</advanced-anti-aliasing>
                        <languages />
                        
<local-fonts-snapshot>C:\work\PROJECT_NAME\COMPONENT_NAME\target
\classes\fonts.ser</local-fonts-snapshot>
                        <managers>
                                
<manager-class>flash.fonts.JREFontManager</manager-class>
                                
<manager-class>flash.fonts.BatikFontManager</manager-class>
                                
<manager-class>flash.fonts.AFEFontManager</manager-class>
                                
<manager-class>flash.fonts.CFFFontManager</manager-class>
                        </managers>
                        <max-cached-fonts>20</max-cached-fonts>
                        <max-glyphs-per-face>1000</max-glyphs-per-face>
                </fonts>
                <headless-server>false</headless-server>
                <keep-all-type-selectors>false</keep-all-type-selectors>
                <keep-generated-actionscript>false</keep-generated-actionscript>
                <library-path>
                        
<path-element>C:\Users\ndomina\.m2\repository\org\swizframework
\swiz-framework\1.0.0-RC1\swiz-framework-1.0.0-RC1.swc</path-element>
                        
<path-element>C:\Users\ndomina\.m2\repository\PROJECT_NAME
\API_DEPENDENCY\0.193-SNAPSHOT\API_DEPENDENCY-0.193-SNAPSHOT.swc</path-
element>
                        
<path-element>C:\Users\ndomina\.m2\repository\com\lightstreamer
\lightstreamer.as.client\1.0.0\lightstreamer.as.client-1.0.0.swc</path-
element>
                        
<path-element>C:\Users\ndomina\.m2\repository\com\adobe\flex
\framework\datavisualization
\4.1.0.15646\datavisualization-4.1.0.15646.swc</path-element>
                        
<path-element>C:\Users\ndomina\.m2\repository\com\adobe\flex
\framework\flash-integration\4.1.0.15646\flash-
integration-4.1.0.15646.swc</path-element>
                        
<path-element>C:\Users\ndomina\.m2\repository\com\adobe\flex
\framework\flex\4.1.0.15646\flex-4.1.0.15646.swc</path-element>
                        
<path-element>C:\Users\ndomina\.m2\repository\com\adobe\flex
\framework\framework\4.1.0.15646\framework-4.1.0.15646.swc</path-
element>
                        
<path-element>C:\Users\ndomina\.m2\repository\com\adobe\flex
\framework\osmf\4.1.0.15646\osmf-4.1.0.15646.swc</path-element>
                        
<path-element>C:\Users\ndomina\.m2\repository\com\adobe\flex
\framework\rpc\4.1.0.15646\rpc-4.1.0.15646.swc</path-element>
                        
<path-element>C:\Users\ndomina\.m2\repository\com\adobe\flex
\framework\spark\4.1.0.15646\spark-4.1.0.15646.swc</path-element>
                        
<path-element>C:\Users\ndomina\.m2\repository\com\adobe\flex
\framework\sparkskins\4.1.0.15646\sparkskins-4.1.0.15646.swc</path-
element>
                        
<path-element>C:\Users\ndomina\.m2\repository\com\adobe\flex
\framework\textLayout\4.1.0.15646\textLayout-4.1.0.15646.swc</path-
element>
                        
<path-element>C:\Users\ndomina\.m2\repository\com\adobe\flex
\framework\utilities\4.1.0.15646\utilities-4.1.0.15646.swc</path-
element>
                </library-path>
                <mxml />
                <namespaces>
                        <namespace>
                                <uri>http://ns.adobe.com/mxml/2009</uri>
                                
<manifest>C:\work\PROJECT_NAME\COMPONENT_NAME\target\classes
\config-4.1.0.15646\mxml-2009-manifest.xml</manifest>
                        </namespace>
                        <namespace>
                                <uri>library://ns.adobe.com/flex/spark</uri>
                                
<manifest>C:\work\PROJECT_NAME\COMPONENT_NAME\target\classes
\config-4.1.0.15646\spark-manifest.xml</manifest>
                        </namespace>
                        <namespace>
                                <uri>library://ns.adobe.com/flex/mx</uri>
                                
<manifest>C:\work\PROJECT_NAME\COMPONENT_NAME\target\classes
\config-4.1.0.15646\mx-manifest.xml</manifest>
                        </namespace>
                        <namespace>
                                <uri>http://www.adobe.com/2006/mxml</uri>
                                
<manifest>C:\work\PROJECT_NAME\COMPONENT_NAME\target\classes
\config-4.1.0.15646\mxml-manifest.xml</manifest>
                        </namespace>
                </namespaces>
                <omit-trace-statements>true</omit-trace-statements>
                <optimize>true</optimize>
                <show-actionscript-warnings>true</show-actionscript-warnings>
                <show-binding-warnings>true</show-binding-warnings>
                
<show-shadowed-device-font-warnings>true</show-shadowed-device-font-
warnings>
                <source-path>
                        
<path-element>C:\work\PROJECT_NAME\COMPONENT_NAME\src\main</path-
element>
                </source-path>
                <strict>true</strict>
                <theme>
                        
<filename>C:\work\PROJECT_NAME\COMPONENT_NAME\target\classes\configs
\themes\Spark\spark.css</filename>
                </theme>
                
<use-resource-bundle-metadata>true</use-resource-bundle-metadata>
                <verbose-stacktraces>false</verbose-stacktraces>
                <locale />
        </compiler>
        <compute-digest>true</compute-digest>
        <debug-password />
        <default-background-color>8821927</default-background-color>
        <default-frame-rate>24</default-frame-rate>
        <default-script-limits>
                <max-recursion-depth>1000</max-recursion-depth>
                <max-execution-time>60</max-execution-time>
        </default-script-limits>
        <default-size>
                <width>500</width>
                <height>375</height>
        </default-size>
        <frames />
        <framework>halo</framework>
        <metadata>
                <date>Wed Jul 28 09:04:32 GFT 2010</date>
                <localized-title>
                        <title>COMPONENT_NAME</title>
                        <lang>x-default</lang>
                </localized-title>
        </metadata>
        <static-link-runtime-shared-libraries>false</static-link-runtime-
shared-libraries>
        <target-player>10.0.0</target-player>
        <use-network>true</use-network>
        <verify-digests>true</verify-digests>
        <output>C:\work\PROJECT_NAME\COMPONENT_NAME\target
\COMPONENT_NAME-0.193-SNAPSHOT.swc</output>
        <include-sources>
                
<path-element>C:\work\PROJECT_NAME\COMPONENT_NAME\src\main</path-
element>
        </include-sources>
</flex-config>

seems to me that this is not the file I'm looking for either

N



On 27 jul, 12:56, Marvin Froeder <[email protected]> wrote:
> target/test-classes/TestRunner-configs.xml
>
> the config is generated side by side with the swf now.
>
> On Tue, Jul 27, 2010 at 11:56 AM, nicolasd <[email protected]> wrote:
> > Hi VELO, I did that, I have my flash builder dump wich reference to
> > this:
>
> > <path-element>C:\dev\FlashBuilder4\eclipse\plugins
> > \com.adobe.flexbuilder.flexunit_4.0.0.272416\flexunitframework\libs
> > \version4libs\Common</path-element>
> >         <path-element>C:\dev\FlashBuilder4\eclipse\plugins
> > \com.adobe.flexbuilder.flexunit_4.0.0.272416\flexunitframework\libs
> > \version4libs\FlexProject</path-element>
> >         <path-element>C:\dev\FlashBuilder4\eclipse\plugins
> > \com.adobe.flexbuilder.flexunit_4.0.0.272416\flexunitframework\locale
> > \version4locale</path-element>
>
> > I wonder if the maven configurationReport = true is generating the
> > build.xml inside target/classess/config-<version> and target/classes/
> > config folders?
>
> > If there is the config location I didnt found any reference to
> > flexunit. Beyond that, I did a mvn install of the swc's and
> > referencing them from the pom with the exactly same result
> > (Timeout.....)
>
> > Regards,
>
> > N
>
> > On 26 jul, 15:36, Marvin Froeder <[email protected]> wrote:
> > > Start here:http://flexmojos.sonatype.org/faq.html#9
>
> > > VELOOn Mon, Jul 26, 2010 at 3:15 PM, nicolasd <[email protected]> wrote:
> > > > Hi Group, I'm pretty new to maven so I have some issues using it with
> > > > flexmojos. I have a Flex 4 project, wich use swiz and for the
> > > > moment use an API to grab mock data. The app works ok, even with a API
> > > > class that use a timer to dispatch events to simulate data push
>
> > > > Those are my versions:
>
> > > > Flex 4.0
> > > > swiz-framework-1.0.0-RC1
>
> > > > Flex unit(grabbed from project properties show this):
> > > > C:/dev/FlashBuilder4/eclipse/plugins/
> > > > com.adobe.flexbuilder.flexunit_4.0.0.272416/flexunitframework/libs/
> > > > version4libs/Common/flexunit_0.9.swc
> > > > C:/dev/FlashBuilder4/eclipse/plugins/
> > > > com.adobe.flexbuilder.flexunit_4.0.0.272416/flexunitframework/libs/
> > > > version4libs/Common/hamcrest-1.0.2.swc
> > > > C:/dev/FlashBuilder4/eclipse/plugins/
> > > > com.adobe.flexbuilder.flexunit_4.0.0.272416/flexunitframework/libs/
> > > > version4libs/FlexProject/flexunit-core-flex-4.0.0.2-sdk3.5.0.12683.swc
> > > > C:/dev/FlashBuilder4/eclipse/plugins/
> > > > com.adobe.flexbuilder.flexunit_4.0.0.272416/flexunitframework/libs/
> > > > version4libs/FlexProject/flexunitextended.swc
> > > > C:/dev/FlashBuilder4/eclipse/plugins/
> > > > com.adobe.flexbuilder.flexunit_4.0.0.272416/flexunitframework/locale/
> > > > version4locale/FlexUnitTestRunner_rb.swc
>
> > > > I've  created a sample test using swiz autorwiringTestCase and works
> > > > perfecly whitin Flash builder, but my problem happen when
> > > > I run this test from maven, the error is the one below:
>
> > > > [DEBUG] [RESULT] End test suite
> > > > [DEBUG] [RESULT] Recivied data: <testsuite errors="0" failures="1"
> > > > name="flexUnitTests.GridTests" tests="1" time="0">
> > > >  <testcase name="testControllerActionRequested" time="0">
> > > >    <failure message="Timeout Occurred before expected event"
> > > > type="flexUnitTests.GridTests">Error: Timeout Occurred before expected
> > > > event
> > > >    at org.flexunit.internals.runners.statements::ExpectAsync/
> > > > handleAsyncTimeOut()[E:\hudson\jobs\FlexUnit4-Flex4\workspace
> > > > \FlexUnit4\src\org\flexunit\internals\runners\statements
> > > > \ExpectAsync.as:315]
> > > >    at flash.events::EventDispatcher/dispatchEventFunction()
> > > >    at flash.events::EventDispatcher/dispatchEvent()
> > > >    at org.flexunit.async::AsyncHandler/handleTimeout()[E:\hudson\jobs
> > > > \FlexUnit4-Flex4\workspace\FlexUnit4\src\org\flexunit\async
> > > > \AsyncHandler.as:175]
> > > >    at flash.events::EventDispatcher/dispatchEventFunction()
> > > >    at flash.events::EventDispatcher/dispatchEvent()
> > > >    at flash.utils::Timer/tick()</failure>
> > > >  </testcase>
> > > > </testsuite>
> > > > [DEBUG] [RESULT] End test suite
> > > > [DEBUG] [RESULT] Recivied data: <endOfTestRun/>
> > > > [DEBUG] [RESULT] End test run - sending ACK: <endOfTestRunAck/>
> > > > [DEBUG] [RESULT] Socket buffer
> > > > [DEBUG] [CONTROL] query status
> > > > [DEBUG] [CONTROL] received status
> > > > [DEBUG] [CONTROL] status is: FINISHED
> > > > [DEBUG] [CONTROL] FINISHED received, terminating the thread
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger DONE
> > > > [DEBUG] [MOJO] resultHandler DONE
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger DONE
> > > > [DEBUG] [MOJO] resultHandler DONE
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger DONE
> > > > [DEBUG] [MOJO] resultHandler DONE
> > > > [DEBUG] [LAUNCHER] Flashplayer closed
> > > > [DEBUG] [LAUNCHER] Flashplayer exit as expected
> > > > [DEBUG] [MOJO] launcher DONE
> > > > [DEBUG] [MOJO] pinger DONE
> > > > [DEBUG] [MOJO] resultHandler DONE
> > > > [DEBUG] [MOJO] Test report of flexUnitTests.CheckColumnsMinSizeTest
> > > > [DEBUG] <testsuite errors="0" failures="0"
> > > > name="flexUnitTests.CheckColumnsMinSizeTest" tests="8" time="0">
> > > >  <testcase name="expiryColumnMinWidth" time="0"/>
> > > >  <testcase name="sellColumnMinWidth" time="0"/>
> > > >  <testcase name="infoColumnMinWidth" time="0"/>
> > > >  <testcase name="stateColumnMinWidth" time="0"/>
> > > >  <testcase name="marketColumnMinWidth" time="0"/>
> > > >  <testcase name="rendererColumnMinWidth" time="0"/>
> > > >  <testcase name="buyColumnMinWidth" time="0"/>
> > > >  <testcase name="changeColumnMinWidth" time="0"/>
> > > > </testsuite>
> > > > [DEBUG] [MOJO] Test report of flexUnitTests.GridTests
> > > > [DEBUG] <testsuite errors="0" failures="1"
> > > > name="flexUnitTests.GridTests" tests="1" time="0">
> > > >  <testcase name="testControllerActionRequested" time="0">
> > > >    <failure message="Timeout Occurred before expected event"
> > > > type="flexUnitTests.GridTests">Error: Timeout Occurred before expected
> > > > event
> > > >    at org.flexunit.internals.runners.statements::ExpectAsync/
> > > > handleAsyncTimeOut()[E:\hudson\jobs\FlexUnit4-Flex4\workspace
> > > > \FlexUnit4\src\org\flexunit\internals\runners\statements
> > > > \ExpectAsync.as:315]
> > > >    at flash.events::EventDispatcher/dispatchEventFunction()
> > > >    at flash.events::EventDispatcher/dispatchEvent()
> > > >    at org.flexunit.async::AsyncHandler/handleTimeout()[E:\hudson\jobs
> > > > \FlexUnit4-Flex4\workspace\FlexUnit4\src\org\flexunit\async
> > > > \AsyncHandler.as:175]
> > > >    at flash.events::EventDispatcher/dispatchEventFunction()
> > > >    at flash.events::EventDispatcher/dispatchEvent()
> > > >    at flash.utils::Timer/tick()</failure>
> > > >  </testcase>
> > > > </testsuite>
> > > > [WARNING] Unit test flexUnitTests.GridTests failed.
> > > > [INFO]
>
> > ------------------------------------------------------------------------
> > > > [INFO] Tests run: 9, Failures: 0, Errors: 1, Time Elapsed: 0 sec
> > > > [INFO]
>
> > ------------------------------------------------------------------------
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
>
> > ------------------------------------------------------------------------
> > > > [INFO] Some tests fail
> > > > [INFO]
>
> > ------------------------------------------------------------------------
> > > > [DEBUG] Trace
> > > > org.apache.maven.lifecycle.LifecycleExecutionException: Some tests
> > > > fail
> > > >    at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
> > > > 719)
> > > >    at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:
> > > > 556)
> > > >    at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
> > > > 535)
> > > >    at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:
> > > > 387)
> > > >    at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:
> > > > 348)
> > > >    at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
> > > > 180)
> > > >    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> > > >    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> > > >    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> > > >    at
> > > > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:
> > > > 60)
> > > >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >    at
>
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > > > 39)
> > > >    at
>
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> > > > 25)
> > > >    at java.lang.reflect.Method.invoke(Method.java:597)
> > > >    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
> > > > 315)
> > > >    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > >    at
> > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > >    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > Caused by: org.apache.maven.plugin.MojoExecutionException: Some tests
> > > > fail
> > > >    at
> > > > org.sonatype.flexmojos.test.FlexUnitMojo.tearDown(FlexUnitMojo.java:
> > > > 307)
> > > >    at
> > > > org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java:
> > > > 152)
> > > >    at
>
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
> > > > 490)
> > > >    at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
> > > > 694)
> > > >    ... 17 more
> > > > [INFO]
>
> > ------------------------------------------------------------------------
> > > > [INFO] Total time: 52 seconds
> > > > [INFO] Finished at: Mon Jul 26 14:27:20 GFT 2010
> > > > [INFO] Final Memory: 31M/216M
> > > > [INFO]
>
> > ------------------------------------------------------------------------
>
> ...
>
> leer más »

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to