https://bugzilla.redhat.com/show_bug.cgi?id=2036419
Bug ID: 2036419
Summary: Ant could not detect library in `/usr/share/ant/lib`,
`$HOME/.ant/lib`, and a directory added on the command
line with the -lib argument
Product: Fedora
Version: 35
Status: NEW
Component: ant
Assignee: mizdebsk(a)redhat.com
Reporter: didiksupriadi41(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: jaromir.capik(a)email.cz,
java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msrb(a)redhat.com
Target Milestone: ---
Classification: Fedora
Description of problem:
When I tried to use ant for downloading ivy in a project, it downloads ivy in
`$HOME/.ant/lib/ivy.jar` (the usual location). But the problem is, `ant` could
not detect the library. The output says:
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-/usr/share/ant/lib
-/home/dsupriadi/.ant/lib
-a directory added on the command line with the -lib argument
Trying to move ivy.jar in `/usr/share/ant/lib` or run ant with -lib didn't do
anything and the output is still the same.
Version-Release number of selected component (if applicable):
1.10.11-2.f35
How reproducible:
always
Steps to Reproduce:
1. download/put ivy.jar at $HOME/.ant/lib
2. run ant in java project
Actual results:
BUILD FAILED
/home/dsupriadi/Fork/project/build.xml:67: Problem: failed to create task or
type antlib:org.apache.ivy.ant:cachepath
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-/usr/share/ant/lib
-/home/dsupriadi/.ant/lib
-a directory added on the command line with the -lib argument
Total time: 1 second
Expected results:
(it runs successfully)
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2036419