Hi Marvin,

yes, it does exist. I looked into the flexmojos Source Code in the
meantime. This warning is thrown in ApplicationMojo before you call
MavenUtils.resolveSourceFile(...). As I understand the code this
function reads the sourceFile configuration to find the actual source
file. So the warning comes too early in the process. The warning
should be issued, after the configured source file cannot be found.

Best regards,
Carsten

On Apr 6, 1:22 pm, Marvin Froeder <[email protected]> wrote:
> Does this sourceFile exists?
> VELO
>
> On Mon, Apr 6, 2009 at 5:53 AM, Carsten Schlipf
> <[email protected]>wrote:
>
>
>
> > Hi all,
>
> > how can I avoid this warning? My understanding is that this comes
> > because the entry source file is not set. I have my own file:
> > MyApp.mxml and have set this in my POM as below.
>
> > <build>
> >    <finalName>opr-tool-runner</finalName>
> >    <sourceDirectory>src/main/flex</sourceDirectory>
> >    <testSourceDirectory>src/test/flex</testSourceDirectory>
> >      <plugin>
> >        <groupId>org.sonatype.flexmojos</groupId>
> >        <artifactId>flexmojos-maven-plugin</artifactId>
> >        <extensions>true</extensions>
> >        <configuration>
> >          <sourceFile>MyApp.mxml</sourceFile>
> >          <sourcePaths>
> >            <sourcePath>${project.build.sourceDirectory}</sourcePath>
> >          </sourcePaths>
> >          <includeSources>
> >            <param>${project.build.sourceDirectory}</param>
> >          </includeSources>
> >        </configuration>
> >      </plugin>
> >    </plugins>
> >  </build>
>
> > Nevertheless I can't get rid of this warning. What does this mean? How
> > can I avoid it?
>
> > Best regards,
> > Carsten
>
>
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to