Hi Charles,

Thank you for the tip. Your guess is correct. I initially installed ant
from linux distribution (/usr/share/ant) but uninstalled it and un
installed it. Then I installed ant from apache (/usr/local/ant) and
installed GT 4.0.4. GT 4.0.4 did not create any problem. When I
uninstalled ant from linux distribution it removed every thing except
/etc/ant.conf file and a few files in /usr/share/ant directory. So, I
deleted the /usr/share/ant directory and I am able to compile GT4.0.5
code without problems. But why GT 4.0.4 did not create any problems is
still a open question?

Cheers,
Samatha

Charles Bacon wrote:
> On Sep 26, 2007, at 5:53 AM, Samatha Kottha wrote:
>
>> Hi,
>>
>> I am facing the following problem when I compiling GT 4.0.5. But on the
>> same machine GT4.0.4 is compiled and working currently. I am updating
>> GT4.0.4 to GT4.0.5. Can anyone tell me the reason for this exception? We
>> have Java 1.6 and Ant 1.7. Ofcourse, I set the ANT_HOME. I do not think
>> it is the problem with ANT because GT4.0.4 was compiled perfectly on the
>> same machine and at present in production.
>
> I think the problem probably is the ANT_HOME, though.  What's under
> $ANT_HOME/lib?  There should be something like ant-launcher.jar.  If
> it's not there, try running "locate ant-launcher.jar" and setting your
> ANT_HOME appropriately.  It could be that there's an /etc/ant.conf
> interfering with your ANT_HOME too.
>
>
> Charles
>
>>
>> /opt/globus-4.0.5/sbin/gpt-build
>> -srcdir=source-trees/wsrf/java/common/source gcc64dbg
>> gpt-build ====> CHECKING BUILD DEPENDENCIES FOR
>> globus_java_ws_core_common
>> gpt-build ====> Changing to
>> /home/globus/software/gt4.0.5-all-source-installer/source-trees/wsrf/java/common/source
>>
>> gpt-build ====> BUILDING globus_java_ws_core_common
>> ant deploy -Ddeploy.dir=/opt/globus-4.0.5
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/tools/ant/launch/Launcher
>>
>> ERROR: Build has failed
>> make: *** [globus_java_ws_core_common] Error 1
>> [EMAIL PROTECTED]:~/software/gt4.0.5-all-source-installer> echo $ANT_HOME
>> /usr/local/ant
>> [EMAIL PROTECTED]:~/software/gt4.0.5-all-source-installer>
>> [EMAIL PROTECTED]:~/software/gt4.0.5-all-source-installer> java -version
>> java version "1.6.0"
>> Java(TM) SE Runtime Environment (build 1.6.0-b105)
>> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
>> [EMAIL PROTECTED]:~/software/gt4.0.5-all-source-installer>
>>
>> Cheers,
>> Samatha
>>
>> --Samatha Kottha
>> Zentrum für Informationsdienste und Hochleistungsrechnen (ZIH)
>> Technische Universität Dresden            Tel: (+49) 351 463-38776
>> Room 1019                    Fax: (+49) 351 463-38245
>> Noethnitzer Straße 46
>> 01187 Dresden
>> Germany
>>
>
>


-- 
Samatha Kottha
Zentrum für Informationsdienste und Hochleistungsrechnen (ZIH)
Technische Universität Dresden                  Tel: (+49) 351 463-38776
Room 1019                                       Fax: (+49) 351 463-38245
Noethnitzer Straße 46 
01187 Dresden
Germany 

Reply via email to