I Think this is a known issue that has been observed since a while (probably more than 3 years) unfortunately I couln't quite find out where it's comming from but I documented a Workaround. https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms Have a look at the "things I recommend to Change" especially the additional plugin-dependency to flexmojos-threadlocaltoolkit-wrapper before the Compiler (this is actually quite important to add this before the Compiler).
Eventually this will help. Chris ________________________________________ Von: Poonam Anand <[email protected]> Gesendet: Freitag, 7. März 2014 11:57 An: [email protected] Betreff: Re: AW: AW: Flex mojos 6.0.1 and Flex SDK 4.10 - Facing problem with AS classes inclusion Yup thats correct :) Ok so now I include all classes individually. Yes that is difficult task to do (although replaced tags from .flexlibproperties) and anytime new class/file added, we will need to update pom and pom file becomes unnecessarily too big. I will log that bug. But after this I started getting below error : /Users/poonam.anand/kiwik_workspace/watermelon/kiwikcore4/src/main/flex/com/guavus/library/managers/AssetsManager.as(50): col: 2: Error: unable to resolve '/images/dataGrid/buttons/max_normal.png' for transcoding [Embed(source="/images/dataGrid/buttons/max_normal.png")] ^ /Users/poonam.anand/kiwik_workspace/watermelon/kiwikcore4/src/main/flex/com/guavus/library/managers/AssetsManager.as(50): col: 2: Error: Unable to transcode /images/dataGrid/buttons/max_normal.png. //AssetsManager class snippet [Embed(source="/images/dataGrid/buttons/max_normal.png")] [Bindable] public static var maxSkin:Class; //pom <source-path> <path-element>${project.build.sourceDirectory}</path-element> <path-element>src/main/resources</path-element> </source-path> src/main/resources has images folder. since I have given resources package in source path and embedded image starts with /, it should be able to resolve this by searching in specified source paths. Also not I have added this dependency which is recommended fro resources resolution: <groupId>net.flexmojos.oss</groupId> <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId> <version>${flexmojos.version}</version> </dependency> -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-mojos-6-0-1-and-Flex-SDK-4-10-Facing-problem-with-AS-classes-inclusion-tp5331p5336.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
