First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 231968
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bernd Pachur <valirion@thybaria.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 231968 depends on: Show dependency tree
Bug 231968 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-07-16 14:24 0000
The environment varibale for ANT_HOME is set to /usr/share/ant but /usr/bin/ant
overrides it with a hardcoded ANT_HOME=/usr/share/ant-core.

This behaviour effectively breaks ant's optional task, because they are no
longer found.

Reproducible: Always

Steps to Reproduce:
1. echo $ANT_HOME and check that it is set to /usr/share/ant
2. run ant -diagnostics
3. see that ant.home is set to /usr/share/ant-core

Actual Results:  
Ant sees ant.home as /usr/share/ant-core while the env-variable is set to
/usr/share/ant.
/usr/bin/ant does not use the env-variable.

Expected Results:  
Ant sees ant.home as /usr/share/ant and the optional tasks work.

With ant-1.7.0 everything was fine. This problem startet with ant-1.7.1.

------- Comment #1 From Vlastimil Babka (Caster) 2008-07-16 14:43:56 0000 -------
Thanks for reporting, fixed in ant-core-1.7.1-r1. The cause isn't just
hardcoding ANT_HOME=/usr/share/ant-core which is intentional and done in 1.7.0
too. The problem was that I forgot to update version in the script, so looked
in wrong directory (/usr/share/ant/tasks-1.7.0) for tasks to load when
ANT_TASKS="all" (or not set at all). 

------- Comment #2 From gapon 2008-07-16 15:54:14 0000 -------
*** Bug 231933 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug