You could specify the ivy.jar-location via -lib option.
  ant -lib path/to/ivy.jar myTarget

Or you could specify it _in_ your buildfile, like in 
http://ant.apache.org/ivy/history/latest-milestone/samples/build.xml


Jan




> -----Ursprüngliche Nachricht-----
> Von: Dawid Weiss [mailto:dawid.we...@gmail.com]
> Gesendet: Samstag, 28. Oktober 2017 07:01
> An: Ant Users List
> Betreff: Re: "Local" Installation Location for Ant Extensions
> 
> If you copy over or symlink the files (not the lib folder) then you can
> have a local version of ant. In general, I would not bother and install
> globally.
> 
> D.
> 
> On Oct 28, 2017 6:39 AM, "R0b0t1" <r03...@gmail.com> wrote:
> 
> > Hello Dawid,
> >
> > I'm not sure I understand your suggestion. If I put links inside of
> > ANT_HOME or HOME/.ant/lib then I have not really avoided what I see
> as
> > the issue.
> >
> > It occurred to me after posting that I can embed an ant installation
> > inside my project directory, but down this path leads silliness, I
> > suspect.
> >
> > Cheers.
> >
> > On Fri, Oct 27, 2017 at 11:15 PM, Dawid Weiss <dawid.we...@gmail.com>
> > wrote:
> > > Set up a script and redirect ANT_HOME to your project's subfolder?
> > > (Copy over or symlink ant files, then proceed as usual).
> > >
> > > Dawid
> > >
> > > On Sat, Oct 28, 2017 at 5:14 AM, R0b0t1 <r03...@gmail.com> wrote:
> > >> I am wanting to install Ivy, but the locations I have seen
> > >> referenced,
> > namely:
> > >>
> > >> $ANT_HOME/lib, and
> > >> $HOME/.ant/lib
> > >>
> > >> are too "global" for my tastes. If at all possible I would like to
> > >> keep everything within my project's directory.
> > >>
> > >> Is this possible? I am having trouble finding answers.
> > >>
> > >> Respectfully,
> > >>      R0b0t1.
> > >>
> > >> ------------------------------------------------------------------
> -
> > >> -- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For
> > >> additional commands, e-mail: user-h...@ant.apache.org
> > >>
> > >
> > > -------------------------------------------------------------------
> -
> > > - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For
> > > additional commands, e-mail: user-h...@ant.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For
> additional
> > commands, e-mail: user-h...@ant.apache.org
> >
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to