Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / April 2006

Tip: Looking for answers? Try searching our database.

In Ant How Can I see all my javac build attributes

Thread view: 
marksisson@gmail.com - 20 Apr 2006 08:54 GMT
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.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.