ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: How do I debug what's in a path?
Date Sun, 02 Jun 2002 14:29:52 GMT
Hi,

This is what you want

<path id="test.classpath"/>
<property name="X" refid="test.classpath"/>
<echo message="test.classpath=${test.classpath}"/>


On Mon, 3 Jun 2002 00:12, Shorn Tolley wrote:
> Hi,
>
> I'm trying to track down a build problem I'm having when building Ant from
> within NetBeans (I actually have it working via two different workarounds
> now, but I want to solve the problem).
> The problem appears to be NetBeans, not Ant or the Ant build file.
>
> I have a minimal project that works on the command line and doesn't work in
> NetBeans that I'm going to use to show the NB community what's going wrong.
>
> What I was wondering is: is there any way I can debug a path element?
> I want to print out to the console eveything that's in a particular
> classpath.
> (This will make it easier to show explicitly whats going wrong)
>
> The path element I want to debug (just like in the Ant build file) is
> declared:
> <path id="test.classpath">
> </path>
>
> What I'd like to do is something like:
> <echopath pathref="test.classpath"/>
>
> And that would print out all the elements of the classpath.
> Does anyone know of anyway I can do something like this with Ant 1.4.1?
>
> Thanks,
> Shorn.

-- 
Cheers,

Peter Donald
--------------------------------------------------
"An intellectual is someone who has been educated 
beyond their intelligence."
-------------------------------------------------- 


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message