You must define sourceDirectory...
<build>
<sourceDirectory>src/main/flex</sourceDirectory>
Maven default is src/main/java. No idea if it is over writable from plugin
configurations.
VELO
On Thu, Nov 27, 2008 at 10:05 AM, ddinger <[EMAIL PROTECTED]>wrote:
>
> Hi,
>
> I'm experimenting with flex-mojos and trying to replace israfil
> plugin.
>
> I have a working swf project and trying to use flex mojos like so:
> ...
> <plugin>
> <groupId>info.flex-mojos</groupId>
> <artifactId>flex-compiler-mojo</artifactId>
> <extensions>true</extensions>
> <configuration>
>
> <configFile>../flex-config.xml</configFile>
> <locales>
> <locale>en_US</locale>
> <locale>de_DE</locale>
> </locales>
> <targetPlayer>9.0.124</targetPlayer>
>
> <sourceFile>FormEditorShell.mxml</sourceFile>
> </configuration>
> </plugin>
>
> My souces are located under src/main/flex.
>
> Currently I get the following error:
>
> [INFO] [flex-compiler-mojo:compile-swf]
> [INFO] Flex-mojos 2.0M9 - GNU GPL License (NO WARRANTY) - See
> COPYRIGHT file
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to found sourceDirectory: C:\dev\workspace\ehf-forms\ehf-
> forms-flex-ui\src\main\java
>
>
> Why does the mojo want to access src\main\java ?
>
> Any help appreciated.
> Dirk
> >
>
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---