Bug 130037
Summary: | classpath order does not follow ant guidelines | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Gustavo Morozowski <gustavo> | ||||||||
Component: | ant | Assignee: | Fernando Nasser <fnasser> | ||||||||
Status: | CLOSED WONTFIX | QA Contact: | |||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 3.0 | ||||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | i386 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2007-10-19 19:20:43 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Gustavo Morozowski
2004-08-16 18:32:04 UTC
Created attachment 102768 [details]
source code to reproduce problem
Created attachment 102769 [details]
junit jar file
please put in $HOME/.ant/lib
Created attachment 102770 [details]
ant configuration file
This is just the workaround I used
This seems to be a documentation error or at least an omission. The -lib options should/can only be used when invoking ant directly, i.e., not through the wrapper scripts (which come from Apache itself). The correct way of doing what you want when using the wrapper scripts (always the case for RPM installed Ant in any distro, not only Red Hat) is to set the environment variable OPT_JAR_LIST : "A user should request optional jars and their dependencies via the OPT_JAR_LIST variable". So you would have: OPT_JAR_LIST=/home/andromeda/lib/clover.jar for instance. Perhaps we should ask Apache to add a note explaining this. Or better yet, I believe they should test for a user specified '-lib' and add the psth specified automatically to what is in OPT_JAR_LIST (what would you suggest?). I favor the second. I want to bring this issue upstream. Do you have an opinion, or would like to add something to: "Perhaps we should ask Apache to add a note explaining this. Or better yet, I believe they should test for a user specified '-lib' and add the psth specified automatically to what is in OPT_JAR_LIST (what would you suggest?). I favor the second." Regards, Fernando This bug is filed against RHEL 3, which is in maintenance phase. During the maintenance phase, only security errata and select mission critical bug fixes will be released for enterprise products. Since this bug does not meet that criteria, it is now being closed. For more information of the RHEL errata support policy, please visit: http://www.redhat.com/security/updates/errata/ If you feel this bug is indeed mission critical, please contact your support representative. You may be asked to provide detailed information on how this bug is affecting you. |