And no warning on console output? VELO
On Mon, Mar 9, 2009 at 12:10 PM, Michael <[email protected]> wrote: > > It is - src/main/flex/Indaba.xml. I noticed I spelt it wrong > (lowercase in my pom). After I changed it, same problem. > > Pom is like this: > > <build> > <sourceDirectory>src/main/flex</sourceDirectory> > <testSourceDirectory>src/test/flex</testSourceDirectory> > <extensions> > <extension> > <groupId>org.apache.maven.wagon</groupId> > <artifactId>wagon-webdav</artifactId> > <version>1.0-beta-2</version> > </extension> > </extensions> > <plugins> > <plugin> > <groupId>info.rvin.mojo</groupId> > <artifactId>flex-compiler-mojo</artifactId> > <extensions>true</extensions> > <configuration> > <sourceFile>Indaba.mxml</sourceFile> > <sourcePaths> > <paths> > <path>assets</path> > </paths> > </sourcePaths> > </configuration> > </plugin> > </plugins> > </build> > > On Mar 9, 2:56 pm, Marvin Froeder <[email protected]> wrote: > > [WARNING] Source file was not defined, flex-mojos will guess one. > > > > I guess flexmojos didn't found your indaba.mxml.... > > > > Are you sure this file is on src/main/flex/indaba.mxml? > > > > VELOOn Mon, Mar 9, 2009 at 11:39 AM, Michael <[email protected]> > wrote: > > > > > Console output is: > > > > > [INFO] Scanning for projects... > > > WAGON_VERSION: 1.0-beta-2 > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Building indaba > > > [INFO] task-segment: [clean, compile] > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] [clean:clean] > > > [INFO] [resources:resources] > > > [INFO] Using default encoding to copy filtered resources. > > > Downloading: > > > > >http://ci-controller.gamesys.local:8080/archiva/repository/internal/c. > .. > > > Downloading: > > >http://svn.sonatype.org/flexmojos/repository//com/gorillalogic/flexmo. > .. > > > Downloading: > > >http://maven.objectweb.org/maven2/com/gorillalogic/flexmonkey/0.8/fle. > .. > > > Downloading: > > >http://repo1.maven.org/maven2/com/gorillalogic/flexmonkey/0.8/flexmon. > .. > > > Downloading: > > >http://ci-controller.gamesys.local:8080/archiva/repository/internal/g. > .. > > > Downloading: > > >http://svn.sonatype.org/flexmojos/repository//gamesys/blocker_popup/1. > .. > > > Downloading: > > >http://maven.objectweb.org/maven2/gamesys/blocker_popup/1.0/blocker_p. > .. > > > Downloading: > > >http://repo1.maven.org/maven2/gamesys/blocker_popup/1.0/blocker_popup. > .. > > > Downloading: > > >http://ci-controller.gamesys.local:8080/archiva/repository/internal/g. > .. > > > Downloading: > > >http://svn.sonatype.org/flexmojos/repository//gamesys/icons/1.0/icons. > .. > > > Downloading: > > >http://maven.objectweb.org/maven2/gamesys/icons/1.0/icons-1.0.pom > > > Downloading: > http://repo1.maven.org/maven2/gamesys/icons/1.0/icons-1.0.pom > > > Downloading: > > >http://ci-controller.gamesys.local:8080/archiva/repository/internal/g. > .. > > > Downloading: > > >http://svn.sonatype.org/flexmojos/repository//gamesys/chat_temp_2/1.0. > .. > > > Downloading: > > >http://maven.objectweb.org/maven2/gamesys/chat_temp_2/1.0/chat_temp_2. > .. > > > Downloading: > > >http://repo1.maven.org/maven2/gamesys/chat_temp_2/1.0/chat_temp_2-1.0. > .. > > > Downloading: > > >http://ci-controller.gamesys.local:8080/archiva/repository/internal/g. > .. > > > Downloading: > > >http://svn.sonatype.org/flexmojos/repository//gamesys/emoticons/1.0/e. > .. > > > Downloading: > > >http://maven.objectweb.org/maven2/gamesys/emoticons/1.0/emoticons-1.0. > .. > > > Downloading: > > >http://repo1.maven.org/maven2/gamesys/emoticons/1.0/emoticons-1.0.pom > > > Downloading: > > > > >http://ci-controller.gamesys.local:8080/archiva/repository/internal/c. > .. > > > Downloading: > > >http://svn.sonatype.org/flexmojos/repository//com/googlecode/flexlib/. > .. > > > Downloading: > > >http://maven.objectweb.org/maven2/com/googlecode/flexlib/flexlib/2.4/. > .. > > > Downloading: > > >http://repo1.maven.org/maven2/com/googlecode/flexlib/flexlib/2.4/flex. > .. > > > [INFO] [flex-compiler-mojo:compile-swf] > > > [INFO] Flex-mojos 2.0.3 - GNU GPL License (NO WARRANTY) - See > > > COPYRIGHT file > > > [WARNING] Source file was not defined, flex-mojos will guess one. > > > [INFO] Using configuration file /Users/michael/Development/gamesys/ > > > flex/indaba/target/classes/config.xml > > > [INFO] Flex compiler configurations: > > > -compiler.accessible=false > > > -compiler.actionscript-file-encoding UTF-8 > > > -compiler.allow-source-path-overlap=false > > > -compiler.as3=true > > > -compiler.debug=false > > > -compiler.es=false > > > -compiler.external-library-path /Users/michael/Development/gamesys/ > > > flex/indaba/target/classes/libraries/playerglobal.swc > > > -compiler.fonts.local-fonts-snapshot /Users/michael/Development/ > > > gamesys/flex/indaba/target/classes/fonts.ser > > > -compiler.headless-server=false > > > -compiler.include-libraries= > > > -compiler.keep-all-type-selectors=false > > > -compiler.keep-generated-actionscript=false > > > -compiler.library-path /Users/michael/.m2/repository/com/adobe/flex/ > > > framework/framework/3.2.0.3958/framework-3.2.0.3958.swc /Users/ > > > michael/.m2/repository/com/adobe/flexunit/flexunit/0.9/ > > > flexunit-0.9.swc /Users/michael/.m2/repository/gamesys/xiff/0.0.1/ > > > xiff-0.0.1.swc /Users/michael/.m2/repository/gamesys/blocker_popup/1.0/ > > > blocker_popup-1.0.swc /Users/michael/.m2/repository/gamesys/icons/1.0/ > > > icons-1.0.swc /Users/michael/.m2/repository/gamesys/chat_temp_2/1.0/ > > > chat_temp_2-1.0.swc /Users/michael/.m2/repository/gamesys/emoticons/ > > > 1.0/emoticons-1.0.swc /Users/michael/.m2/repository/com/googlecode/ > > > flexlib/flexlib/2.4/flexlib-2.4.swc /Users/michael/.m2/repository/com/ > > > adobe/flex/framework/applicationupdater/3.2.0.3958/ > > > applicationupdater-3.2.0.3958.swc /Users/michael/.m2/repository/com/ > > > adobe/flex/framework/applicationupdater_ui/3.2.0.3958/ > > > applicationupdater_ui-3.2.0.3958.swc /Users/michael/.m2/repository/com/ > > > adobe/flex/framework/flex/3.2.0.3958/flex-3.2.0.3958.swc /Users/ > > > michael/.m2/repository/com/adobe/flex/framework/rpc/3.2.0.3958/ > > > rpc-3.2.0.3958.swc /Users/michael/.m2/repository/com/adobe/flex/ > > > framework/utilities/3.2.0.3958/utilities-3.2.0.3958.swc /Users/ > > > michael/.m2/repository/com/adobe/flex/framework/framework/3.2.0.3958/ > > > framework-3.2.0.3958-en_US.rb.swc /Users/michael/.m2/repository/com/ > > > adobe/flex/framework/rpc/3.2.0.3958/rpc-3.2.0.3958-en_US.rb.swc > > > -compiler.locale en_US > > > -compiler.namespaces.namespacehttp://www.adobe.com/2006/mxml/Users/ > > > michael/Development/gamesys/flex/indaba/target/classes/configs/mxml- > > > manifest.xml > > > -compiler.optimize=true > > > -compiler.source-path /Users/michael/Development/gamesys/flex/indaba/ > > > src/main/flex > > > -compiler.strict=true > > > -compiler.use-resource-bundle-metadata=true > > > -compiler.verbose-stacktraces=false > > > -default-background-color 8821927 > > > -default-frame-rate 24 > > > -default-script-limits 1000 60 > > > -default-size 500 375 > > > -licenses.license flexbuilder3 130740022651794622903533 > > > -licenses.license flexbuilder3.displayed20DaysLeftMessage true > > > -licenses.license flexbuilder3.displayedFirstLaunchMessage true > > > -load-config /Users/michael/Development/gamesys/flex/indaba/target/ > > > classes/config.xml > > > -metadata.date Mon Mar 09 14:35:43 GMT 2009 > > > -target-player 9.0.0 > > > -use-network=true > > > -verify-digests=true > > > [INFO] Loading configuration file /Users/michael/Development/gamesys/ > > > flex/indaba/target/classes/config.xml > > > [ERROR] /Users/michael/Development/gamesys/flex/indaba/src/main/flex/ > > > AntTestRunner.mxml:[35,-1] Access of undefined property AllTests. > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [ERROR] BUILD ERROR > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Error compiling! > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] For more information, run Maven with the -e switch > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Total time: 43 seconds > > > [INFO] Finished at: Mon Mar 09 14:35:49 GMT 2009 > > > [INFO] Final Memory: 41M/490M > > > [INFO] > > > > ------------------------------------------------------------------------ > > > > > That's the console output. AntTestRunner.mxml has the following script > > > tag: > > > > > <mx:Script> > > > <![CDATA[ > > > import gamesys.chat.AllTests; > > > import flexunit.junit.JUnitTestRunner; > > > import flexunit.framework.TestSuite; > > > > > AllTest.as is in src/test/flex. > > > I've changed the scope of flexunit to not be test so as far as I can > > > see it's only AllTests that is causing the problem. > > > > > On Mar 9, 12:30 pm, Marvin Froeder <[email protected]> wrote: > > > > Still, AntTestRunner shouldn't be compiled!!! > > > > > > If your main APP is indaba.mxml (you didn't sent console output to > prove > > > > that), AntTestRunner will only be compiled if you add any reference > to > > > ATR > > > > on indaba... > > > > > > Something doesn't look right here..... may be you have an import on > some > > > > class for ATR, not sure.... > > > > > > VELO > > > > > > On Mon, Mar 9, 2009 at 6:57 AM, Michael <[email protected]> > > > wrote: > > > > > > > Thanks VELO and Logan, I think the best thing for now would be for > me > > > > > to put src/test/flex on the build path. The AntTestRunner > references > > > > > the test suite which is in src/test/flex so it's understandable why > > > > > the error occurs. > > > > > > > -load-config /Users/michael/Development/gamesys/flex/indaba/target/ > > > > > classes/config.xml > > > > > -metadata.date Mon Mar 09 09:51:02 GMT 2009 > > > > > -target-player 9.0.0 > > > > > -use-network=true > > > > > -verify-digests=true > > > > > [INFO] Loading configuration file > /Users/michael/Development/gamesys/ > > > > > flex/indaba/target/classes/config.xml > > > > > [ERROR] > /Users/michael/Development/gamesys/flex/indaba/src/main/flex/ > > > > > AntTestRunner.mxml:[35,-1] Access of undefined property AllTests. > > > > > > > Is it easy to add src/test/flex to the build path? > > > > > > > On Mar 6, 6:01 pm, Marvin Froeder <[email protected]> wrote: > > > > > > Externs is kinda of trick parameters.... in teals compiler to > doesn't > > > > > > include that class bytecode on final SWF. But it does try to > compile > > > the > > > > > > class. > > > > > > > > Just checking.... > > > > > > on src/main/flex > > > > > > AntTestRunner.mxml > > > > > > indaba.mxml > > > > > > other .as OR .mxml used by indaba > > > > > > on src/test/flex > > > > > > all test classes > > > > > > > > That is it? > > > > > > > > Can you provide console output? > > > > > > > > VELO > > > > > > > > On Fri, Mar 6, 2009 at 2:54 PM, Logan Allred <[email protected]> > > > wrote: > > > > > > > > > On Fri, Mar 6, 2009 at 10:45 AM, Michael < > > > [email protected]> > > > > > > > wrote: > > > > > > > > In Flexbuilder I don't seem to be given an option to include > > > anything > > > > > > > > under src/test/flex as a runnable application. > > > > > > > > In project properties -> Flex Build Path my main source > folder is > > > > > src/ > > > > > > > > main/flex and I have src/test/flex listed as an additional > source > > > > > path > > > > > > > > folder. > > > > > > > > In project properties -> Flex Applications I can't add any > apps > > > that > > > > > > > > are under anything except src/main/flex. > > > > > > > > > Yes, I know--very frustrating FB bug. We don't have any manual > test > > > > > > > runners in our swf project, only our swc projects, so we > haven't > > > run > > > > > > > into that problem yet. > > > > > > > > > I was just trying to think of a solution, but it's tricky. The > > > correct > > > > > > > location is src/test/flex but then FB isn't happy. To make FB > happy > > > > > > > you move it into src/main/flex, but then Maven doesn't see > > > > > > > src/test/flex. > > > > > > > > > You may just need to add src/test/flex to the maven build path. > > > > > > > Externs seems like it would work, but since you tried it and it > > > > > > > didn't, don't know what else to try. > > > > > > > > > Logan > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
