I think I can use just the slash....includeTestFiles = new String[] {
"**/Test*.as", "**/*Test.as" };I was completely ignoring this change, never thought could cause this.... thanks a looooot VELO On Mon, Apr 27, 2009 at 10:46 PM, dtornkaew <[email protected]> wrote: > > Looks like the directory scanning has been switched from Apache > Commons to Plexus Utils. > > After adjusting the logging I found that none of the test classes > where being found and it didn't just skip the tests like before. > > I found some Java Docs for Plexus Utils and made the following change. > I suppose a proper fix would also include not launching the Flash > Player if no tests are found but I didn't do that. > > diff --git a/flexmojos-maven-plugin/src/main/java/org/sonatype/ > flexmojos/compiler/TestCompilerMojo.java b/flexmojos-maven-plugin/src/ > main/java/org/sonatype/flexmojos/compiler/TestCompilerMojo.java > index 9da3a41..2c2d2aa 100644 > --- a/flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/ > compiler/TestCompilerMojo.java > +++ b/flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/ > compiler/TestCompilerMojo.java > @@ -118,7 +118,7 @@ public class TestCompilerMojo > > if ( includeTestFiles == null ) > { > - includeTestFiles = new String[] { "Test*.as", > "*Test.as" }; > + includeTestFiles = new String[] { "**\\Test*.as", "**\ > \*Test.as" }; > } > > File outputFolder = new File( build.getTestOutputDirectory > () ); > > Lance > > On Apr 27, 7:50 pm, Marvin Froeder <[email protected]> wrote: > > Yes I broke it but I don't know exactly when or how.... > https://issues.sonatype.org/browse/FLEXMOJOS-86 > > > > <https://issues.sonatype.org/browse/FLEXMOJOS-86>If someone found the > last > > working revision I could rollback my changes, but I'm very busy to > > investigate this right now, so any help is welcome. > > > > VELO > > > > On Mon, Apr 27, 2009 at 9:47 PM, Dtornkaew <[email protected]> wrote: > > > > > VELO, > > > > > A couple hours ago I integrated your SVN trunk into my local GIT > > > branch and it looks like something in the last day or two broke unit > > > tests... at least on Ubuntu 9.04 anyway. > > > > > They were working before I integrated from the trunk earlier today. > > > The last time I integrated before that was on Sunday. There is a debug > > > error something about "canberra-gtk-module". I don't know if this > > > error came up before because I didn't look at the debug output but it > > > did work fine up until the last integration I did. > > > > > What happens is the Flash Player window just sits open and hangs > > > there. > > > > > Here is the Maven debug log starting from when the Flash Player window > > > opened. > > > > > [INFO] Starting tests > > > [DEBUG] exec: flashplayer - /home/llinder/test/test/target/test- > > > classes/TestRunner.swf > > > [DEBUG] Creating process > > > [DEBUG] opened server socket > > > [DEBUG] opened server socket > > > [DEBUG] Process created java.lang.unixproc...@bb8e5f > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl null > > > [DEBUG] resultHandler null > > > [DEBUG] Output pumpers ON > > > [DEBUG] [SYSERR]: Gtk-Message: Failed to load module "canberra-gtk- > > > module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF > > > class: ELFCLASS64 > > > [DEBUG] Waiting for > > > [DEBUG] accepting data from client > > > [DEBUG] AsVmControl handleRequest > > > [DEBUG] get status > > > [DEBUG] got status > > > [DEBUG] [SYSERR]: dataHandler > > > [DEBUG] [SYSERR]: data Server Status > > > [DEBUG] [SYSERR]: replying > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] get status > > > [DEBUG] got status > > > [DEBUG] [SYSERR]: dataHandler > > > [DEBUG] [SYSERR]: data Server Status > > > [DEBUG] [SYSERR]: replying > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > [DEBUG] asVmLauncher RUNNING > > > [DEBUG] asVmControl RUNNING > > > [DEBUG] resultHandler null > > > ... > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
