ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject Re: Problems with running ant ...
Date Mon, 21 Mar 2005 09:38:50 GMT
Hello,

Could you first run the command
which ant
to see where is the ant launching script.

> i am having a problem with runninig apache ant
> 1.6.2. on linux 9.9.
What is exactly your Linux distribution?

> when i run ant as follows i keep getting the
> following error. why is
> this. it does not seem that i have got a
> preinstalled version at
> /usr/share/
I suppose you really have a preinstalled ant on your
machine. Can you check it with your packaging tool?
(rpm if you are using Red Hat/Fedora or dpkg on
Debian)

HTH Ivan

> 
> [tharanga@Beyondm76 anjuta]$ ant --noconfig -version
> java.lang.InstantiationException:
> org.apache.tools.ant.Main
>         at
> java.lang.Class.newInstance0(Class.java:293)
>         at
> java.lang.Class.newInstance(Class.java:261)
>         at
>
org.apache.tools.ant.launch.Launcher.run(Launcher.java:195)
>         at
>
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> [tharanga@Beyondm76 anjuta]$
> 
>  can u help to solve this thing up. 
> thank u
> 
> tharanga (wijetdtb@cse.mrt.ac.lk)
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message