Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28434 - ant ebuild (1.5.3-r5) does not compile for bcel when bcel is present
Summary: ant ebuild (1.5.3-r5) does not compile for bcel when bcel is present
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Adrian Almenar
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-11 05:53 UTC by Marijn Dee
Modified: 2003-09-22 08:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marijn Dee 2003-09-11 05:53:26 UTC
Ant supports the optional type classfileset (Manual->Concepts and 
Types->Optional Types->Class Fileset) when the bcel library (dev-java/bcel) is 
available. 
 
However the ant-1.5.3-r5 ebuild does not check for bcel.jar. 
 
Adding support is easy. 

Reproducible: Always
Steps to Reproduce:
1. emerge ant 
2. try to use the filedataset  
3. 
Actual Results:  
ant stop with an error 

Expected Results:  
build my project  

    # add antlr if we have it 
    if [ -f "/usr/share/antlr/lib/antlr.jar" ] ; then 
        export CLASSPATH="${CLASSPATH}:/usr/share/antlr/lib/antlr.jar" 
        export DEP_APPEND="${DEP_APPEND} antlr" 
    fi 
 
#### Added to support bcel 
    # add bcel if we have it 
    if [ -f "/usr/share/bcel/lib/bcel.jar" ] ; then 
        export CLASSPATH="${CLASSPATH}:/usr/share/bcel/lib/bcel.jar" 
        export DEP_APPEND="${DEP_APPEND} bcel" 
    fi 
 
#### End of added part 
    ./build.sh -Ddist.dir=${D}/usr/share/ant || die
Comment 1 Adrian Almenar 2003-09-22 08:34:34 UTC
Support for bcel added.

Thanaks for your support.