I've had this problem before.  The tools/bin/ant sources /etc/ant.conf, which on my system sets ANT_HOME to the locally installed ant.  So I just commented it out and cocoon builds fine. 
 
# load system-wide ant configuration
#if [ -f "/etc/ant.conf" ] ; then
#  . /etc/ant.conf
#fi

>>> [EMAIL PROTECTED] 6/22/2004 3:29:50 PM >>>
>>>>> "Joerg" == Joerg Heinicke <[EMAIL PROTECTED]> writes:

    Joerg> On 22.06.2004 20:50, Colin Paul Adams wrote:
    >>> I had the same fault this morning with Fedora 2. I found that
    >>> after removing the Ant installed with Fedora 2 the problem was
    >>> resolved.
    >> Well, I shall do that, but it's hardly a proper solution.

    Joerg> This should not be necessary as the build.sh resets all
    Joerg> these properties like ANT_HOME and CLASSPATH:
    Joerg> http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/build.sh?rev=1.12&view=markup.
    Joerg> How can it happen that an installed Ant can jump in?

I don't know - but it does.
--
Colin Paul Adams
Preston Lancashire

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to