Hi Chris,

I have already added dependency for this workaround but still the same error, 
have gone through all the documentation on confluence. Mentioned in below mail 
also, listing here again:

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>

Poonam

From: "Christofer Dutz [via Apache Flex Users]" 
<[email protected]<mailto:[email protected]>>
Date: Friday, 7 March 2014 5:59 PM
To: Poonam Anand <[email protected]<mailto:[email protected]>>
Subject: AW: AW: AW: Flex mojos 6.0.1 and Flex SDK 4.10 - Facing problem with 
AS classes inclusion

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 <[hidden email]</user/SendEmail.jtp?type=node&node=5337&i=0>>
Gesendet: Freitag, 7. März 2014 11:57
An: [hidden email]</user/SendEmail.jtp?type=node&node=5337&i=1>
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.


________________________________
If you reply to this email, your message will be added to the discussion below:
http://apache-flex-users.2333346.n4.nabble.com/Flex-mojos-6-0-1-and-Flex-SDK-4-10-Facing-problem-with-AS-classes-inclusion-tp5331p5337.html
To unsubscribe from Flex mojos 6.0.1 and Flex SDK 4.10 - Facing problem with AS 
classes inclusion, click 
here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5331&code=UG9vbmFtLkFuYW5kQGd1YXZ1cy5jb218NTMzMXwtMTgzOTMwNjQxOA==>.
NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
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-tp5331p5338.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to