Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Ant does not load antlib definitions
https://bugzilla.redhat.com/show_bug.cgi?id=689020
Summary: Ant does not load antlib definitions
Product: Fedora
Version: 14
Platform: All
OS/Version: Linux
Status: NEW
Severity: high
Priority: unspecified
Component: ant
AssignedTo: pcheung(a)redhat.com
ReportedBy: juankprada(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: pcheung(a)redhat.com, akurtako(a)redhat.com,
mmatejov(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Description of problem:
After installing ANT and apache-ivy package from fedora repo, trying to execute
a build.xml file with an ivy task throws an error at the terminal
This is the output after running ant:
[juankprada@localhost ivyTest]$ ant
Buildfile: build.xml
resolve:
BUILD FAILED
/home/juankprada/Desktop/ivyTest/build.xml:3: Problem: failed to create task or
type antlib:org.apache.ivy.ant:retrieve
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/juankprada/.ant/lib
-a directory added on the command line with the -lib argument
Total time: 0 seconds
Steps to Reproduce:
1. Install Ant and place any ant plugin inside either /usr/share/ant/lib or
~/.ant/lib
2. Execute ant in a build script that uses the plugin you just placed in ant's
lib
3. Error is thrown
Actual results:
It is impossible to use Ant with other plugins
Expected results:
To have my application built
Additional info:
I did look for other bug reports on this, and found one that is closed and wont
be fixed (god knows why) so I decided to report a new bug on this issue as it's
been happening since fedora 10 as seen here
https://bugzilla.redhat.com/show_bug.cgi?id=490542
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.