But it does that.... http://github.com/Flexmojos/flexmojos/blob/flexmojos-4.x/flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/plugin/AbstractMavenMojo.java#L672
If it fails to resolve from local repo it just returns null, an that will fallback to system default.... VELO On Thu, Oct 28, 2010 at 9:31 PM, Rafael Adson Barbosa Barros < [email protected]> wrote: > In my tests, if it can't find it in the local repo, it just throws an > error, it doesn't look in the system path. > What I'm proposing is that it does that. > Maybe I'm overlooking something, but that happened to me. Feel free to > correct me if I'm wrong. > > Thanks, > Rafael. > > On Thu, Oct 28, 2010 at 4:18 PM, Marvin Froeder <[email protected]> wrote: > >> >> >> On Thu, Oct 28, 2010 at 4:12 PM, Rafael Adson <[email protected]>wrote: >> >>> My suggestion is to add a third option: if the user does not do that, >>> and flashplayer/adl is not installed in the local repository, but if >>> the plugin is able to find in the operating system path flashplayer/ >>> adl with the default name for that operating system, then flexmojos >>> would choose to run the one it finds. I'm aware that this can result >>> on unintended behaviour (if the user don't want to use an adl that he >>> has in the path but would rather download another from adobe for >>> whatever reason, for example), so I would like to hear what you think >>> about this. >>> >> >> Right now it has 3 steps to find adl/fp.... >> >> 1 - Did user explicit step adl/fp? If so, use it, otherwise: >> 2 - Does user has adl/fp installed on maven local repository? If so, use >> it, otherwise: >> 3 - Assume user has adl/fp on system path, which I can't check.... >> >> If you don't wanna flexmojos to use adl/fp from you local repo it makes >> more sense to me to not install it on the local repo.... am I missing >> something here? >> >> >> VELO >> >> -- >> 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]<flex-mojos%[email protected]> >> For more options, visit this group at >> http://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]<flex-mojos%[email protected]> > For more options, visit this group at > http://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/
