You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Nathan Franzen <Na...@mmodal.com> on 2010/02/24 21:31:37 UTC
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
RE: [conf] RE: ivy publish
Posted by Nathan Franzen <Na...@mmodal.com>.
So: http://issues.apache.org/jira/browse/IVY-472
Would be helpful to add to the documentation generally which [] patterns are available in which contexts.
-Nate
> -----Original Message-----
> From: Nathan Franzen [mailto:Nathan.Franzen@mmodal.com]
> Sent: 24 February 2010 03:39
> To: 'ivy-user@ant.apache.org'
> Subject: [conf] RE: ivy publish
>
> 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:Nathan.Franzen@mmodal.com]
> > Sent: 24 February 2010 03:32
> > To: 'ivy-user@ant.apache.org'
> > 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
> >
[conf] RE: ivy publish
Posted by Nathan Franzen <Na...@mmodal.com>.
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:Nathan.Franzen@mmodal.com]
> Sent: 24 February 2010 03:32
> To: 'ivy-user@ant.apache.org'
> 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
>