>>>>> "gm" == glennm <[EMAIL PROTECTED]> writes:
gm> (1) sounds good to me, but how do we do it? I didn't think there
gm> was an easy way to tell if there was a reference to a class
gm> instance. �Mind you, I'm happy to be wrong. :-)
I wasn't talking about a Java language reference but rather about
Project.getReferences. Should have been clearer.
On second thought it doesn't work. Each task can be executed multiple
times via
((Target) project.getTargets().get("nameOfSurroundingTarget")).execute()
so we can never be sure a task won't be called a second time. Each
target can be addressed that way.
Stefan