Hi Chris, Way back there were a lot of folks who didn't want Flex Ant scripts to use external tasks. In fact, I just went through and removed the BlazeDS Ant script's dependency on antcontrib. So it would be interesting to see whether folks want to learn how pom.xml files work and have this extra dependency.
Also some of the install scripts like the one for Falcon use the download.xml files, so I think that would mean that folks would have to download aether or the install script has to download it and warn folks it has a different license. Does aether also require any downloading of Maven jars? Is the main issue with the flex-tool-api download that we just didn't have the URL set correctly? Once we get it right it should work reliably, no? If your main point is to download as many dependencies from maven central instead of archive.a.o, I'd be ok with changing the URLs we are currently using in our get tasks to point to maven central. -Alex ________________________________________ From: Christofer Dutz [[email protected]] Sent: Friday, December 12, 2014 5:19 AM To: [email protected] Subject: Proposal for cleaning up the downloading of dependencies Hi, I am currently unable to participate on this list the same way I was used to for the last months. But the project I am currently working on is migrating an insanely large and complex Ant build to maven. For this we are implementing several steps. One I think could really be benefitial to the Flex project. Currently we download third party libs using "get" (See other problem thread in paralell). A lot of projects in the Ant world use Ivy for this. But still with Ivy we were having great problems. I managed to switch my customers build to using Aether-Ant-Tasks and to use Aether (The part of Maven for downloading and dependency resolution and deployment) for resolving the dependencies. Currently I have added one pom.xml to each module, in which I define the dependencies of that module using normal Maven dependencies. In the ant build all I have to do, is to call the "aether:resolve" task to resolve all the dependencies defined in the pom.xml I pass in as an argument. Then all is downloaded correctly and copied to a lib-directory that I specify. If we were to adapt this pattern (I be we can't for all deps - such as playerglobal, but for most of them). As a result we would make sure the build uses artifacts that maven would too, we wouldn't have to rely that much on maintaining a large set of external sites and we would get maven artifacts almost for free. What do you think? I'm not talking about switching to Maven, just to use pars of maven for handling the downloading of most of the artifacts we rely on. Chris
