Ant should have an ext directory 2005-01-03 - By Martin Cooper
On Mon, 3 Jan 2005, Dick, Brian E. wrote:
> Understood, but I want to create a department-wide ant distribution that > is augmented with common extension libraries. None of the options you > list make this particularly clean and easy to manage.
You could use Ant to set it up. ;-) In other words, after people install Ant, they run 'ant -f setup.xml' where the default target in that build file downloads your extension libraries from some known place and puts them into ${user.home}/.ant/lib.
-- Martin Cooper
> > -----Original Message----- > From: Ivan Ivanov [mailto:rambiusparkisanius@(protected)] > Sent: Monday, January 03, 2005 12:33 PM > To: Ant Users List > Subject: Re: Ant should have an ext directory > > > Dick, > --- "Dick, Brian E." <Brian.Dick@(protected)> wrote: > >> Does anyone else get an icky feeling when copying >> extension libraries >> into the lib directory? Isn't that why the java >> runtime added the ext >> directory? > > Ant 1.6 or higher hunts for its jars on three places: > ${ant.home}/lib, ${user.home}/.ant/lib and the > directory specified by -lib option of ant laumching > script. So from Ant 1.6 I do copy no jars in > ${ant.home}/lib; instead I place them in > ${user.home}/.ant/lib. This ease me when I change > ant/jdk version I work with. > > HTH Ivan >> >> Later, >> BEDick >> >> > --------------------------------------------------------------------- >> To unsubscribe, e-mail: >> user-unsubscribe@(protected) >> For additional commands, e-mail: >> user-help@(protected) >> >> > > > > > __________________________________ > Do you Yahoo!? > Send a seasonal email greeting and help others. Do good. > http://celebrity.mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@(protected) > For additional commands, e-mail: user-help@(protected) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@(protected) > For additional commands, e-mail: user-help@(protected) > >
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|