How to use "ant" from J2EE SDK instead of installed ant in Fedora ?
I've installed Sun's java-ee sdk 5_02. In this sdk there's newer version of "ant". All examples from sdk require it. When I was trying create data tables using installed ant in Fedora Core 4 , I got the following error:
/home/study/Java/J2EE/javaeetutorial5/examples/web/books/build.xml:49: The following error occurred while executing this line:
/home/study/Java/J2EE/javaeetutorial5/examples/bp-project/main.xml:20: Class org.apache.tools.ant.taskdefs.ConditionTask doesn't support the "else" attribute.
I think all problems can be solved by using ant tool that comes with JSDK. So tell be how to uninstall ant from Fedora to use newer version.