ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <>
Subject Re: publishing war files
Date Sat, 11 Nov 2006 10:21:38 GMT
On 11/10/06, Steve Loughran <> wrote:
> Stephane Bailliez wrote:
> > Steve Loughran wrote:
> >>
> >>
> >>
> >> I cannot get ivy1.4.1 to publish my WAR file. Jar files yes, war files
> >> no.
> >>
> > You may need to specify the type in the task otherwise I think it tries
> > to publish jar instead of using what is in the ivy.xml
> >
> > (might be wrong, but from the top of my head)
> No, I fixed it. I had to delete the ivy xml file created in dist/ next
> to the WAR and the rebuild would recreate looks like ivy doesnt
> recreate this file if the source ivy.xml file has changed.

Yes, this something which surprise a lot of users, we may better change the
default for that in a new version. The idea is that you can control the ivy
file you publish, so the creation of the ivy in the dist directory is done
by a task called deliver, which is automcatically called by the publish task
IF there is no ivy file in the dist directory. If you want to be sure it is
generated again each time you have either to call the deliver task
explicitly or set forcedeliver="true" on your publish task.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message