db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stein Eldar Johnsen <morime...@gmail.com>
Subject Re: Derby build failure.
Date Wed, 30 Nov 2005 16:07:15 GMT
Dyre.Tjeldvoll@Sun.COM wrote:

>Stein Eldar Johnsen <morimekta@gmail.com> writes:
>
>  
>
>>Hi
>>
>>Im trying to compile Derby on my computer (Derby from SVN and 10.1.2.1
>>source generates same messge), but when I run ant it generates an error.
>>The error is the same whether sane is true or false. I am running
>>ant-1.6.2, java-1.4.2_09 / java-1.3.1_16. The message from ant:
>>
>>Buildfile: build.xml
>>
>>init:
>>
>>ensuresanitystate:
>>
>>evaluate.sane:
>>
>>ensuresanitystate.sane:
>>
>>sane:
>>
>>BUILD FAILED
>>/home/morimekta/workspace/DerbySVN/build.xml:37: The following error
>>occurred while executing this line:
>>/home/morimekta/workspace/DerbySVN/build.xml:51: The following error
>>occurred while executing this line:
>>/home/morimekta/workspace/DerbySVN/build.xml:62: The following error
>>occurred while executing this line:
>>/home/morimekta/workspace/DerbySVN/build.xml:66: The following error
>>occurred while executing this line:
>>/home/morimekta/workspace/DerbySVN/build.xml:523: Could not create task
>>or type of type: propertyfile.
>>
>>Ant could not find the task or a class this task relies upon.
>>    
>>
>
>Sounds very much like you're not using the ant you think you're
>using...
>
>It is not enough to just set ANT_HOME, you also need to add
>$ANT_HOME/bin to your path (before any other ant, of course) 
>
>Example:
>dt136804@khepri29/private/tmp/DERBY/derby-85$ which ant
>/usr/local/java/ant/bin/ant
>dt136804@khepri29/private/tmp/DERBY/derby-85$ echo $ANT_HOME
>/usr/local/java/ant
>dt136804@khepri29/private/tmp/DERBY/derby-85$ export ANT_HOME=/usr/local/share/java/apache-ant-1.6.2
>dt136804@khepri29/private/tmp/DERBY/derby-85$ which ant
>/usr/local/java/ant/bin/ant
>dt136804@khepri29/private/tmp/DERBY/derby-85$ export PATH=$ANT_HOME/bin:$PATH
>dt136804@khepri29/private/tmp/DERBY/derby-85$ which ant
>/usr/local/share/java/apache-ant-1.6.2/bin/ant
>
>  
>
Discovered that my ant build was incomplete. Trying again with new ant 
build.

-- 
Stein Eldar Johnsen
 - e-mail: morimekta@gmail.com
 - phone: +47 4152 1901


Mime
View raw message