You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by "St. Louis, Thomas (CRD)" <st...@crd.ge.com> on 2001/02/19 15:29:25 UTC

Access to Environment Variables

Ant doesn't seem to pick up my $PATH and $CLASSPATH environment variables.  When I get to the
compiler task, "Cannot use classic compiler, as it is not available.".  I'm not seeing how to include
these preset env variables into the build.xml file.  Any help is appreciated.

> g             GE Corporate Research & Development
> ______________________________________________
>      Tom St.Louis
>      GE Corporate Research & Development
>      One Research Circle, K1-5C39C
>      Schenectady, NY  12309
>      Phone: (518) 387-4900  Dial Comm: 8*833-4900
>      Email: stlouis@crd.ge.com
> 

Re: Access to Environment Variables

Posted by Jon Stevens <jo...@latchkey.com>.
on 2/19/01 6:29 AM, "St. Louis, Thomas (CRD)" <st...@crd.ge.com> wrote:

> Ant doesn't seem to pick up my $PATH and $CLASSPATH environment variables.
> When I get to the compiler task, "Cannot use classic compiler, as it is not
> available.".  I'm not seeing how to include these preset env variables into
> the build.xml file.  Any help is appreciated.

Wow! Thank you for such a well formed question! The solution to your problem
is very simple! All you need to do is follow these two simple steps:

#1. Read what is written here:
    <http://jakarta.apache.org/site/mail.html>

#2. Then, follow the directions of what are written here:
    <http://jakarta.apache.org/site/mail.html>

:-)

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/> && <http://java.apache.org/turbine/>