Hide Forgot
Note: I don't know if this is a tomcat error or if it is correct and the problem is in ant (missing ant.jar) Description of problem: When running ant it can't find the file "org.apache.tools.ant.antlib.xml" in the file /usr/share/ant/lib/ant.jar (which on my system I had symlinked to /usr/share/java/catalina-ant5.jar). The path in the file is "org.apache.catalina.ant.antlib.xml" Version-Release number of selected component (if applicable): tomcat5-5.5.27-7.4.fc12 How reproducible: When the "org.apache.tools.ant.antlib.xml" is required by the ant build.xml file, it fails with the following message: [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found. I am not familiar with under which conditions this file is required. Steps to Reproduce: 1.Create a build.xml with a no-op target "dummy" 2.ant -v dummy 3.Examine output Actual results: [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found. Expected results: Successful build Additional info: My fix: Instead of symlinking "catalina-ant5" to "/usr/share/ant/lib/ant.jar", I copied the file "catalina-ant-5.5.27.jar" to "/usr/share/ant/lib/ant.jar", opened it in file-roller as root and renamed the "catalina" name to "tools".
Created attachment 477638 [details] Output of "ant -d" run Output of "ant -d -lib /usr/share/ant/lib/ant.jar dummy" run
Sorry, but the fix wasn't as much a fix as I thought. The output is included in the file attached in the comment 1.
This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping