Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2003 16:06:42 +0200
From:      Jean-Baptiste Quenot <jb.quenot@caraldi.com>
To:        java@FreeBSD.org
Subject:   Re: ant script annoyances
Message-ID:  <20030911140640.GA22265@watt.intra.caraldi.com>
In-Reply-To: <20030911151218.J23585@puget.esil.univ-mrs.fr>
References:  <20030909215210.GA5404@grimoire.chen.org.nz> <20030910204830.GA60171@grimoire.chen.org.nz> <200309111110.42838.ernst.dehaan@nl.wanadoo.com> <20030911151218.J23585@puget.esil.univ-mrs.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
* Herve Quiroz:

> Although  I  was  quite  fond   of  the  current  behaviour  when  you
> implemented it,  I just faced  the problem last  night and I  found it
> very annoying.

Just a quick note to say that yes, the behaviour of automatically adding
jars  to the  classpath is  great,  but not  in  the scope  of Ant.   It
could  just be  a  shell  script that  one  could  use independently  by
sourcing  /usr/local/share/java/setup-classpath.sh (let's  call it  like
that) before invoking ant.

I  use my  own algorithm  for  setting up  the classpath,  but this  has
definitely *nothing* to  do with ant.  Every project should  have a copy
of the  libs IMHO.  Ant should  not rely on FreeBSD's  installed classes
for proper function.   It is not portable that way.   The magical script
fragment  should only  be considered  *convenience* shell  function, but
should not be included in /usr/local/bin/ant.

Best regards,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030911140640.GA22265>