ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: path classpath
Date Sun, 26 Oct 2008 18:38:27 GMT
There is no difference in type.

The classpath tag is normally a sub-element in of a task, and it
corresponds (in java) to an Path type.


The task may use different element names of the Path type for
different uses. For example <javac>
has <classpath>, <src>, <sourcepath>, <bootclasspath> and <extdirs>
all of Path type.

<path> is an ant type - one can set a reference to a path and use
this reference with any of the elements of the Path type.

see:
http://ant.apache.org/manual/using.html#path

Peter
On Sun, Oct 26, 2008 at 1:30 AM, Brendan Miller <catphive@catphive.net> wrote:
> I meant the <path> and <classpath> tags in ant, not the env vars. I
> guess that makes the same distinction though?
>
> On Fri, Oct 24, 2008 at 5:42 PM, Martin Gainty <mgainty@hotmail.com> wrote:
>>
>> path env var is location for binaries..classpath env var is location for Java classes
and Java jars
>>
>> Martin
>> ______________________________________________
>> Disclaimer and confidentiality note
>> Everything in this e-mail and any attachments relates to the official business of
Sender. This transmission is of a confidential nature and Sender does not endorse distribution
to any party other than intended recipient. Sender does not necessarily endorse content contained
within this transmission.
>>
>>
>>> Date: Fri, 24 Oct 2008 17:09:08 -0700
>>> From: catphive@catphive.net
>>> To: user@ant.apache.org
>>> Subject: path classpath
>>>
>>> What's the difference between path and classpath?
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>
>> _________________________________________________________________
>> Stay organized with simple drag and drop from Windows Live Hotmail.
>> http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message