AW: "Local" Installation Location for Ant Extensions

Jan Matèrne (jhm) <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <000b01d35033$f0f441d0$d2dcc570$@de>
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:[email protected]]
> 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" <[email protected]> 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 <[email protected]>
> > 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 <[email protected]> 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: [email protected] For
> > >> additional commands, e-mail: [email protected]
> > >>
> > >
> > > -------------------------------------------------------------------
> -
> > > - To unsubscribe, e-mail: [email protected] For
> > > additional commands, e-mail: [email protected]
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected] For
> additional
> > commands, e-mail: [email protected]
> >
> >
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.