Maybe edit the README to specify that ANT_HOME should have a bin and lib folder?

On 5/10/20, 10:41 AM, "Harbs" <[email protected]> wrote:

    Thanks that helped.
    
    FTR, it looks like Homebrew puts it in a libexec folder, so it needs to be:
    
    export ANT_HOME=/usr/local/Cellar/ant/1.10.7/libexec
    
    > On May 10, 2020, at 7:00 PM, Alex Harui <[email protected]> wrote:
    > 
    > ANT_HOME is for the compiler so it doesn't have to learn how to search 
for Ant on your computer when building our Ant tasks.
    > 
    > What is in the /usr/local/Cellar/ant/1.10.7 folder?
    > 
    > In my ANT_HOME folder I have:
    > INSTALL           NOTICE          bin             get-m2.xml
    > KEYS              README          etc             lib
    > LICENSE           WHATSNEW        fetch.xml       manual
    > 
    > -Alex
    > 
    > On 5/10/20, 8:53 AM, "Harbs" <[email protected]> wrote:
    > 
    >    I’m having trouble with the approval script.
    > 
    >    I have ant installed with Homebrew and I don’t have a ANT_HOME var. 
I’m not sure why it’s necessary, but I can’t figure out what to use.
    > 
    >    Homebrew puts ant in the following location: 
/usr/local/Cellar/ant/1.10.7 If I set ANT_HOME to that, ant becomes 
non-functional and I get Error: Could not find or load main class 
org.apache.tools.ant.launch.Launcher.
    > 
    >    Suggestions?
    >    Harbs
    > 
    > 
    > 
    > 
    
    

Reply via email to