Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Ant and AppleScript
Subject:   bash shell
Date:   2004-01-07 10:46:35
From:   anonymous2
All I know is that's what I appear to be using in the terminal on OS X 10.3.


Anyone know what the bash equivalent be so that ant can be launched by simply typing "ant"


tcshrc is only mentioned in the article as below:


setenv JAVA_HOME /Library/Java/Home
setenv ANT_HOME /usr/local/ant
setenv PATH /usr/local/ant/bin:$PATH


thanks... i'm stuck =)


- cb

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • bash shell
    2004-01-15 20:17:12  anonymous2 [View]

    export JAVA_HOME=/Library/Java/Home
    export ANT_HOME=/usr/local/ant
    export PATH=/usr/local/bin:$PATH
    • David Miller photo bash shell
      2004-01-16 07:20:01  David Miller | O'Reilly Blogger [View]

      Place these commands in a file called .bash_login in your home directory (ie: ~/.bash_login), and they will automatically be executed every time you log in to your account. If you want them to take effect immediately after creating the file, enter the command "source ~/.bash_login". Hope this helps.