I'm in a shop that has one huge ant build that recursively calls other
ant builds for several modules. I'm try to research for each of the
recursive build targets the details of the javac tasks like classpath,
outdir etc. For instance, here's a typical <javac> task:
<javac srcdir="${src.dir}" destdir="${build.classes.dir}"
deprecation="on"
optimize="${sys.build.optimize}" debug="${sys.build.debug}"
includes="**/om/common/**,**/om/data/dao/IPartnerDAO*,**/om/business/integration/PDSHelper*,**/om/business/dto/**,**/om/business/common/**,**/om/eqc/**,**/om/business/partner/PartnerBridge*,**/om/business/partner/IPartner*,**/om/business/integration/SecurityHelper*,**/om/business/exceptions/**,**/om/config/**,**/om/requestdelegate/**,**/om/business/service/**,**/om/data/dto/**,**/om/data/dao/impl/PartnerDAOImpl*,**/*DTO.java"
excludes="**/**EJB**">
<classpath refid="project.classpath"/>
</javac>
I'm interested in a listener that would should me how all these
variables were resolved exactly when this tasks was run.
Is there anything out of the box, or favorite home grown listeners,
that will report all of the attributes of a task include variable
resolution so that instead of seeing ${src.dir}" I see something like
"c:\myproj\.....".
Thx
mark
Roedy Green - 20 Apr 2006 15:13 GMT
>I'm interested in a listener that would should me how all these
>variables were resolved exactly when this tasks was run.
pepper your script with the echo command to dump out any variables of
interest.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.