October 17th, 2007

You are currently browsing the articles from Java Blog - Java, J2EE, SOA, Spring and Hibernate written on October 17th, 2007.

Displaying Classpath in ANT

Here’s a sample code by which one can display the classpath

<path id=”test.classpath“>
   <path path=”${test.dir}”/>
   <fileset dir=”${config.dir}/lib”>
    <include name=”*-all.jar” />
   </fileset>
  </path>
  <property name=”current.test.classpath” refid=”test.classpath“/>
  
                <echo level=”info”> message=”test.classpath=${current.test.classpath}” </echo>

Written by Ravi Nallakukkala on October 17th, 2007 with no comments.
Read more articles on Build.