2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018

01/19/2004: Using External Jar Files In Your Custom Ant Task Classpath.

It took me a while to figure out that I could specify several items in the classpath attribute of the taskdef tag in my build.xml file. Here is one example:
    <taskdef name="CreatePartition"
        classname="org.wwre.ant.tasks.xis.CreatePartition"
        classpath="build/classes;${xis.client.jar};${log4j.jar}"
    />


subscribe via RSS