On Wed, Aug 19, 2009 at 9:10 AM, Anjan<[email protected]> wrote: > when building the same flex project with ant, i don't require all > these jars.
Actually ant does require them as well. They are part of the Flex SDK. They are in the Flex SDK you have installed on your local machine that ant is pointing to. Flexmojos does not require that you have already downloaded the Flex SDK, instead, it downloads all of the required portions of the Flex SDK as they are needed. This is the normal way of using Maven. If you use Maven with any Java projects, you will find they deal with dependencies the same way, downloading jars as they need them. > Can someone tell me how to restrict from only downloading the > absolutely required jars and avoid duplicate jars from being > downloaded, while still building with maven? I don't really see why this is a problem, it is normal Maven behavior. They will be downloaded once and stored in your local Maven repository, then you won't need to download them again. There shouldn't be any duplicate jars. If you are seeing duplicate jars, then let us know which ones and we'll find out why they are being downloaded. But if you really don't want to download the Flex SDK this way, then you can switch to one of the other Flex Maven plugins like Israfil or Servebox. They both use a locally installed Flex SDK (so you still download the jars, just in advance and all together in a big zip file). Logan --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
