Hi Zac, Thank you for taking the time to answer my question. I was expecting that ivy:buildlist would return the list of modules in the order of their dependency, as it's mentined in the documentation: http://ant.apache.org/ivy/history/latest-milestone/use/buildlist.html
*The buildlist task enable to obtain a filelist of files (usually build.xml files) ordered according to ivy dependency information from the least dependent to the most one, or the inverse. (since 1.2)* The fact that the ivy:buildlist returns the modules in their alphabetical order is contrary to what is specified, so I was wondering what am I doing wrong in my configuration. Any idea? On Mon, Sep 22, 2014 at 9:37 PM, Zac Jacobson <pie....@gmail.com> wrote: > Your ant script is building projects in alphabetical order, which happens > to not match your ivy dependency order. So PrjDependingOnUtilPrj is built > first, but it can't find a UtilPrj because that project hasn't been > built/published yet. > > You should give your master ant file the explicit order to build/publish > things, if that's what you want to do. > > On Mon, Sep 22, 2014 at 2:07 AM, Ionut Scutaru <ionut.scut...@gmail.com> > wrote: > > > Hi, > > > > I'm using Ivy 2.2.0 and Ant 1.9.2 and I'm currently facing a problem > > related to ivy:buildlist: it generates the list of dependencies in the > > project in the wrong order. > > > > I'm attaching a configuration that shows the problem that I'm facing. > > > > I'm running the build.xml located in the deploymentUtilities/ant.new > > folder and I see this error in the console: > > > > > > > > > > > > > > > > > > > > > > *[ivy:resolve] > > ::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve] > > :: UNRESOLVED DEPENDENCIES ::[ivy:resolve] > > ::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve] :: > > com.test.ivy#UtilPrj;1.0.0: not found[ivy:resolve] > > > ::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve][ivy:resolve][ivy:resolve] > > :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS* > > > > Could anybody help me ? I really don't understand why the order is not > the > > correct one. > > > > Thank you ! > > >