<property name="classpath.string" refid="test.classpath"/>
<echo>classpath = ${classpath.string}</echo>


----- Original Message -----
From: "Shorn Tolley" <[EMAIL PROTECTED]>
To: "Ant Developers List" <[EMAIL PROTECTED]>
Sent: Sunday, June 02, 2002 10:12 AM
Subject: How do I debug what's in a path?


> 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.
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to