ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject publishing war files
Date Thu, 09 Nov 2006 17:07:04 GMT



I cannot get ivy1.4.1 to publish my WAR file. Jar files yes, war files no.

 From ivy.xml

   <publications>
     <!-- the artifact is only produced in the master distro, and it is 
a WAR file-->
     <artifact conf="master" type="war" ext="war"/>
   </publications>

the build log:

ivy-publish:
[ivy:publish] :: publishing :: [ org.antbook | diary ]
[ivy:publish] missing artifact [ org.antbook | diary | 0.1alpha-SNAPSHOT 
]/diary.jar[jar]:
[ivy:publish] 
/home/slo/Projects/examples/diary/webapp/dist/diary-0.1alpha-SNAPSHOT.jar 
file does not exist
[ivy:publish]   published ivy to 
/home/slo/.ivy/local/org.antbook/diary/0.1alpha-SNAPSHOT/ivys/ivy.xml

BUILD FAILED - at 09/11/06 17:04
/home/slo/Projects/examples/diary/xml/ivy-mixin.xml:44: impossible to 
publish artifacts for [ org.antbook | diary | working@chamonix ]: 
missing published artifacts for [ org.antbook | diary | working@chamonix 
]: [[ org.antbook | diary | 0.1alpha-SNAPSHOT ]/diary.jar[jar]]


and the filesystem
webapp> ls -l dist

total 384
drwxr-xr-x 2 slo users     48 2006-11-09 16:32 api
-rw-r--r-- 1 slo users 386998 2006-11-09 16:58 diary0.1alpha-SNAPSHOT.war
drwxr-xr-x 2 slo users     48 2006-11-09 16:32 doc
-rw-r--r-- 1 slo users   1727 2006-11-09 16:56 ivy-0.1alpha-SNAPSHOT.xml



Mime
View raw message