the following should work for you:


  <property environment="env"/>

<target name="test">
<echo>
        env.CLASSPATH = ${env.CLASSPATH}
</echo>
</target>



-----Original Message-----
From: Jim McLaughlin [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 04, 2001 1:22 PM
To: [EMAIL PROTECTED]
Subject: RE: classpath issue on Javadoc stuff!!!!


Diane,

My mistake was assuming that ant would use my system CLASSPATH variable by
default, which apparently it does not.

-----Original Message-----
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 04, 2001 1:44 PM
To: [EMAIL PROTECTED]
Subject: RE: classpath issue on Javadoc stuff!!!!


--- Jim McLaughlin <[EMAIL PROTECTED]> wrote:
> Using the echo task on the ${classpath} variable in Win2K results in the
> following:
>
> init:
> showcp:
> ${classpath}
> Finished target(s).

Is the classpath property being set before you try to echo it?

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to