Nice thick. I'll try this ASAP. thanks.
On Feb 25, 10:23 pm, Dtornkaew <[email protected]> wrote: > Another work around is to put the following Flex Mojos dependency > BEFORE the compiler dependency. > > This is not the best solution but until this is resolved on the Maven > side it is the only work around that still allows you to use the > resources folder. > > <dependency> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId> > <version>${flexmojos.version}</version> > </dependency> > > Lance > > On Feb 23, 8:41 am, wlepinski <[email protected]> wrote: > > > > > > > > > For now I moved my resources to the src/main/flex folder and "solved" > > the problem. > > > There is a bug opened for this behavior? > > > Tks > > > On 23 fev, 11:37, Marvin Froeder <[email protected]> wrote: > > > > Hrmmm..... I think this is a bug that only happens when you set a custom > > > flex compiler version.... some maven classloading behavior.... > > > > Sent from Android > > > > Em 23/02/2011 07:44, "wlepinski" <[email protected]>escreveu: > > > > Hi, > > > > I'm trying to compile a projeto using flexmojos 4.0-beta-2 and i'm > > > facing problems with the default-resources goal. > > > > Actually the resources was copied to the target/classes folder but > > > when the default-compile-swc run i'm getting the following error: > > > > [INFO] --- flexmojos-maven-plugin:4.0-beta-2:compile-swc (default- > > > compile-swc) @ component-organograma --- > > > [INFO] Flexmojos 4.0-beta-2 > > > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT > > > file > > > Writing configuration dump to projectfolder\component-organograma-1.0- > > > SNAPSHOT-configs.xml > > > projectfolder\OrganizationChart.as(289): col: 3: Error: unable to > > > resolve '/icons/cursor_drag_arrow.png' for transcoding > > > > [Embed( source="/icons/cursor_drag_arrow.png" )] > > > > This is my build section: > > > > <build> > > > <plugins> > > > <plugin> > > > <groupId>org.sonatype.flexmojos</groupId> > > > <artifactId>flexmojos-maven-plugin</artifactId> > > > <configuration> > > > <includeAsClasses> > > > <source> > > > > <directory>src/main/flex</directory> > > > </source> > > > </includeAsClasses> > > > <namespaces> > > > <namespace> > > > > > > <uri>http://www.dclick.com.br/components</uri> > > > > <manifest>manifest.xml</manifest> > > > </namespace> > > > </namespaces> > > > <includeNamespaces> > > > > > > <namespace>http://www.dclick.com.br/components</namespace> > > > </includeNamespaces> > > > </configuration> > > > <dependencies> > > > <dependency> > > > <groupId>com.adobe.flex</groupId> > > > <artifactId>compiler</artifactId> > > > > <version>${flex.sdk.version}</version> > > > <type>pom</type> > > > </dependency> > > > </dependencies> > > > </plugin> > > > </plugins> > > > </build> > > > > And the parent build section of this project: > > > > <build> > > > <sourceDirectory>src/main/flex</sourceDirectory> > > > <testSourceDirectory>src/test/flex</testSourceDirectory> > > > > <!-- To define the plugin version in your parent POM --> > > > <pluginManagement> > > > <plugins> > > > <plugin> > > > <groupId>org.sonatype.flexmojos</groupId> > > > > <artifactId>flexmojos-maven-plugin</artifactId> > > > <version>${flexmojos.version}</version> > > > </plugin> > > > </plugins> > > > </pluginManagement> > > > <plugins> > > > <plugin> > > > <groupId>org.sonatype.flexmojos</groupId> > > > <artifactId>flexmojos-maven-plugin</artifactId> > > > <version>${flexmojos.version}</version> > > > <extensions>true</extensions> > > > <configuration> > > > > <resourceBundlePath>${basedir}/locale/{locale}</ > > > resourceBundlePath> > > > <coverage>true</coverage> > > > </configuration> > > > <dependencies> > > > <dependency> > > > <groupId>com.adobe.flex</groupId> > > > <artifactId>compiler</artifactId> > > > > <version>${flex.sdk.version}</version> > > > <type>pom</type> > > > </dependency> > > > </dependencies> > > > </plugin> > > > </plugins> > > > </build> > > > > I'm doing some misconfiguration of the project? > > > > Thanks. > > > > -- > > > 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 > > > athttp://groups.google.com/group/flex-mojos > > > >http://flexmojos.sonatype.org/ -- 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/
