ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell" <mcconn...@dpml.net>
Subject RE: Usage of JBlanket
Date Fri, 10 Feb 2006 05:07:58 GMT
 

> -----Original Message-----
> From: Thomas SMETS [mailto:smetsthomas@yahoo.com] 
> Sent: Friday, 10 February 2006 11:01 AM
> To: Ant Users
> Subject: Usage of JBlanket
> 
> 
> Dear,
>  
>  I would like to define a target to use JBlanket but the 
> default install advises to copy the needed jars in the  
> ${ANT_HOME}/lib while I would prefere to place the jar's in a 
> external directory like "wrongly" shown herebelow with 2 
> different configs :
>  
>    <path id="jblanket.path">
>      <fileset dir="${jblanket.basedir}">
>        <include name="**/*.jar" />
>      </fileset>
>    </path>
>    <taskdef name="jblanket"
>             classname="csdl.jblanket.ant.JBlanketModifyTask">
>      <path refid="jblanket.path" />
>    </taskdef>

Remove the path element and add the 'classpathref' attribute to the taskdef
element. See typedef task usage docs for an example.

/Steve.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message