Works:
<ivy:publish artifactspattern="${dist.dir}/java/[artifact].[ext]"
organisation="mmodal"
module="XCalibur"
resolver="mmodal-artifactory"
pubrevision="${version}"
revision="${version}"
status="release"
overwrite="true"
conf="java"
forcedeliver="true"
/>
Doesn't work:
<ivy:publish artifactspattern="${dist.dir}/[conf]/[artifact].[ext]"
organisation="mmodal"
module="XCalibur"
resolver="mmodal-artifactory"
pubrevision="${version}"
revision="${version}"
status="release"
overwrite="true"
conf="java"
forcedeliver="true"
/>
In case 2 -- what is being substituted for [conf]? Anything?
> -----Original Message-----
> From: Nathan Franzen [mailto:[email protected]]
> Sent: 24 February 2010 03:32
> To: '[email protected]'
> Subject: ivy publish
>
> I'm trying to experiment with ivy to see if I can get it to work nicely with
> some rather non-standard filesystem organization. I've set up some ivy and
> settings files, and arranged a resolve and publish target. At the moment, I
> get
>
> ... impossible to publish artifacts for mmodal#XCalibur;1.0.0:
> java.io.IOException: missing artifact mmodal#XCalibur;1.0.0!MtiApps.jar
>
> from the publish task ("ant resolve publish"). What I'd like to know is -
> where is ivy looking for this file? I know where it is, but ivy doesn't, and
> if I knew where ivy was trying to find it, I could help out. But "ant -debug"
> doesn't seem to say. So I ask you. Where is ivy looking?
>
> Nathan
>